Ext 2.0 API Docs on AIR

February 14, 2008 by Jack Slocum

I have been asked quite a few times recently about how difficult it is to take an existing Ext JS application and convert it to Adobe AIR. My answer - theoretically it should be pretty easy if you aren’t using any AIR specific features. However, I thought I would see for myself, using the soon to be available Ext AIR adapter that allows Ext JS to run in the AIR application sandbox.

It took about 20 minutes to take the Ext JS 2.0 API documentation application and get it running on AIR. The only things I had to change were a few paths to point to an ext-2.0 directory instead of a relative path. After that, it just worked.

The most impressive thing is definitely the performance. Even loading large classes, like Ext.Element is instant. I’ve put the application on ExtJS.com for download. Enjoy!

Update: Feb 26th, 2008
- Grab Adobe AIR 1.0
- Install Ext 2.0.2 Docs

30 Responses to “Ext 2.0 API Docs on AIR”

  1. awesome work as ever !

    one little bug : when clicking to see the js files (”defined in” line), a blank window popup with nothing inside

    ghyster
  2. Thanks ghyster. The normal docs (http://extjs.com/docs) have the same problem. It will be fixed in the next build.

    Jack Slocum
  3. Cool. This could be interesting for offline applications - thinking gwt-ext 2.0 with the gears API.

    Gavin Terrill
  4. Brilliant, thanks Jack. Will make working with ExtJS even more enjoyable.

    On the topic of documentation, it’d be fantastic if we could at some point open up user submission for code examples on each class, tips, gotchas etc.. (the php documentation comes to mind). I find myself frequently hacking up simple examples in firebug whenever I start working with an unfamiliar section part of Ext, just to get a feel for how something works (except when the class api includes example code). Might need some form of moderation to filter out the noise but could accelerate the process of rounding out the excellent API docs with code examples.

    Cheers,

    Patrick

    Patrick Donelan
  5. Hi Patrick. I agree it would definitely be useful to have short code samples in the docs and/or user comments. We hope to have a commenting system for the docs in place in the near future.

    Jack Slocum
  6. I like it too. I started to put some extjs projects under Air, but I’m having trouble with combobox (gives Unsafe Javascript error). Should I start a forum thread on this?

    Peter Kovacs
  7. […] Jack Slocum’s Blog - » Ext 2.0 API Docs on AIR - Using the soon to be available Ext AIR adapter that allows Ext JS to run in the AIR application sandbox, Jack took the Ext JS 2.0 API documentation application and get it running on AIR […]

    Vinny Carpenter’s blog - » Daily del.icio.us for February 14th through February 16th
  8. […] เชื่อว่าหลายคนคงรู้จักคุณ Jack Slocum ผู้จัดทำ Ext JS กันมาบ้างแล้ว แต่นอกจากเว็บหลักของ Ext JS แล้ว คุณเคยเข้าไปที่เว็บส่วนตัวของเขาหรือไม่ ฮ่าๆ หากคำตอบคือไม่ ลองเข้าไปหน่อยดีไหม (แต่ไม่ค่อยจะอัพเดตบ่อยเท่าไหร่ สงสัยจะไม่ว่าง) ถ้าเข้าไปแล้วก็จะต้องเจอบล็อกนี้ที่เขาได้เขียนไว้ ห้วข้อเรื่อง Ext 2.0 API Docs on AIR […]

    Ext JS 2.0 API Docs on AIR | adkdev // new fresh php ajax developer - รวมเรื่องราวเกี่ยวกับการพัฒนาเว็บไซต์ ด้วย PHP และ Ajax
  9. […] he has been playing with Air again, and quickly wrapped the Ext 2.0 docs in Air, which would have been helpful when I was hacking the Ext toy on the […]

    Ajaxian » Jack is back: Ext for Air and Vista
  10. Thanks Jack. This is going to be very useful.

    serkanyersen
  11. […] he has been playing with Air again, and quickly wrapped the Ext 2.0 docs in Air, which would have been helpful when I was hacking the Ext toy on the […]

    Ajax Girl » Blog Archive » Jack is back: Ext for Air and Vista
  12. Ext 2.0 API Docs on AIR…

    […]I have been asked quite a few times recently about how difficult it is to take an existing Ext JS application and convert it to Adobe AIR. My answer - theoretically it should be pretty easy if you aren’t using any AIR specific features. However,…

    Web 2.0 Announcer
  13. […] he has been playing with Air again, and quickly wrapped the Ext 2.0 docs in Air, which would have been helpful when I was hacking the Ext toy on the […]

    Javascript News » Blog Archive » Jack is back: Ext for Air and Vista
  14. I get an error when trying to install it:

    This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version.

    I’ve got Air 1.0

    albeva
  15. Same error. Tasks v2 run fine. I would love to have docs local/air..

    bhaidaya
  16. Thanks Jack - This is a great utility and I much prefer having the doc’s open in the Air app as oppose to in the browser.

    Is it possible to update this to the 2.0.2 release - I’d love to see it added to the Ext download page and updated in future releases.

    Thanks,

    Dan

    Dan
  17. There’s a new version available with an update to 2.0.2 and AIR 1.0.

    http://extjs.com/downloads/extdocs-2.0.2.air

    Jack Slocum
  18. Jack,

    Can you please contact me directly?

    Rich

    Rich Tretola
  19. Hi Jack,
    Great work.
    Is there a way we can easily, or even better, automatically get notified about new releases of this great app?
    I was thinking of a special RSS feed for this, or is there a mechanism build in AIR that allow applications to register a UR in which to check for updates?

    Thanks,
    splintor

    splintor
  20. Hi Splintor, from 2.0.3 forward (the next release) an updated version of this application will be available on the Ext JS main website download page andan updated version will be standard part of every release.

    Jack Slocum
  21. What’s up Jack?

    It looks like you have a pretty cool application here. Do you ever think of doing any side work?

    I think we can come up with some cool apps together.

    Shane

    PDA Cell Phones
  22. That last comment looks almost like blog-spam.

    christocracy
  23. Haha, is it sad we can’t differentiate between non spam and spam sometimes

    Trey
  24. The AIR does have an self update API, if you, Jack, cold make extdocs.air use that, we´ll don´t need anymore to check for newer version to download and get notified by the won docs that it is a new Ext release… (and we´ll be more lazy yet).
    I can see it already in the future… with the Ext chat integrated and so on… simple beautiful!!!

    EthraZa
  25. (i don’t speak english… i’ll try ) i want use Ext whit Adobe AIR but the comboBox, the dateField don’t run on the sanbox app(Security Error…) … i don’t use Ext 2.0.2 but they are a version Ext for Adobe AIR? please contact me directly if you can jack….thank.

    badlee
  26. Jack-

    Our client is looking for help developing an application similar to the sample ones posted on adobe.com/products/air (AOL, finetune, ebay, Nasdaq, etc..)

    Would you be interested in discussing this opportunity? Can you recommend someone that would be interested?

    Thanks,

    Andrew
    310.209.9810

    Andrew
  27. Andrew, please contact us at services AT extjs DOT com. We’d be happy to help. Thanks!

    Jack Slocum
  28. cash advance…

    Cash advance easy way to get payday loan
    Uk mortgages
    Uk mortgage
    Uk home mortgages
    Small business loan
    Secured credit cards
    Second mortgage
    Reverse mortgage
    Refinance
    Quickest cash advance
    Personal loan
    Payday loans
    Payday loan
    Payday loa…

    cash advance
  29. Jack Slocum is lame.

    Mooninite
  30. I’m still trying to get to grips with the Air CS3 extension for Dreamweaver, any one got any good tutorials or tips?

    Xbox

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image