O'Reilly logo

Dojo: Using the Dojo JavaScript Library to Build Ajax Applications by James E. Harmon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Objects and Classes

 

Crude classifications and false generalizations are the curse of organized life.

 
 --George Bernard Shaw (1856–1950)

Organizing the artifacts of your application into appropriate classes is one of the key goals of Object Oriented (OO) Analysis and Design. JavaScript is a fully Object Oriented language, and to achieve its full power we need to take full advantage of its OO features. However, we’ll see that Dojo provides some additional ways to work with the OO feature set of JavaScript that you’ll find really helpful when defining new classes and creating new objects. This chapter explores Objects, the OO features of JavaScript, and the OO enhancements provided by Dojo.

Objects Explained

JavaScript is an object oriented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required