Code On Time has released update 6.0.0.18.
This release introduces important changes to the code generator architecture that will speed up code generation.
The previous version of the code generator created baseline application and controller collection files every time the project is generated. The temporary baseline was deleted right after the completion of the code generation. The logs of Designer changes to the application and controller collection are stored in Application.Log.xml and Controllers.Log.xml files. The transactions from the log files were applied to the corresponding baselines during each code generation session.
Things have changed with this release.
The baselines is now permanent.
You will notice four new files as soon as you change and/or generate a project.
The files are Application.Baseline.xml, Application.Cache.xml, Controllers.Baseline.xml, and Controllers.Cache.xml.
The "baseline" files are persistent copies of the baseline app and controllers.
"Cache" files are results of applying the designer transactions from the log to the "baseline".
Application.Baseline.xml + Application.Log.xml = Application.Cache.xml
Controllers.Baseline.xml + Controllers.Log.xml = Controllers.Cache.xml
You can copy the baseline from one project to another or change the baseline in XML editor if you need to move a part of your app to another existing/new project.
The new Refresh mechanism will delete *.Cache.xml files and will also offer developer a chance to indicate if any controllers in Controllers.Baseline.xml must be replaced with the fresh copy constructed by the code generator. Application baseline will be intact. Any new "host" pages for new data controllers will be added under "New Pages" node in the application. An example of using Refresh can be found at http://blog.codeontime.com/2011/12/ease-auditing.html.
The net effect is as follows:
1. If your project has a large number of designer changes then it may take a long time to process the log. The new release will process them once and will not do so again until a Project Refresh is requested. This will bring the time to process the log to zero.
2. If you change the project in Designer then the changes are written to the *.Log.xml and to the *.Cache.xml file at the same time.
3. Introduction of baselines will eliminate the issue of controllers acquiring unwanted fields that reflect changes to the database. The application navigation menu will also remain unchanged. Any new pages constructed by the code generator will show up in a predictable "New Pages" node.
The list of enhancements included in the release.