Category Archives: OOP

Post related to OOP

Making singleton class and sending event to the class in javascript

e.g. I want to send login event that other class will execute when he recieve that event so . For that I will send and on property with the send data like this :           request.on = {                 login: … Continue reading

Posted in OOP, UI Js | Leave a comment

Design Patterns

Behavioural Pattern >>Command Pattern : Very Nice patter and the example here is so nice and want to these kind of pattern in my code . http://www.oodesign.com/command-pattern.html      

Posted in OOP | Leave a comment