Four palm Application Models for Palm Application Development

Source: Internet
Author: User
This series of directories
  1. Introduction to palm web OS
  2. Build a development environment in one of palm Application Development
  3. Palm application development 2: Learning from helloworld
  4. Detailed description of appinfo. JSON file in Palm application development 3
Development language

The technologies used by applications are exactly the same as those used by Ajax. The applications built on the palm WebOS system do not have a specific language to serve them. The technologies used are still old technical new gameplay (or even new gameplay ). Almost exactly the same as Ajax, which is popular in Web development. It uses JavaScript, CSS, and HTML. There is nothing new, similarly, palm WebOS provides a JS framework-mojo. JS (magic ball), Mojo framework is in the famous framework prototype. based on JS 1.6, Mojo's features naturally inherit all prototype features, including prototype event models and Ajax frameworks, the difference is that JS is a patent on the UI Layer, which turns to business logic control here. It seems to be transferred from "before the curtain" to "behind the scenes ", this means that mojo has made a lot of extensions Based on prototype. The UI Layer is still built by CSS and HTML, and supports the latest css3 and HTML5 standards. At the development level, palm has encapsulated many widgets for us. These widgets bring great convenience for development and can easily build applications with high user experience.

Using ajax to develop a palm application is the same as developing a web application, and the calling methods are the same. This provides great convenience for remote service calls and allows you to call the WebService, opening a palm application is as simple as developing a web application.

Ability to operate on Local Operating Systems

Palm WebOS provides a large number of APIS for applications to access local operating systems and hardware, allowing them to conveniently call local system services, such as device information and manage device applications, enable and disable the network. Special sections will be introduced later on the Content of local services called by applications.

Architecture of palm WebOS applications

The architecture of the palm WebOS application is as follows:

The palm application is built on the operating system, intermediate layer service, and Mojo framework. The underlying operating system is a Linux system, and the Linux kernel version is 2.6. The operating system provides basic operation functions: device management, wireless communication, and media. The middle layer services provide call services, UI presentation, application management, and development frameworks. You can directly communicate with the middle layer during application development.

Application UI Model

A palm application is similar to a web application. A Palm application is similar to a Web site. A Palm application is displayed as a card to users. Each card is a Web page. In the application organization, an application is a stage, each stage can have multiple scene (scenarios), each scene corresponds to a controller, and scene is a view, the stage control scenario changes to control the application navigation. Each card is pushed to a stack in order of appearance. The scene on the top of the stack is displayed as a card to the user, for example:

Each application can also present multiple cards to users as needed. For example, a new card will pop up when the built-in email sending and receiving client of palm clicks to reply to the email.

Summary

The architecture and UI model of palm provide great convenience for us to create dazzling palm applications, making it easy to create highly efficient and interactive applications.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.