Palm has recently released some fresh information of the Mojo SDK and development of webOS applications:
The first chapter of the official resource for programming the new webOS platform, “Palm webOS: Developing Applications in JavaScript Using the Palm Mojo Framework” is now available. The book is written by Palm Vice President and Software Chief Technology Officer Mitch Allen along with members of the webOS development team and is being edited and distributed by O’Reilly Media.
O’Reilly is also hosting a webinar with Mitch Allen on February 25 at 10 a.m. PT to offer developers a preview of the webOS operating system and development environment, followed by a Q&A session. A link to register for the webinar will be available here on Monday February 16th.
[Link added by editor]
The book is currently nine pages long, and provide new insights and screenshots of webOS and what development on this platform will be like! Among the information given is information about the notification area, how Cards — the webOS method of displaying what applications are active and what they are up to — are handled and displayed. even some small snippets of UI code are given:
Typically, you would declare the widget within a scene’s view file, then direct Mojo to instantiate the widget during the corresponding scene assistant setup method using the scene controller’s setupWidget method:
// Setup toggle widget and an observer for when it is changed.
// this.toggle attributes for the toggle widget, specifying the 'value'
// property to be set to the toggle's boolean value
// this.togglemodel model for toggle; includes 'value' property, and sets
// 'disabled' to false meaning the toggle is selectable
//
// togglePressed Event handler for any changes to 'value' propertythis.controller.setupWidget(‘my-toggle’,
this.toggle = { property : ‘value’ },
this.toggleModel = { value : true, disabled : false });this.controller.listen(‘my-toggle’, Mojo.Event.propertyChange,
this.togglePressed.bindAsEventListener(this));
Development Tools
The Palm Developer Tools (PDT) are installed from the SDK and include targets for Linux, Windows (XP/Vista) and Mac OS X. The tools enable you to create a new Palm project using sample code and framework defaults, search reference documentation, debug your app in the weOS emulator or an attached Palm device, and publish an application. Chapter 2 includes more details about the tools in Palm’s SDK and third-party tools, but you’ll find a brief summary in Table 1-1
The introductory chapter of the webOS programming guide can be found here.
What do you think about these new revelations on the webOS front?
Related posts:
