When it comes to Notes application migration projects, the first thing that needs to be done is an analysis of the Notes environment. There are a lot of analysis tools on the market, and to determine application complexity many count and compare the number of design elements that make up each of the applications. That is really not a very good indicator as there is specific code that is problematic when you migrate from a Notes client based application to a browser based application.
At a high level, you need to look at any calls that:
(1) stop the code and wait for user input (dialogbox, messagebox, picklist, prompt)
(2) affect document state (editmode, save, refresh)
The Notes client can track the state of the document, that is, whether it is in read mode or edit mode, and it can recompute individual values without having to reload the entire screen. A web browser, on the other hand, is stateless. It does not track whether a document is editable or not, and in order to refresh specific values, supporting code has to be provided (eg: dynamic HTML, Ajax) to do the updates.
If a LotusScript function changes a document into edit mode, moving that function to the web requires an assessment to see if the document needs to be reloaded in edit mode, or if updates can be done by sending an update to the server only. Similarly, a save or refresh type of call in a browser requires a trip to the server and either a full or partial document refresh. These calls must each be evaluated to assess the impact. A save or refresh call at the end of a function is likely to be fine and easily migrated, but work needs to be done when these calls occur mid-function.
Here is output from DNAA, the DOCOVA Notes Application Analysis tool. This is a listing of problematic code elements for a particular custom Notes client based application:
DNAA looks through individual Notes applications for these various elements and counts the number of occurrences, to come up with a complexity ranking. We call this the complex code number, or CC#.
Most customers have many applications, and the complexity is different from one to the next. Here is another example showing how CC# can vary from one application to the next.
DNAA is wired into DOCOVA V5, which is in our opinion the most comprehensive solution for migrating custom Notes applications to another platform.
For more information on DOCOVA V5, or if you would like to obtain a copy of DNAA to run on your Notes applications, complete the form on the DOCOVA Notes Application Migration page.