Worklight Supports the following frameworks for developing HTML5 and Mobile Applications
- DOJO
- Sencha Touch
- JQuery
Out of the above frameworks DOJO is widely used by IBM in their Portal and BPM suite of products and signifies IBM’s choice when it comes to RIA Frameworks.
In this 3 part series, we talk about Best Practices for developing Worklight based HTML5 and Mobile Applications in general. Note that some of them specific to DOJO Framework. However, parallels can be drawn and similar practices could be employed for Sencha and JQuery frameworks as well.
In the initial part, we focus on the folder structure, logging device information and splash screen.
1) Folder Structure:
Following is the recommended folder structure for Worklight Application (common folder)
Creating controllers and widgets folder under js folder helps in better organization of JavaScript assets as opposed to a single folder. Having a folder for html assets provides a clean structure and avoids them residing directly at root level.
When a Worklight built HTML5 Website or Mobile Application loads, InitPage.html or rather
In the second part of the series, we will be looking at some core features like Offline Mode, State Manager and Navigation.
Laks Sundararajan is a Solution Architect with Prolifics and a key member of highly specialized team working on IBM WebSphere Portal, Content Management and Collaboration technologies. He has led the implementation of many global projects using IBM WebSphere Portal and has extensive background in design and development of enterprise portals. He specializes in providing Enterprise SOA solutions leveraging WebSphere Portal, Content Management, Tivoli and Mashup’s. He holds Masters in Information Technology from Carnegie Mellon University and a Graduate Degree in Engineering from BITS, Pilani.