Free AIR v1.0 for JavaScript Developers Pocketguide from Adobe
Ajaxian.com has posted about the new "AIR for JavaScript Developers Pocketguide" which has been updated for Adobe AIR v1.0. The PDF download is FREE! Get it while it's hot!
Ajaxian.com has posted about the new "AIR for JavaScript Developers Pocketguide" which has been updated for Adobe AIR v1.0. The PDF download is FREE! Get it while it's hot!
To coincide with the release of Adobe's AIR v1.0, the Ext team released v2.0.2 of the Ext framework with enhanced support for the new AIR runtime. The Ext and Adobe teams collaborated during the AIR beta process to ensure that support for the updated AIR API and security sandbox would be available to Ext users from day one.
To demonstrate Ext's AIR capabilities, founder Jack Slocum went about updating the Simple Tasks application he initially created during the early AIR beta process.
Making extensive use of the newly updated AIR API, the Ext team enhanced the Ext.air package to handle such functionality as:
Adding an icon to the system tray is now a trivial task as can be seen in this code sample:
[javascript] var win = new Ext.air.NativeWindow({ id: 'mainWindow', instance: window.nativeWindow, // System tray config minimizeToTray: true, trayIcon: 'ext-air/resources/icons/extlogo16.png', trayTip: 'Simple Tasks', trayMenu : [{ text: 'Open Simple Tasks', handler: function(){ win.activate(); } }, '-', { text: 'Exit', handler: function(){ air.NativeApplication.nativeApplication.exit(); } }] }); [/javascript]
In addition to demonstrating AIR apis, Simple Tasks v2 also includes several advanced samples to demonstrate creating custom Ext components. These samples include:
ListTree - Allows for a hierarchical list of options, similar to a treeview, but within a drop-down listbox
Custom Grid Columns - Allows for grid columns to be represented as buttons or menus
Switch - Provides a collection of buttons, one of which can be "pressed" at a time. This is used as an alternative for radio buttons.
Ext v2.0.2 is immediately available for download as is Adobe AIR v1.0
Continuing their march into the RIA space, Adobe announced today the official release of AIR v1.0 and Flex 3.0.
The AIR runtime and SDK has gone through an especially long beta cycle (since June 2007) to ensure that both security and compatibility with existing frameworks was achieved. Some key new and/or updated features include:
Adobe's Flash-based RIA development platform, Flex, continues to mature and has been picking up steam in both the corporate space as well as sites such as blist and Scrapblog who have embraced Flex whole-heartedly. Some of the new features in Flex 3.0 include:
One of the most compelling parts of the Flex announcement is the fact that Adobe has released the Flex SDK under the open source Mozilla Public License.
Adobe is working hard to raise the bar in the RIA space by giving developers more tools with great functionality. 2008 is panning out to be an interesting year in web development.
Adobe has released AIR Beta 2.
Adobe AIR
http://labs.adobe.com/technologies/air/
Develop with Adobe AIR with HTML and JavaScript
http://labs.adobe.com/technologies/air/develop_ajax.html
Developer FAQ
http://labs.adobe.com/wiki/index.php/AIR:Developer_FAQ
Migration instructions (moving from Beta 2 to Beta 1)
http://labs.adobe.com/wiki/index.php/AIR:Migration
AIR HTML Security FAQ (covers additional changes)
http://labs.adobe.com/wiki/index.php/AIR:HTML_Security_FAQ
Flash developer Sean Moore has created a very nice Adobe Air cheat sheet. Be sure to get a copy here: