WEB REFLECTION

behind the design

My JavaScript book is out! Don't miss the opportunity to upgrade your beginner or average dev skills.
Showing posts with label Factory. Show all posts
Showing posts with label Factory. Show all posts
Monday, December 27, 2010

ES5 Common Design Patterns Examples - Part 1

›
// Abstract Factory /* ({}).createInstance() (function (a, b, c) { this.sum = a + b + c; }).createInstance([1, 2, 3]) */ Object.defin...
3 comments:
Monday, January 18, 2010

Good Old And Common JavaScript Errors

›
... I won't write any introduction, but I'll let you comment, OK? for loops (plus ++i) for(i = 0; i // global i defined for(var i = ...
28 comments:
Thursday, June 19, 2008

A completely revisited Singleton and Factory design pattern for PHP and JavaScript

›
Singleton From Wikipedia In software engineering, the singleton pattern is a design pattern that is used to restrict instantiation of a clas...
1 comment:
Sunday, June 01, 2008

PHP or JavaScript implicit Factory method design pattern

›
Update Above technique could be used to create an implicit Singleton as well. class Demo { // your unbelievable stuff } function Demo($s...
›
Home
View web version

About Me

Andrea Giammarchi
View my complete profile
Powered by Blogger.