Let me share with you the Kynetx KRL template that I use as a starting point for all of the web applications that I develop. The template not only gives me a solid starting point for each Kynetx WebApp, but contains samples of KRL syntax and contructs, as well as reminders of componets to be added prior to release of the WebApp. Before releasing a Kynetx WebApp there are two components that I always include. First, a method for collecting any errors that may be encountered while the WebApp is being used. Second, a method of collecting some basic usage statistics.



ErrorStack provides a excellent cloud based service to collect errors for WebApps. Since a Kynetx WebApp will be running in the browser of your end-user it will be almost impossible to find out when an error occurs. That's where ErrorStack comes to the rescue! By simply including an ErrorStack application key in your Kynetx WebApp errors will be collected via the ErrorStack service. Absolutely brilliant! As an added bonus Phil Windley provides an error handling module that can be used to send all user and system level errors related to your WebApp to ErrorStack.

StatCounter provides user analytics for your WebApp. Just like you would not launch a website without including analytics, you shouldn't release a WebApp without including analytics. In this template an invisible image is inserted when the WebApp gets run. This will provide you with the basic information about the number of users, which browser they are using, etc. I've made the StatCounter project analytics for this template publicly available so that you can appreicate the value of this service.

The rest of this template contains KRL constructs which I use frequently. But alas I often mistype the exact syntax, so this gives me a single point of reference so that I don't have to search through old WebApps for a sample to cut & paste. There are samples for using the integrated Kynetx jQuery UI libary, including external javascript and CSS resources, raising explicit events, and web events.

Last, but certainly not least there is a link to test the development version of the WebApp using the brilliant Ktest service offered by Randall Bohn. As a matter of fact you can demo this WebApp template using Ktest. Here is a screenshot: