JavaScript
  Home arrow JavaScript arrow Introducing MochiKit
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Introducing MochiKit
By: Dan Wellman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2007-06-04

    Table of Contents:
  • Introducing MochiKit
  • MochiKit Modules
  • MochiKit.Color and More
  • MochiKit.Selector and More

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Introducing MochiKit


    (Page 1 of 4 )

    MochiKit (pronounced mo-chi kit) is a lightweight, fast JavaScript library that was inspired by the Python programming language. It aims to make a lot of JavaScript syntax more convenient. It was produced by Mochi Media, a company dedicated to providing tools and services that support content creators, and written almost entirely by Bob Ippolito. Keep reading to learn more about this library.

    The general aim is to make building web content fun and easy and driven by creativity, passion and innovation. The library was initially released on July 27, 2005 and has undergone many revisions, improvements and releases since then bringing it to the current version of 1.4, a testament to the developer's ongoing dedication to making the product as good as it can be. It is released under a dual license in MIT or the Academic Free License 2.1 flavors, which allows you to use the library for anything that you want and to make whatever changes or modifications you see fit, which makes it ideal for use in your own products or web sites.

    Like other libraries, you are offered the choice between a couple of different versions to download, the development version and the release version. The development version is the version that you should use during construction and testing of your web pages/site, and the release version is the more polished version that should be used when you release your pages/site for general consumption. The full current release version weighs in at approx 1.23 MB, including the documentation and examples, which makes it slightly bigger than MooTools but still pretty small and definitely smaller than some of the available JavaScript libraries available.

    The tag line on the MochiKit website is that it "makes JavaScript suck less." Personally, I don't think JavaScript sucks at all; I think it's a great language that can do great things, but then I'm probably not advanced enough of a user to feel its shortcomings as much as others may. It's not infallible or perfect but then what is? Still I'm sure that many people who find it hard to use JavaScript to get the effect they want may indeed feel that it sucks a little, and these are the people at which I guess the library is primarily aimed. In truth, the library is well suited to many people and projects and is compatible with a wide range of browsers and other frameworks.

    The MochiKit site is very well produced and is presented in a clear, attractive and no-nonsense style. You can view demos of MochiKit in action, read the library's documentation and find out who else is using MochiKit in their projects. There is a blog to keep up to date on the latest MochiKit developments, and of course links to the latest downloads of the two library versions. The demo's section on the whole is very good and provides clear examples of some of the functionality you can add to your web sites using the library. The only problem with the examples is that there isn't a great deal of them; although this is noted by the developers and more examples are promised.

    More JavaScript Articles
    More By Dan Wellman


       · Hi, hope you enjoy this introduction to MochiKit, one of the smallest javascript...
     

    JAVASCRIPT ARTICLES

    - Using jQuery to Preload Images with CSS and ...
    - Using Client-Side Scripting to Preload Image...
    - Removing Non-Semantic Markup when Preloading...
    - Using the Display CSS Property to Preload Im...
    - Preloading Images with CSS and JavaScript
    - Scaling and Moving Web Page Elements with th...
    - Fading, Hiding and Sliding HTML Elements wit...
    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek