View Full Version : Example Apps v. jsakalos OOP aproach
DeeDubleU
26 Nov 2008, 4:53 PM
I am a total newbee to ExtJS. Even I have some experience in OOP, C++ and Javascript, I must admit... I am (kind) of lost with ExtJS Examples vs. jsakalos (http://extjs.com/forum/member.php?u=2178) examples. Saki's examples are easy for me to follow. Unfortunatelly the code samples of the official ectjs website are rather cryptical and it seems they are not following the OOP-principals, compared to Saki's (how I think, highly) OOP-structured aproach.
Question: Could the ExtJS people, please, coordinate the path to follow in order to enable newbees to get going with this great framework following a 'trustworthy' path?
harley.333
26 Nov 2008, 5:22 PM
Do you mind posting a link to a good and bad example? I will do my best to explain the differences and the reasons behind them.
mjlecomte
26 Nov 2008, 10:35 PM
Some of the examples (I believe) are just done out of simplicity. Meaning, what is the simplest way I can show a widget working. So many times you'll simply see some code stuffed inside an Ext.onReady() block.
Some of the more advanced examples, like feedviewer, desktop, layout browser, grid data binding, remoteload, and others, do employ some OO architecture.
So the examples probably do, do a good job at keeping some of the examples simple to isolate what is required for each widget.
Take a gander through the 'blogs' section as well and you'll see some other code put together by others. Oh, and I think there's a few drag drop examples in the demos from a couple of other authors that use some OO.
flowerlin
15 Dec 2008, 7:54 AM
Take a look here : http://extjs.com/forum/showthread.php?p=263061#post263061
jay@moduscreate.com
15 Dec 2008, 8:00 AM
There are many ways to skin a cat!
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.