AIR Eslam Mahmoud AbdelMoniem 3 r d year
AIR Eslam Mahmoud Abdel-Moniem 3 r d year Information Technology 7 asobaty. wordpress. com depiak Board Member
Agenda • What AIR ? • Why AIR ? – Business benefits • • • Browser vs. desktop AIR for everyone AIR for Ajax Developers AIR Security AIR every where – Showcase applications • We Need some AIR – Hello world AIR application – Where to go from here
What AIR ? • combine HTML, Ajax, Adobe Flash®, and Flex technologies to deploy rich Internet applications (RIAs) on the desktop • Adobe Integrated Runtime (AIR) • version 1. 0 was released on February 25, 2008 • Linux version was released on December 18, 2008
Why AIR ? • have powerful desktop capabilities and access to local data • cross-operating system runtime • free download available � Business benefits – give you a closer connection to your customer. – Establish a more persistent connection with existing customers – extend your market reach – enhance customer satisfaction – improve customer retention – lower costs & increase profits
Browser vs. desktop • updated as easily as pushing new content to a website • store information locally and operate offline • Unlimited local storage and access to a local database, plus encrypted local storage • Not in the sandbox of a browser. • Access desktop file I/O, clipboard, drag and drop events, system event notifications, native system menus, window management, etc…
AIR for everyone • Developers and designers – AJAX – FLASH – FLEX • End User – shopping – managing music – have fun …
AIR for Ajax Developers • Ajax can be used to build applications that are deployed on Adobe AIR • Use existing code. • Take advantage of the desktop capabilities of Adobe AIR to build applications that are more responsive, engaging, and valuable for users. • Most common Ajax frameworks work with Adobe AIR – – – Dojo Toolkit 1. 1. 0 Beta j. Query 1. 2. 3 Moo. Tools 1. 11 Mochi. Kit 1. 3. 1 Spry Prerelease 1. 6. 1
Security • User is notified of the system access permissions for the application prior to installation. • encrypted local storage • AIR installation files must be digitally signed
AIR every where
Showcase Applications • Offline – AIR Menus – Kronos – todoit • Online – Finetune. Desktop – Xe. Translate – Wordpress comment Moderator
We Need some AIR � Hello world AIR application � Step 1 - Install Adobe AIR runtime & the Adobe AIR SDK q q http: //www. adobe. com/go/getair you will want to add Adobe AIR SDK bin/ directory to your environment path � Step q q 2 - Create Some Directories Create a folder named “Hello. World”. Create 2 files, named “Hello. World-app. xml” , “Hello. World. html” that should be in “Hello. World” directory
We Need some AIR � Hello world AIR application � Step 3 - Create an Application Descriptor Your application descriptor is an XML file that sets some properties for your application. <application xmlns=”http: //ns. adobe. com/air/application/1. 0″> <id>examples. html. Hello. World</id> <version>0. 1</version> <filename>Hello. World</filename> <initial. Window> <content>Hello. World. html</content> <visible>true</visible> <width>400</width> <height>200</height> </initial. Window> </application> q
We Need some AIR � Hello world AIR application � Step q 4 - Create your Application edit Hello. World. html and save it <html> <head> </head> <body> </html> <title>My First AIR Application</title> <h 1>Hello World : D</h 1>
We Need some AIR � Hello world AIR application � Step q 5 - Test your Application To test the application , go to command console , and type adl Hello. World-app. xml
We Need some AIR � Where • • • to go from here Download the Adobe AIR runtime. Download the Adobe AIR SDK Download AIR development tools Get AIR applications Get support
Any Questions?
Thanks. .
- Slides: 17