Recommend this
on Google+

Recommend this
on Google+

Saturday, February 5, 2011

HP webOS

Advance in electronics ensured computers to be on diet and more fit. The result is mobile phones. Android, Symbian, Tablet PC, iOS, Windows Phone, Bada OS, BlackBerry, Meego, Maemo, …. Oh!! My god! Jargon ... Do these words leave you in mid of an ocean with no clue to reach shore? All these are Operating-Systems developed by various mobile-equipment manufacturers for their phones. They can easily be compared to Windows, Linux, Mac-OS that run on top of our PCs. But, the difference is you can install an OS of your choice on your PC. But, not on your mobile phones :(.

Afterall the bottom-line of mobiles, is to keep computers more portable, and make you feel omnipresent. But, what’s ensuring compatibility between these vendors? It’s the internet! These days it’s rare to see someone acquainted with using keyboard & mouse, not being on social networking. Social networking requires access to Internet. Accessing it requires a common set of protocols-&-formats to be understood by your mobile-phone. Those protocols-&-formats are called Web-Standards, that are governed by W3C.

It’s the Internet that is binding all these vendors to ensure compatibility. Computing capabilities made surfing cross the threshold of Browsers, and seamlessly integrate with OS.. Infact, a separate application called “Browser” is really not the only way to surf Internet. It’s being felt that Internet is synonymous with Mobiles.

“Web Runtime” is a framework coupled with the OS, enabling access to Internet as a Service. HP’s webOS, is one such implementation on it’s palm devices.

A webOS application is similar to a web application based on standard HTML, CSS, and JavaScript, but the application lifecycle is different. Applications are run within the UI System Manager, an application runtime built on standard browser technology, to render the display, assist with events, and handle JavaScript.

The webOS APIs are delivered as a JavaScript framework, called Mojo, which supports common application-level functions, UI widgets, access to built-in applications and their data, and native services. To build full-featured webOS applications, many developers will also leverage HTML5 features such as video/audio tagging and database functions. Although not formally part of the framework, the Prototype JavaScript framework is bundled with Mojo to assist with registering for events and DOM handling among many other great features.

The framework provides a specific structure for applications to follow based on the Model-View-Controller (MVC) architectural pattern. This allows for better separation of business logic, data, and presentation. Following the conventions reduces complexity; each component of an application has a defined format and location that the framework knows how to handle by default.

For now, you should know that the framework includes:
• Application structure, such as controllers, views, models, events, storage, notifications, logging and asserts;
• UI widgets, including simple single-function widgets, complex multi-function widgets and integrated media viewers;
• Services, including access to application data and cross-app launching, storage services, location services, cloud services, and accelerometer data;