Recent blog posts
- We're repeating that mistake?
- Consuming Internet media gives you a negative charge
- How data affects wifi range
- Technology predictions for the next 10 years
- Absolute minimal styles for your unstyled site
- iPhone app? I'd rather not
- Four grids
- Some books I'm interested in
- For web dev, a great monitor is critical
- because of twitter I blog less
Bearfruit
Moo vs Queer controversy (to be fair, I shortened both titles)
Yo Matt (and all you others):
You should check out the new iframe and Swiff classes in Mootools. Iframe tunneling and manipulation rocks and the Swiff class makes JS to flash translation a snap!
I looked at jQuery and it appears that Moo has all the same selectors except Moo compounds them into one method while jQuery singles them out like this:
Mootools ‘.inject’ has 4 options myElement.inject(el[, where]); you would put top, bottom, after, before in the ‘where’ place and that same method would do all 4.
with jQuery you have to memorize a bunch of individual methods like this:
$(“p”).insertAfter(“#foo”);
$(“p”).insertBefore(“#foo”);
$(“span”).appendTo(“#foo”);
$(“p”).prepend(“Hello ”)
Why is it more clear to have 40 million little selectors separated and callable through a slew of different method arrangements when you could use simple text strings to indicate all of them in the same format and method. That seems counter intuitive and quite long-handed in my view.