Pages

Categories

More about Creating Objects in JavaScript

A little later than expected since I’ve been quite busy with my Swift Mailer project (SourceForge).
A few weeks ago I posted an introduction on how to create objects using JavaScript. The concept is simple and quite fundamental. Objects are functions, methods are assigned as new functions inside the object and the constructor is simply […]

June 15th, 2006 | JavaScript | 2 Comments »

Creating Objects with JavaScript

This is just the basic idea, I’m not going to get into inheritance. There are more advanced things you can do but I’ll go over them separately if I get time.
Writing objects in JavaScript is really dead simple! You write them like a function, and because JavaScript is by it’s own nature an […]

May 28th, 2006 | JavaScript | No Comments »