Summary
After learning the content in this chapter, you should:
Understand how to use
dojo.declareto simulate classes in DojoBe able to implement single- and multiple-inheritance relationships in Dojo
Be aware of the dangers involved in initializing JavaScript
Objects outside of a Dojo class'sconstructorKnow that Function objects are the mechanism used to approximate classes in JavaScript; remember, there aren't "real" classes in JavaScript
Understand some of the distinctions between prototype-based inheritance and class-based inheritance
Have a general understanding of how Dojo leverages JavaScript's prototype-based inheritance behind the scenes to simulate class-based inheritance
Part II is next, in which we'll cover Dijit and Util.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access