Thursday, May 24, 2007

Object orientation in javascript

In almost ever project I have been involved this is the case with javascript, its only used for validation checks and small time jobs etc by making a js library and writing procedural code.

in most large forms, java script methods keep growing and eventually you cant figure out if they are being actually used somewhere for what purpose or just junk code.

Here’s a link to 3 articles that hope to eliminate the issue by implementing client side functionality in classes similar to object orientation in .NET, and eventually ejecting the JS client framework through ASP.NET server controls

Part 1 : http://www.codeproject.com/aspnet/JsOOP1.asp

Part 2 : http://www.codeproject.com/aspnet/JsOOP2.asp

Part 3 : http://www.codeproject.com/aspnet/JsOOP3.asp

I'd love to get my hands practical on this one!

No comments: