RIA meets Desktop

3,846 views
3,752 views

Published on

Published in: Technology

RIA meets Desktop

  1. 1. RIA meets Desktop Peter Elst 4th-6th June 2008 Edinburgh, Scotland
  2. 2. Who is this guy? ■ Freelance Flash Platform Consultant ■ Adobe Community Expert ■ Adobe Certified Instructor ■ Author of quot;Object-Oriented ActionScript 3.0quot; and several other Flash Platform books 4th-6th June 2008 Edinburgh, Scotland
  3. 3. What is AIR? Adobe® AIR™ is a cross-operating system runtime that allows web application developers to use their existing web development skills (HTML, Javascript, Adobe Flash®, Adobe Flex™, Ajax) to build and deploy rich Internet applications to the desktop. 4th-6th June 2008 Edinburgh, Scotland
  4. 4. What is AIR? Adobe® AIR™ is a cross-operating system runtime that allows web application developers to use their existing web development skills (HTML, Javascript, Adobe Flash®, Adobe Flex™, Ajax) to build and deploy rich Internet applications to the desktop. Adobe® AIR™ brings your Rich Internet Applications to the Desktop — Flash, HTML/AJAX and PDF running as a native application. 4th-6th June 2008 Edinburgh, Scotland
  5. 5. 4th-6th June 2008 Edinburgh, Scotland
  6. 6. What will we talk about? ■ Network monitoring ■ Windowing API ■ HTML support ■ FileSystem access ■ SQLite database ■ Drag 'n drop support ■ Clipboard access ■ Update API 4th-6th June 2008 Edinburgh, Scotland
  7. 7. 4th-6th June 2008 Edinburgh, Scotland
  8. 8. How do you build it? ■ Flex Builder ■ Flash CS3 ■ Dreamweaver CS3 ■ your favorite text editor… The AIR runtime is available free of charge, authoring applications is free! 4th-6th June 2008 Edinburgh, Scotland
  9. 9. Network monitoring air.net.URLMonitor air.net.SocketMonitor ■ monitor network status changes ■ check if URL is available ■ check if specific socket is available 001_Network 4th-6th June 2008 Edinburgh, Scotland
  10. 10. Windowing API flash.display.NativeWindow ■ create new application windows ■ NativeWindowInitOptions ■ subclass <mx:Window> for Flex 002_Windowing 002_Windowing Flex 4th-6th June 2008 Edinburgh, Scotland
  11. 11. HTML support mx.controls.HTML ■ WebKit HTML engine embedded ■ Rendered as part of the display list ■ Script bridging 003_HTML 003_HTML displaylist 4th-6th June 2008 Edinburgh, Scotland
  12. 12. FileSystem access flash.filesystem.File ■ read, write, create files and folders ■ resolves correct path regardless of OS ■ no ability to launch applications 004_FileSystem 4th-6th June 2008 Edinburgh, Scotland
  13. 13. SQLite database flash.data.SQLConnection ■ SQL database saved a single file ■ Run queries using SQLStatement class ■ Prevent SQL injection using parameters 005_SQLite 4th-6th June 2008 Edinburgh, Scotland
  14. 14. Drag 'n drop support flash.desktop.NativeDragManager ■ drag between AIR and native apps ■ accepts different formats ■ define a drag out image 006_DragDrop 4th-6th June 2008 Edinburgh, Scotland
  15. 15. Clipboard access Clipboard.generalClipboard ■ generalClipboard is system wide clipboard ■ takes text, file, bitmap formats ■ ability to supply multiple formats 007_Clipboard 4th-6th June 2008 Edinburgh, Scotland
  16. 16. Update API flash.desktop.Updater ■ AIR runtime handles updates ■ Updater class allows self-updating ■ Requires an online resource to check 008_Update 4th-6th June 2008 Edinburgh, Scotland
  17. 17. Wanna learn more? Links ■ www.peterelst.com ■ www.adobe.com/devnet/air ■ onair.adobe.com Books ■ AdvancED AIR Applications (coming soon) 4th-6th June 2008 Edinburgh, Scotland
  18. 18. Q&A ■ What do you think? ■ What features are you most excited about? ■ What is still missing? 4th-6th June 2008 Edinburgh, Scotland
  19. 19. Get in touch! Peter Elst Flash Platform Consultant Blog: www.peterelst.com Email: training@peterelst.com LinkedIn: www.linkedin.com/in/peterelst Twitter: www.twitter.com/peterelst 4th-6th June 2008 Edinburgh, Scotland

×