Skip to Navigation | Skip to Content

Working with Ajax Frameworks by Jonathan Snook

  • Frameworks provide ready-made solutions.
  • Often force a specific style of code e.g. the jQuery object.
  • 3 Layers to Javascript/Ajax:
    • Core – working with the DOM (the actual document).
    • Application conveniences – manipulating/processing data.
    • Widgets – design/interaction/code
  • Popular frameworks:
    • jQuery
    • Dojo
    • ExtJS
    • YUI
    • Mootools
    • Scriptaculous
    • Prototype
  • Snooks favorite framework? It all depends on what you’re trying to accomplish. Each framework has its own strengths.
  • Prototype:
    • Very object oriented approach.
    • Excellent for working with large amounts of data.
    • May have issues working with other libraries because it adds methods to the native prototypes.
  • jQuery:
    • Everything begins with the $ function (the jQuery object).
    • Lots of plugins available and very easy to develop your own, custom plugins.
    • Works really well with other libraries as all functionality is contained within the jQuery object.
  • ExtJS:
    • Great for application widgets.
    • Very flexible library.
  • Scriptaculous:
    • Heavy on effects.
    • Requires prototype.
  • Mootools:
    • A little bit of everything.
    • Object oriented approach.
    • Similar code conventions to Prototype.
  • YUI:
    • Yahoo global object – self contained, will play well with others.
    • DOM Collection – for traversing the document.
    • Event Utility – event handling.
    • Tons of available utilities and application widgets.
    • CSS:
      • Reset
      • Base
      • Fonts
      • Grids
  • Dojo:
    • Core – DOM utility
    • Dijit – application widgets
    • DojoX – cutting edge techniques: drawing, offline support, etc.
  • Jonathan also covered some common techniques e.g. show/hide/toggle, autocomplete, sliders using some of the popular libraries.

One Response to “Working with Ajax Frameworks by Jonathan Snook”

  1. Canadian User Experience : Insights of Web Directions North 08 Says:

    […] with a well-balanced content on both web design and development. There were practical sessions like Working with Ajax Frameworks by Jonathan Snook and Five Essential Composition Tools for Web Typography with Kimberly Elam as well as inspiration […]

Leave a Reply

WDN thanks its key sponsors

Adobe mediatemple Microsoft

And its significant sponsors

nGen Works Opera Software

WDN media partners

Agentic SitePoint TechVibes