Saturday, October 6, 2012

Writing Object-Oriented JavaScript

Introduction

ASP.NET and Visual Studio 7.0 are making important contributions to the improvement of the web development experience. Unfortunately, there is also a tendency created among developers to limit their interaction with JavaScript. Clearly JavaScript is valuable for adding client-side functionality to web pages. However ASP.NET programming models suggest that developers produce page layout while emitting client-side JavaScript from ASP.NET controls. As a consequence, this model tends to limit JavaScript to procedural adjuncts. This is rather unfortunate because it severely limits the power of an object-oriented scripting language that developers can use to write rich and reusable client-side components.

Source: http://www.codeproject.com/Articles/5608/Writing-Object-Oriented-JavaScript-Part-1 
Another Source: http://mckoss.com/jscript/object.htm