Script Junkie: MooTools Class Creation and Organization

By  on  

My new blog post has debuted on Script Junkie: MooTools Class Creation and Organization!!

As web applications aim to become more dynamic, responsive, and feature-filled, they will inevitably need to include more JavaScript. As the amount of code increases, there is also an increase in the need to keep that code organized, extendable, and maintainable. The MooTools JavaScript framework provides you just that. This post will cover the basics of creating and organizing MooTools classes so that your web application's JavaScript will stay organized and extendable for years to come.

Click here to read the post and please vote for it on Reddit!

Recent Features

  • By
    39 Shirts – Leaving Mozilla

    In 2001 I had just graduated from a small town high school and headed off to a small town college. I found myself in the quaint computer lab where the substandard computers featured two browsers: Internet Explorer and Mozilla. It was this lab where I fell...

  • By
    Vibration API

    Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user.  One of those simple APIs the Vibration API.  The Vibration API allows developers to direct the device, using JavaScript, to vibrate in...

Incredible Demos

  • By
    Create a 3D Panorama Image with A-Frame

    In the five years I've been at Mozilla I've seen some awesome projects.  Some of them very popular, some of them very niche, but none of them has inspired me the way the MozVR team's work with WebVR and A-Frame project have. A-Frame is a community project...

  • By
    CSS Filters

    CSS filter support recently landed within WebKit nightlies. CSS filters provide a method for modifying the rendering of a basic DOM element, image, or video. CSS filters allow for blurring, warping, and modifying the color intensity of elements. Let's have...

Discussion

  1. Excellent tutorial David…

  2. nice entry David! bookmarked!

  3. Fantastic! Thank you

  4. Patric Nordmark

    Ive been reading blogposts from your blog from time to time.
    And I have to say this must be youre best article written so far.

    It really gives a good introduction, and makes people who are familiar with OOP immediately understand that there’s a really good alternative to using jQuery. (nothing against jQuery)
    Something that many developers out there are to lazy to even consider.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!