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
    LightFace:  Facebook Lightbox for MooTools

    One of the web components I've always loved has been Facebook's modal dialog.  This "lightbox" isn't like others:  no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much."  With Facebook's dialog in mind, I've created LightFace:  a Facebook lightbox...

  • By
    Animated 3D Flipping Menu with CSS

    CSS animations aren't just for basic fades or sliding elements anymore -- CSS animations are capable of much more.  I've showed you how you can create an exploding logo (applied with JavaScript, but all animation is CSS), an animated Photo Stack, a sweet...

Incredible Demos

  • By
    CSS Custom Cursors

    Remember the Web 1.0 days where you had to customize your site in every way possible?  You abused the scrollbars in Internet Explorer, of course, but the most popular external service I can remember was CometCursor.  CometCursor let you create and use loads of custom cursors for...

  • By
    Create a NoScript Compatible Select Form Element with an onChange Event

    I wouldn't say that I'm addicted to checking Google Analytics but I do check my statistics often. I guess hoping for a huge burst of traffic from some unknown source. Anyway, I have multiple sites set up within my account. The way to...

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!