Revealing Module Pattern in JavaScript

We talked about Prototype Pattern in previous posts. You can read them at below link. Understanding Prototype Pattern in JavaScript Understanding Prototype Pattern in JavaScript: Part # 2 Revealing Module Pattern allows us to achieve Singleton object Private Public behaviour of functions and properties in the object. Let us consider the usual code we write.…… Continue reading Revealing Module Pattern in JavaScript

Understanding Prototype Pattern in JavaScript: Part # 2

Recently we had a look on Understanding Prototype Pattern in JavaScript. I tried to explain this pattern in most simplified way. In this post we will get more dipper and see how prototype works in JavaScript. Putting it in simple words in prototype pattern, we create object using template of an existing object. In prototype…… Continue reading Understanding Prototype Pattern in JavaScript: Part # 2

Understanding Prototype Pattern in JavaScript

I am writing this blog post from Bulgaria Sofia. I am here to attend Devreach conference organised by Telerik . In conference I had an opportunity to meet my great inspiration Dan Wahlin . I attended his session on “Patterns in JavaScript” and I must say it was one of the best technical session I…… Continue reading Understanding Prototype Pattern in JavaScript