December 26, 2014

Mootools beats jQuery and Ext for AIR

When I recently updated an Adobe AIR app I’d written for AIR Beta 1, I found that I had to go to enormous lengths to continue being able to use ExtJs as a selection & effects library for it. This is due to “eval()” being prohibited in the base Javascript on any AIR app.

I also tried jQuery, but that didn’t work either. Calls to “eval()” are just too integral to both frameworks. Enough so that I couldn’t even do basic CSS selectors.

MooTools Works with AIR

While walking the dogs this morning, I had a minor eureka moment, and decided to try Mootools in an AIR app. I spent a half hour tinkering around in Aptana, downloading MooTools 1.1, and setting up a few tests. The result is extremely pleasing. Not only is MooTools way better and easier to use than I remember, but it works out of the box with AIR, without the cumbersome bridge process. I can do CSS selectors (at least basic ones, I haven’t tested heavily yet) and I can even use transition effects.

This is very pleasing to me. I’m liking AIR quite a bit for fun little programs, and I’ve been writing down ideas for other small little useful programs, but having to split all of them into bridged components just to get access to a decent effect library was simply too much.

[tags]mootools,jQuery,ExtJS,AIR,adobe-air[/tags]

Share and Enjoy:
  • services sprite Mootools beats jQuery and Ext for AIR
  • services sprite Mootools beats jQuery and Ext for AIR
  • services sprite Mootools beats jQuery and Ext for AIR
  • services sprite Mootools beats jQuery and Ext for AIR
  • services sprite Mootools beats jQuery and Ext for AIR
  • services sprite Mootools beats jQuery and Ext for AIR
  • services sprite Mootools beats jQuery and Ext for AIR
  • services sprite Mootools beats jQuery and Ext for AIR

Related posts:

  1. Why I'm moving from jQuery to ExtJs Update (21 Nov 2008): I changed my mind a few...
  2. jQuery Selector Magic I've been working on a Drupal module to automatically make...
  3. Simple, degradable Flash embedding using jQuery Now that I am doing professional web layouts for clients,...
  4. Semitransparent rollovers made easy with JQuery I'm continuing to enjoy working with jQuery....
  5. Enhancing FAQs with jQuery I’m so pleased by how useful and concise jQuery has...

About Bruce Kroeze

Comments

  1. kramer says:

    Thanks for the tip, i was previously using an autocomplete with jquery and once beta 2 came out it killed it. Even when i followed the security settings it had a problem because the autocomplete used an iframe (which was already inside one for security). With the switch to mootools it’s working great.

  2. Rey Bango says:

    Hey Bruce. Sorry you’re having issues. Ext and Adobe have a great relationship and we’re (Ext) addressing these issues with them.

  3. Jonah Dempcy says:

    Haven’t experimented with AIR yet but I am curious to try it out. As for libraries, I have 1 year production experience using Prototype/Scriptaculous and while it made some things easier, also had a fair amount of cumbersome boilerplate code, annoying quirks and peculiarities with the OO inheritance. I’ve heard that much of this has been fixed in newer versions (I was using 1.5) but this experience led me to investigate alternative solutions, eventually choosing MooTools and using that for a number of projects. It’s great to hear that MooTools works out-of-the-box with AIR. It’s a very clean, well-thought-out library so I can’t say that surprises me.

    I can’t speak for Ext or the others as I don’t have much experience with them. I’ve used a bit of jQuery and it has a very succinct syntax that I like, but in terms of reading the actual source code, MooTools is the only library where I have truly delved into the implementation details and actually been able to get a good grasp of what’s going on.

Trackbacks

  1. [...] Mootools beats jQuery and Ext for AIR (tags: mootools air javascript jquery webdesign webdev web development framework) [...]

  2. [...] is also other posts tell something about: Mootools beats jQuery and Ext for AIR jQuery vs. Prototype: OO JavaScript with or without training wheels 3 reasons why I use jQuery [...]

Speak Your Mind

*