I’m going to start the series of reviews of the new sample applications, with the Issue Tracker. I chose this application because it clearly has real life applications and as such it seemed like a good place to start looking into what these new samples demonstrate.
Even though this is an obvious difference, the project’s size is one of the most interesting aspects as a sample. Due to the restrictions of Morfik’s new trial versions, which limit the number of objects in a project, the few bundled samples are quite small. Since these new samples are available only to registered customers, this is not an issue and the Issue Tracker project has 30 forms, 12 tables, 12 queries, 6 modules and 10 web method modules. Reviewing this application you will be able to get a better feel for how to organize a larger Morfik project.
This application has a nice example of how to implement Web Methods directly in code, without the need to create a specific module for each one of them. Despite implementing several Web Methods in the LogonWebMethods module, the Issue Tracker still has ten Web Methods implemented in the traditional way: one per Web Method module.
If you have used the Issue Tracker in Morfik’s website, you should feel right at home exploring this application. It is essentially the same application that is used on their website, thought the login form that is used to grant access to all areas of the Morfik website has been replaced by a new one. This, of course, was to be expected.
Another interesting aspect of this application is the small rectagle with an animated image it displays while portions of the interface are loaded. The rectangle itself is created using a container with an animated GIF image and its visibility is controled through some code added to the OnBeginLoad and OnEndLoad events of the IssueTrackerXApp class. These events can be accessed throught the events side panel when in the Project View of the Morfik 2.0 workspace.
Considering its publication as a Sample application, it would be nice to have more comments in the source code, to make it easier for the new users to understand how to adapt the code to their projects. The source code is generally clear, however, and should be pretty much self explanatory to anyone willing to take a couple of hours to read through it.
When all is considered, this is an interesting project to look into, if your are just starting into Morfik programming as it shows some interesting code snippets.