Object Inheritance and other Diabolical JavaScript

Presented by Mike Wilcox and Bob Byron

Warning: JavaScript Warriors only; leave that spaghetti code at home! The truly adventurous will learn how to apply the arguments from your sub class to your base class constructor. We'll explore prototypal inheritance techniques and the syntactic sugar to make it easy. Then we'll create a sleek and sexy class constructor that creates powerful and extensible classes, allowing for code reuse and increased productivity.

TARGET AUDIENCE - Medium to Advanced JavaScript Developers

We'll begin by showing examples of functional programming (aka, spaghetti code) in the global space, the maintenance problems this presents, and its impact on performance. Also shown will be use cases that are difficult to achieve without objects. We'll then build our own helper function that creates inheritable classes that don't step on each others constructors, with a detailed explanation of each step.


About Mike Wilcox

Mike Wilcox

Mike Wilcox is a software engineer for of one of the top AJAX companies in the United States, SitePen Inc., which is comprised of the original contributors of the Dojo Toolkit and other open source technologies. As co-founder of the JavaScript user group in Dallas, Club AJAX, Mike is a regular speaker with presentations that include "The JavaScript Programming Primer" and "'That's not Flash?' Native Browser Vector Graphics".

Mike is a key developer for the new Deft project in Dojo that implements most of the Flash-based components used in DojoX, like the File Uploader and the Video and Audio controls. He is also a primary contributor of the Dojo extensions for Adobe AIR. His latest project is a vector-based drawing library, which he hopes can be used to push the boundaries of browser user interfaces.

For more information, read Mike's blog at http://www.sitepen.com/blog/author/mwilcox/ and visit http://clubajax.org/

More About Mike »