Nowadays developers need to design mobile applications. There are a lot of mobile platforms, Android, IOS and new ones like the future Ubuntu Mobile or Firefox OS, so it's pretty hard to build native mobile applications.
There is a simple solution like HTML5 but if you want to warranty the user experience you need to provide a native application per platform or either implement a version for each platform in HTML5.
That is the reason because we have implemented a framework using XML. Sometimes you have to provide an abstraction like HTML but you need an implementation for each platform. For example, using Navigation Bar in IOS or Action Bar in Android.
Providing a high language or abstraction lets to use the advantages of each operating system and extend per platform faster if you have to develop a mobile application. So here is how we suggest a possible implementation like in eMobc:
Step 1: Provide a XML to represent every element / screen (for example menus, options like rotation, themes, appearance, navigation and of course the content)
Step 2: Implement a Model for each XML so you can later load the XML in the object model to store the information.
Step 3: Use a main controller and a specific controller to implement every feature or screen.
Step 4: Use a view specific in every device (Example XIB in IOS and XML layouts in Android)
If you think this approach can be useful, you can implemnt using these steps or start contributing eMobc framework or read more about embML.
Written by Alejandro Sánchez Acosta - Managing Director eMobc
About eMobc. eMobc framework is a mobile application framework to develop apps in IOS, Android and HTML using XML. If you want to donate your code of other projects to be integrated in the project or you want to ask for a project please contact us here.
No comments:
Post a Comment