View Full Version : The famous Ext JS can only be learned example by example?
ext2000
20 Aug 2008, 10:33 PM
I've read the API document, but it looks just like an auto-generated one. No more important fact can be found there, that is, you just cann't work by reading the API doc.
For exmaple, how can I know the differece SimpleStore between JSONStore. They have different requirement on the incoming data. But no place states that.
I wonder if there is any systematic way to learn this FAMOUS JS framework?
Animal
20 Aug 2008, 11:18 PM
Same way you learn any programming toolkit.
Start by writing simple thnigs, and work up. Just get coding.
And for heaven's sake learn Javascript first.
jay@moduscreate.com
21 Aug 2008, 2:18 AM
There will be some publications soon. :)
Gunmen
21 Aug 2008, 11:18 AM
Hihi. I have to confess... learning by doing is the best way (including re-reading the documentation over and over again). But it is worth. B)
I'm looking forward to the publications. Is there a publication date?
harley.333
21 Aug 2008, 2:44 PM
http://www.amazon.com/Professional-JavaScript-Frameworks-Prototype-MooTools/dp/047038459X/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1219358488&sr=8-1
http://extjs.com/forum/showthread.php?t=43698
mjlecomte
21 Aug 2008, 3:55 PM
I've read the API document, but it looks just like an auto-generated one. No more important fact can be found there, that is, you just cann't work by reading the API doc.
For exmaple, how can I know the differece SimpleStore between JSONStore. They have different requirement on the incoming data. But no place states that.
I wonder if there is any systematic way to learn this FAMOUS JS framework?
Work through examples and tutorials.
Ask questions in forums, as you can tell you got at least 4 different people to respond.
Maybe you used a poor example to prove your point, but the first line of commentary in both those classes describes your answer?
Class Ext.data.JsonStorePackage: Ext.data
Defined In: JsonStore.js
Class: JsonStore
Extends: Store
Small helper class to make creating Stores for remotely-loaded JSON data easier.
Class Ext.data.SimpleStorePackage: Ext.data
Defined In: SimpleStore.js
Class: SimpleStore
Extends: Store
Small helper class to make creating Stores from Array data easier.
So ask again what you're confused about. It's sometimes difficult to write about stuff you already understand. The API Docs are not perfect. They are continually improved upon based on comments in the forums.
mlarese
21 Aug 2008, 9:43 PM
leave it, it is not for you
bone
21 Aug 2008, 11:03 PM
Yes, the API is autogenerated. It is generated from the comments found in the source. Which leads me to my list of stuffs you should do to master Ext.
1. Learn Javascript
2. Learn HTML
3. Learn CSS
4. Check out http://extjs.com/learn for humans explaining certain Ext/Web-developing concepts as simple as can be.
5. Check out the examples
6. Use the API as a reference !
7. Read the source of every component the first time you use it.
The whole point of #7 is that if you're new to JS you might get some very nice hints of how to organize and write your Javascript. Also it gives you invaluable insight in the inner workings of Ext. And as I've always said; source > API/examples when you want to learn.
But please. What do you mean by "The famous Ext JS can only be learned example by example"? Name one programming language or library, ONE, which does not rely heavily on examples when newbies try to learn it?
To be honest I like the Ext way of doing it rather than the MSDN way :P
/discuss
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.