Going to start a new series in the blog on everything MooTools on a weekly basis. If you notice how “Round-up” plays on the cows element, that’s no accident. Only wish I was called ‘Woody’. Oh well.
So, what’s new in the world of the greatest javascript framework known to man?
My pick of the latest MooTools plug-ins
- Fx.CSS by @tbela99 is a nice class that makes the base MooTools Fx Class compatible with CSS3 transitions and effects. Looks like a very comprehensive effort, a must-see for those that try to phase out Flash.
- inPlaceEditor, also by @tbela99 makes for easy on-page editing of elements (contenteditable, cough)
- Time by Arieh Glazer gives you rails-like syntax for stating times
- Powertools::history by @cpojer of mootools-core is my pick of the litter – giving hashchange or popstate history management with graceful degradation to suit your ajax app needs.
IRC quote of the week
This is meant to be a joke so please be warned.
<kentaromiura> a mootoolist and a jqueryist walks into a bar, the jqueryist throws $ at the bartender while the mootoolist order a new Beer with more class.
For more classic moments like these, visit the MooTools IRC channel #mootools on irc.freenode.net and wait for kentaro’s next show.
Whine of the week
Popular tweets by people that have seriously failed to get the MooTools to works and make teh accordions!
@vgrovestine “IE9 not compatible with MooTools. Color me unimpressed.”
**update, new leader for the week**
@sergio_martino “Mootools has no Live event bindings… how crap is this js library… #mootools #usejquery”
Scoop of the week
Whilst discussing private methods in MooTools Classes, which currently works through the undocumented .protect()
function decorator, Arian said that MooTools 2 will be getting a public API for it looking like so:
var foo = new Class({ "private bar": function() { alert("this be private"); }, realBar: function() { this.bar(); } }); var myFoo = new foo(); myFoo.bar(); // exception myFoo.realBar(): // ok
I guess that’s one way to go with it. Another speculation had been a mutator like in Class.Binds: Private: [“bar”]. Apparently, you will be able to control this by writing a regexp mutator yourself and get it to behave like python or whatever takes your fancy.
Tutorial or blog post of the week
This week I came across a great post / overview of MooTools by Jonathan Krause, albeit written in German. http://www.jonathan-krause.de/artikel/mootools/ is the URL if you know German, trust Google Translate or just want to look at the code and the pretty pictures instead.
And another article I came across that’s slightly older but nice none-the-less: 12 Steps to MooTools Mastery by the MooTools team member I am afraid to admit I know least about, Jacob Thornton.
JavaScript fun
In case you missed it, here’s the most unique game of its type: a hashtag URL ascii char chaser game (called URL Hunter, really). Enjoy.
GitHub flavoured markdown enabled.