HTML in a Flash World
Last night, I had the pleasure of presenting a short little session on HTML development within Adobe AIR and what the perks and pitfalls were. The feedback I got afterwards was very positive and I hope everybody there got something out of it.
As promised, I'm providing the slides in both PDF or Keynote.
Here are the resources that I talked about and have linked to in the slides:
- Adobe AIR SDK
- Adobe AIR Developer Center
- Ext JS has AIR interface
- BlackBookSafe
- Also mentioned in the questions afterwards: Badger
Conversation
Thanks for the links on your presentation - and on the Ext JS interface, I didn't see that before.
Slightly off-topic: I don't suppose you've come across any "simple" AIR examples that use Ajax (RSS/XML/JSON, etc...) to a remote location (API call?) from a single window, have you? Every example I've seen has either been to a local file store (removes issue with security implications of the sandbox) or using Flex. I get seriously confused with the sandbox security mechanisms and was trying to see how it's done in just plain old HTML and JavaScript in the most simplest of scenarios. (All my app needs to do is submit a single data value via AJAX upon the press of a button. I only need one window visible; not sure if I need hidden windows.)
Brendon, you should be able to perform simple Ajax post or get requests with ease. There's no cross-domain issues within the main application sandbox. The only concern would be how to evaluate the response; which, if a JSON format or XML format, isn't something you'll have to worry about.
Make a simple HTML page, make it the default content of your project and wire up a button to perform an ajax request when pressed.
Definitely found this to be insightful. I'm new to AIR, and have been studying and learning a ton over he past few weeks. Once again well done!
Thanks for this information. I have been working with AIR off and on for 2 years and get more and more excited about it!