Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Adobe AIR: Running SQL Commands Against a Local Database

Once you've established a connection between an Adobe AIR application and a local database, you can run SQL commands (CREATE TABLE, INSERT, DELETE, SELECT, etc.) using the flash.data.SQLStatement class. Find out how.


advertisement
hile many technologies promise to put features of desktop applications on the web, Adobe AIR brings web development to the desktop. Adobe AIR is a cross-platform runtime environment that allows web developers to use their existing Flash and Flex skills to build applications for the desktop.

Adobe AIR in Action introduces AIR, showing developers how to build solid AIR-driven desktop applications. The authors walk web developers through the new AIR application concepts they will need.

As an Adobe AIR developer, one task you will have to master is setting up and connecting your application to a local database. Working with a database requires three basic steps: opening a connection, running commands, and closing the connection. Once you've established a connection to a database, you can run SQL commands (CREATE TABLE, INSERT, DELETE, SELECT, etc.) using the flash.data.SQLStatement class.



Download an early access edition of " Running SQL Commands," an article based on chapter 5 from Adobe AIR in Action, for the details on working with SQLStatement objects.

Courtesy of Manning Publications. All rights reserved.



   
Sam Ahn has architected and built rich Internet applications over the past seven years for clients including Pfizer, Wyeth, MINIUSA, and Puma. He is a partner and co-founder of The Morphic Group, an interactive development company focusing on Flash/Flex application development.
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap