fbpx Skip to content

Aquent | DEV6

Object Oriented JavaScript – Part 3

Written by: Derek Santos

Read Part 1
Read Part 2

In Part 2 of this series, I covered inheritance in JavaScript. In this post, I’ll mention what else is possible with Object Oriented JavaScript and provide some resources.

JavaScript can support most Object Oriented Principles including:

  • Classes
  • Constructors
  • Inheritance
  • Encapsulation
  • Polymorphism

I’ve already covered Classses, Constructors and Inheritance. If you’re interested in learning more about Encapsulation and Polymorphism in JavaScript, this is a great article to read.

Another post written by Douglas Crockford that covers some more advanced topics for Object Oriented JavaScript can be found here. He shows how to create some of your own convienence methods to make OOJS a little easier.

A list of popular JavaScript frameworks

There are a ton of JavaScript frameworks out there. A lot of them use

the pricinples discussed in this series. Here is a list of some common frameworks:

  • the pricinples discussed in this series.  Here is a list of some common frameworks:
  • JQuery – Everyone knows this one, it’s arguably the most popular
  • Prototype – Another well known framework, similar to JQuery
  • Mootools – A compact JS framework for more advanced JS development
  • Dojo – Seems to have pretty good adoption, includes UI widgets as well
  • Mochikit – Another lightweight js framework
  • JavaScriptMVC – An Model-View-Controller implementation for JavaScript
  • YUI Library – Yahoo’s JavaScript UI Library
  • Jo – A mobile framework for HTML5 and JS.
  • FuseJS – Another framework like jquery and prototype.

The list goes on. I’d love to hear peoples opinions about these frameworks and any other frameworks you might be using.