NPM + MooTools + Ender = <3
Published May 12, 2011
Issue #005
Topic: JavaScript
Tags: MooTools, NPM, Ender
A proof-of-concept for the future of MooTools and client-side libraries. I've broken MooTools down to separate modules, published them on npm, and can now build them with ender.
MooTools Element 1.3
Published November 13, 2010
Issue #004
Topic: JavaScript
Tags: MooTools
The Element module in MooTools is your gateway to the DOM. In addition to creating, selecting, and manipulating elements, it features element getters, setters, and storage. Also, the Element module, along with Slick, provide a few more of places to put your code.
MooTools Class 1.3
Published November 11, 2010
Issue #004
Topic: JavaScript
Tags: MooTools
Welcome to JavaScript with Class. The Class type in MooTools is one of the defining parts of the framework. The sooner you master Class, the sooner you'll write maintainable, extensible MooTools code. After MooTools Core establishes a few things, nearly every other addition to the framework is a class.
MooTools Types 1.3
Published November 10, 2010
Issue #004
Topic: JavaScript
Tags: MooTools
MooTools upgrades the JavaScript environment with dozens of utility methods and functions by extending the native Types. This enhancement sets a foundation, across environments, for the rest of MooTools itself and your application.
MooTools 1.3
Published November 08, 2010
Issue #004
Topic: JavaScript
Tags: MooTools
There's a lot of talk lately about large applications and how they affect how people are writing JavaScript--namely, a focus on modularity, reuse, and testability. This issue takes a deep look at MooTools 1.3 and its prescribed patterns for writing and organizing your JavaScript.
Use Your Fn jQuery Namespace
Published October 05, 2010
Issue #003
Topic: JavaScript
Tags: jQuery
Every plugin gets a namespace on the jQuery prototype. If you keep all of your functions, methods, and variables scoped inside the jQuery.fn function, others can't extend or alter the functionality of your plugin. Instead, take advantage of your block on jQuery street and let other developers take advantage of your plugin.
Authoring jQuery Plugins With Object Oriented JavaScript
Published October 05, 2010
Issue #003
Topic: JavaScript
Tags: jQuery
Instead of wrapping all the plugin logic inside the $.fn.disables = fn, keep all the logic outside in its own object and just use effin' to add your object to the jQuery API. It allows others to extend your plugin with ease, and allows you to skip the whole jQuery API, if you so desire.
SlideShow 1.0 Released!
Published June 04, 2010
Issue #000
Topic: JavaScript
Tags: MooTools, SlideShow
It's not just a gallery plugin, this thing can handle any content that shares the same space (tabs, news feeds, etc.) It's now super flexible after I've used it in production on several sites and discovered scenarios I hadn't thought of before.
Introducing moo4q.com
Published May 10, 2010
Issue #000
Topic: JavaScript
Tags: MooTools, jQuery, moo4q
I've gotten some great response to combining MooTools Class with jQuery, therefore, I've created a site dedicated to the technique.
Object Oriented jQuery With MooTools (Pigs Take Flight)
Published March 04, 2010
Issue #000
Topic: JavaScript
Tags: MooTools, jQuery, moo4q
If Element and jQuery as a whole are practically the same, what's the big difference? Remove the overlap of the two frameworks and you're left with the inheritance API of MooTools. What happens if you use this API from MooTools and plug in jQuery for everything else? Yep, jQuery as a plugin for MooTools. Or inversely and maybe more appropriate, MooTools Object Oriented Programming for jQuery.
jQuery 1.4, MooTools 1.2 Compared
Published February 05, 2010
Issue #000
Topic: JavaScript
Tags: MooTools, jQuery
I recently read jQuery 1.4 Released, The 15 New Features you Must Know over at Nettuts and thought it would be interesting to compare the features of MooTools 1.2 to the new features in Jquery 1.4, released 18 months later. Enjoy!
MooTools for Beginners Part 7 - Creating Flexible Classes Using Options, Events, and Event Management
Published January 27, 2010
Issue #001
Topic: JavaScript
Tags: MooTools
Last time we compartmentalized some code into a nice little MooTools Class called BouncyMenu that we can use anywhere. However, there are some HUGE improvements to be made. In this article we'll be talking about how to make your MooTools Class flexible by using `Implements`, `Options`, and `Events`. We'll also talk about managing events added to elements and some discussion about binding. If you still consider yourself a beginner, understanding this article should be a big deal. Once you master `Class` your javascript will never be the same.
Screencast, Adding Your Own MooTools Plugins to the Forge
Published January 26, 2010
Issue #000
Topic: JavaScript
Tags: MooTools, Video
The MooTools forge is awesome. This screencast shows you how to make it more awesome by adding your own mootools plugins to the forge. It features my newest plugin, Fx.Scroll.Carousel, though I wish I could have done this screencast for [SlideShow](http://mootools.net/forge/p/slideshow) instead, since it's my favorite plugin I've made so far. Enjoy!
MooTools for Beginners Part 6 - Coding an Animated Menu With `Class`
Published January 19, 2010
Issue #001
Topic: JavaScript
Tags: MooTools
When I first started working with MooTools I was writing code that was typically a series of functions and a lot of logic inside of my `domready` code. After a while I had a nagging feeling that there was a better way to write code. There is, and it's called `Class`. If MooTools were barbeque, `Class` would be the sauce--and the sauce is the boss.
Event Delegation With Mootools--Quit Selecting All Those Elements!
Published January 16, 2010
Issue #000
Topic: JavaScript
Tags: MooTools
Event delegation rules the school. Instead of adding events to 300 elements you just add an event to the parent element and it'll delegate the event down to it's children, like every good parent would. The benefits? 1) Efficiency, 2) Set it and forget it, 3) Makes attaching and detaching events in a class easier, 4) Makes you look cool, and that after all, is the point of being a web developer instead of a surfing instructor.
MooTools for Beginners Part 5 - Native Extensions
Published January 14, 2010
Issue #001
Topic: JavaScript
Tags: MooTools
MooTools extends a lot of JavaScript natives, like Functions, Strings, Numbers, etc. This article is going touch on a few of the non-dom things I do regularly with MooTools.
MooTools for Beginners Part 4 - Selecting and Manipulating DOM Elements
Published January 12, 2010
Issue #001
Topic: JavaScript
Tags: MooTools
Most of the time the whole point of using mootools is to manipulate an element or collection of elements. (But not always, as you'll see in Part 5.) Now that you know some basics we're going to get more in depth by learning the various ways to select dom elements to manipulate them--traversing the dom, as it were.
SlideShow - a Highly Extendable MooTools Javascript Slideshow
Published January 01, 2010
Issue #000
Topic: JavaScript
Tags: MooTools, SlideShow
It seems with every new brochure-type website I worked on I was coming up a with a new slideshow/gallery widget. Finally I made Slideshow, the ultimate slideshow class. It handles all of the basics of a good javascript gallery and nothing else. No skins, no new elements, no navigation, just the slideshow basics, making it a cinch to skin.
MooTools for Beginners Part 2 - Instantiating Objects and Managing State
Published December 30, 2009
Issue #001
Topic: JavaScript
Tags: MooTools
In part one we made use of `Element.tween`. A lot of the mootools classes have what I call element shortcuts that look like `$('el').tween()`, `.morph()`, `.load()` etc. Instead of using these shortcuts you can create an instance of these classes in an object and open up a lot more control.