" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Oops… Who Killed My OOPs?

Posted on November 23rd, 2015 by Sathyan R

Background: It is very common for people to use   <asp:SqlDataSource> to bind controls in ASP.NET web pages. There are many developers who use <asp:SqlDataSource>to bind controls in their aspx pages. It is also prevalent to bind <asp:DropDownList> also using this <asp:SqlDataSource> But is it OK to use this for every single control (let us say […]

How to add a get/set property in a JavaScript OOP class

Posted on November 23rd, 2015 by Manish Sharma

In JavaScript we can mimic the OOP features like class(encapslation), public/private functions, static properties, inheritance(object inheritance using prototype) etc. Apart from these we can also add get/set function for a data member of class. //a sample Publication class in JavaScript. function Publication () { var _name = “”; //a private member coding convention. } //Define […]