Tag Archives: mootools
Mooml: Mootools markup language (intro)
It was a month ago when I found about Jaml, an excellent small Javascript library created by Ed Spencer which allows generating HTML code using very nice and clean templates. At work we use Mootools in most of our projects, so I thought it would be nice to improve Jaml by taking advantage of the [...]
I never use $$ on my projects (and barely use $)
On all the projects I’ve worked on, I always try to follow the MVC arquitectural pattern, separating the model from the view *and* creating a controller. It may be a simple controller in charge of a tab-set, or an accordion. Or it may be a full size controller in charge of the whole page structure, [...]
Creating HTML blocks with Mootools
Sometimes we need to create HTML from JS. There are multiple ways to do this, from using innerHTML to creating element by element appending child to parents, setting attributes, etc. And there are as many different opinions about what is the right way to do it. Meanwhile, once thing I missed from jQuery, not available [...]
Fixing issues with ‘change’ event on text fields ala Mootools
Very nice snippet to solve a few annoying issues with the change event: http://www.meiocodigo.com/2009/08/13/new-changed-event/
Setters & Getters on Mootools classes
Although I haven’t need them for my classes, I thought it would be very cool to have the possibility to use them. Setters and Getters are very popular in modern programming languages, since they let you do some actions when a member/property of an object is being accessed or modified. Setters and Getters are native [...]
Mootools stuff to review
Two interesting things I have to review; MooTools: Bubbling Controllers MooTools: Ignoring the next click
iPhone 3.0 geolocation with Javascript
I was watching one of the video tutorials from Apple last night about some custom JS available on Safari, only on the iPhone 3.0, that let’s you interact with the phone and obtain data like the current location, etc. So I built a little page to see how it works. I included Mootools 1.2.3 from [...]
MooTools 1.2.2 is here and it’s very cool
What a great surprise it’s been to see the major updates in Mootools Core are around the Class object. Object Oriented javascript is the future and MooTools is the freeway to get there. Now, better than ever. MooTools 1.2.2 is a mainly a bug fix release but it also includes an almost entirely new Class.js. [...]
Synchronizing sounds (or trying to…)
The purpose of this demo is to test and see how possible is to synchronize sounds with DOM effects while being played in different threads or timers. It looks like, while synchronizing sounds with DOM effects is quite simple and works fine, sounds played by different threads or timers get out of sync after a [...]
