PDA

View Full Version : Ext Design Patterns



K0bo
25 Aug 2007, 4:10 PM
I took the liberty and extended the 3 patterns I found in the community manual (http://extjs.com/learn/Ext_Manual) to the most commonly used/known patterns.

For anyone who doesn't knows about Design Patterns, it's a big help for developers. Providing solutions for problems which have been perfected over the course of time.

I personally think Ext is going to have a nice asset if a fairly complete list of Design Patterns with code-samples can be found (coded in the Ext-style). Since I couldn't find any site with a complete list of Design Patterns with code samples.

Furthermore, it helps developers to understand how certain things in the Ext works.

And finally, it gives "new" developers a jumpstart on developing, so they will feel more comfortable when developing.

Since my knowledge of OO in javascript is limited I only started with the Singleton.

Anyone there who can assist with good code-samples?

More info:
Wikipedia (http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29)
dofactory.com (http://www.dofactory.com/Patterns/Patterns.aspx) - Nice list with examples in C#

mystix
25 Aug 2007, 11:20 PM
hmmm... maybe you could start the ball rolling so Ext will have something like this eventually? ;)

http://developer.yahoo.com/ypatterns/