AIR, MooTools, ThyncRecord Comments

Threeish updates:

I’ve recently begun using Adobe AIR (specifically using JavaScript) and am really excited about it. Have had a friend install an unsigned demo of some of my interface code and he said it worked great! This code is for a scalable/syncable task manager I’ve set aside until I can get some more database-centric groundwork done. This app has me excited for my own personal use as well as the possibility of widespread use by Windows and Mac users. For a great reference after wading through some intro material, check the free PDF of Adobe AIR for JavaScript Developers Pocketguide, which Adobe has kindly released into the wild.

Almost all of my current personal work involves MooTools 1.2, and I love the Class-building capabilities. Having not written a great deal of OOP stuff with 1.1 I can’t compare, but the Options and Chaining stuff are very exciting, as are Element storage and Hashes. I’m currently using Options all over, may use Chaining, and am using Hash as well as Element storage in the task manager project. String methods like substitute() and clean() are a welcome addition! So are many of the core functions like $random and $extend. $extend, in particular, makes up for not having a directly-overridden Object class.

The aforementioned db groundwork, which I’ve dubbed ThyncRecord, is seeing a lot of progress. I’m about 300 lines into it and don’t foresee it going much beyond 700 at this point, even though at various times I’ve thought it would be much heavier. Have yet to test performance but I’ve already got some ideas for clearing bottlenecks, mostly involving custom events for asyncrhonous loading if necessary. I currently have a default limit to how deep the recursion can get for loading associated model data into a record, and this can be overridden as necessary.

Schlueter gave me the idea of abstracting the code out to be useful to Google Gears code as well, which I may take a look at once I’m happy with how things work using AIR’s SQLite. It shouldn’t be too much trouble working with another project as long as it’s SQLite as well.

Finishing up Association handling, adding in validation and implementing a migration system are next up for ThyncRecord. What I have so far is pretty polished and organized, though it’s taken several revisions and lots of meditative car rides to get it where it is now. It currently responds as similarly to ActiveRecord as is possible within JavaScript. Almost all options for finders are available in ThyncRecord, and currently belongs_to associations work fine. HM and HABTM are next.

I look forward to releasing ThyncRecord for public consumption once it’s ready, and welcome comments or questions in the meantime. Again, it primarily targets the AIR crowd but will eventually work in other environments as well. It requires MooTools 1.2 to work, and I’ll release full documentation and requirements once it’s good to go.

On a side note, RideCharge is looking for a QA Specialist. The ideal candidate can write automated tests in addition to normal QA activity. If you have any more questions contact thynctank@thynctank.com or careers@ridecharge.com.

P.S. – the Gracefully Degrading Widgets articles will continue eventually!

[EDIT: ThyncRecord is now JazzRecord and will be available for download from www.jazzrecord.org starting 10/21/08]


  1. Posted August 12, 2008 at 11:36 am | Permalink

    I wonder whether the next GDWidgets article will be a jQuery or a MooTools tutorial.

  2. Posted August 13, 2008 at 5:13 pm | Permalink

    I’m sticking to jQuery because I believe it’s easier to understand and you can do more simple things quickly with less fuss.

    I can certainly provide moo equivalents if anyone requests them…

  3. Posted September 5, 2008 at 11:19 am | Permalink

    ThyncRecord sounds really close to what im searching for. If you get it up or need some other test apps to run with it let me know.

  4. Posted September 5, 2008 at 2:32 pm | Permalink

    Glad there’s some interest in the project.

    I’ll certainly try and contact any who’ve expressed interest in it as soon as I’m ready to do some public testing. Still a ways off but coming along.

One Trackback

  1. By Recent Links Tagged With "mootools" - JabberTags on October 15, 2008 at 12:04 am

    […] public links >> mootools AIR, MooTools, ThyncRecord Saved by lightangel210 on Mon 13-10-2008 Mootools off-line documentation Saved by martinsnizek on […]

Post a Comment

Your email is never published nor shared. Required fields are marked *