Ajax Applications in Adobe AIR - eSeminar | September 26th, 2007
I just completed an eSeminar about Adobe AIR and building AIR applications with Ajax and HTML. It was a good turnout (~250 peeps) and I hope that I gave all the attendees a good idea of some of the features of AIR and how to achieve some cool results.
People can download the slide deck here or check out the Adobe OnDemand site to see/hear it in all its glory.
I also wanted to post answers to some of the questions that I did not get to answer during the seminar.
Q: Can you explain in a nutshell offline data store with sql lite?
Through JavaScript or ActionScript one can write to or read from a SQLITE database that can be created on the users computer.
Q: Is it free like adobe reader?
Yes
Q: I mean can you mix ajax and flex controls
Yes
Q: Must the end user install the AIR Runtime on their machine to run air apps or can they be run on any machine line a flash projector file?
The AIR Runtime can be included in your application and installed with your application. It can also be installed from a Flash file.
Q: A question, mind sound a bit weird but, can you mix up html and flex controls?
Yes
Q: AIR can connect to external hardware (card reader etc)?
Not sure about that one!
Q: Can you access the webcam from an AIR app?
Yes
Q: The BETA label after Apollo made my manager a bit skeptical on using it through out the whole company, any insight in that ?
I think there is something to that - the difference between Beta 1 and Beta 2 is fairly large. However, I think that from Beta 2 onwards it will be much more stable.
Q: I also did not hear if you heard if u can use ruby on rails with air apps
You can use any server backend with AIR apps
Q: Will AIR be integrated w/products after CS3?
Not sure
Q: Can we make a executable in the future .. which would include the runtime with it
Your AIR application can include the runtime already
Q: What about MySQL?
You can use MySQL on the server but not on the client
Q: You doing any sessions at max?
Andre Charland and Alexei White from Nitobi will be presenting an Inspire session at MAX
Q: When is the final release of AIR 1.0?
Early 2008
Q: AIR release will be synchronize to the WebKit release?
AIR will be very close to Webkit - even providing bug fixes etc to the project
Q: Is iTunes created with AIR?
No
Q: Do you know when the expected release for AIR (for public use) will be?
The current Beta 1 version is for public use and the anticipated 1.0 release is early 2008
Q: How does this work with ColdFusion? As expected?
Yes as expected - any server technology will work
Q: MS Access mainform / subform - is there a plug-in that does something similiar?
Not sure at the moment
Q: Will there be a separate AIR development environment?
No. You can use Dreamweave, Aptana, or Eclipse at the moment I believe
Q: Where to start? Extensions for dreamweaver or handcoding
Do some hand coding and get familiar with the application.xml file and
Q: Is there an AIR plugin for Dreamweaver 8??
I don’t think so but don’t quote me
Q: Can I develop with Flex and use AIR?
Absolutely
Q: Maybe you said, but what rendering engine does AIR use? do we have to account for CSS issues liek we do for IE?
It is Webkit
Q: What must you go through to visually place objects in the appplication where you want them to appear?
Flex, Dreamweaver, Aptana. Just use your preferred HTML IDE
Q: Why would the application not update on its own?
There is update functionality I think - the AIR installer for your application generally deals with upgrades nicely
Q: Will Adobe Air be open source if not what will it retail for?
It is not open source but it is free. Well it is partially open source I guess since it uses WebKit
Q: Is Adobe Air the same thing as Adobe Apollo?
Yes
Q: Linux??
Not yet - after V1.0 comes out
Q: Does it go beyond the root of the XML file? for example ../..?
Good question - haven’t tried it!
Q: Is all of this code applicable to all Operating systems or do does it have to be coded differently for each OS
AIR is OS agnostic. You can run AIR apps on any platform although currently there are a few bugs that have been logged and will be fixed
Q: I thought I saw the use of .attachEvent previously; now it looks like a Flash .addEventListener call… what’s the difference?
attachEvent was the Nitobi Ajax Toolkit event attachment so that the code could run in a browser (IE et al) or AIR
Q: Does the system chrome command apply to osx as it does to windows?
Yes
Q: Can you change the appearance of the Windows XP window with AIR?
Not that I know of
Q: External files are included in the air file or they are on a server?
They can be either
Q: What about movies? Quicktime etc…
I think the same as Flash or Flex
Q: I assume that this will run on Mac the same why it runs on Vista?
Yes it works the same on both Windows and OS X
Q: Can you configure your AIR app with all the HTML and JS files residing on a web server?
Yes
Q: Would you say that AIR replaces the way Director used to be used for desktop apps?
To a certain degree yes. But it is definitely focused more on bringing the web experience to the desktop
Q: What does ADL stand for?
ADL is the name of the EXE used for debugging your AIR apps
Q: Will Air be able to play FLV movies?
Not sure
Q: Does AIR allow for a main form /subform similiar to an Access database? (Not something you have to answer now - just whenever there’s something similiar mentioned)
Yes you just have to build it
Q: So what kind of CSS compliance is AIR in compairson with conventional online browsers?
AIR uses CSS 3.0 like the latest WebKit versions - whereas current versions of most browsers support CSS 2.0. I will probably get lambasted for making such a broad generalization!
Q: Can we use air to rotate 3D models?
Why not!
Q: How would this compare to Google Gears? Especially the offline capability.
I think that AIR provides a lot more than just offline capabilities like Google Gears does. It provides cross platform file IO, drag and drop, windowing and more
Thanks for all the questions and feel free to post more below!
September 26th, 2007 at 8:07 pm
Hey, you did a cool seminar! I was there to see and hear it. I was the one who asked if you could change the appearance of Windows XP windows with AIR. I asked that because it looked like you were able to add transparency to that one window in the demo. Do you think AIR will ever be able to fully manipulate Windows XP and Vista components? Such as windows, menus, and the task bar?
September 28th, 2007 at 7:28 am
I would love to see this eSiminar but it is not listed in the
OnDemand link you provide. Is it going to take a couple of days
to show up? Thanks
-jon
September 30th, 2007 at 6:15 pm
@Sean, good to hear you enjoyed it! You are certainly able to change the appearance of the window chrome (ie chrome or no chrome). But, I am not sure if you can change the menus etc - I have not looked into that at all as instead I was just keen to get rid of the windows top bar etc
@Jon, I am not sure when the seminar will be up OnDemand - that is just what I heard from Adobe
It does not even list AIR in the products list on the sidebar… I will email them and bug them!
November 16th, 2007 at 10:16 am
Yes, thanks guys for taking care of this. Much appreciated
October 21st, 2008 at 3:13 am
Hello,
I read the the seminar PDF fiel. The HTML Drag Test is very interesting. Is’ it possible to watch the code.
Best Regards.