Should I write my web apps using ExtJS? One page that should never be updated, and all that AJAX is doing?
You do not need to write your applications as ExtJS documentation. If you look at the sample pages for ExtJS, you will see a lot of HTML mixed with Ext widgets on separate pages. In my work, I have two different applications in which I use ExtJS, one of them is a legacy site where I use widgets to create pages, and the other is a full-featured web application that uses nothing but ExtJS for the interface. I definitely prefer the latter as soon as I hung it, but the learning curve is pretty steep.
How do you debug such applications if getting to the right place can take a lot of “clicks” and work with it.
The key here is modulating your application. Build each component individually and test it in a vacuum. Do not make you think that it must be some kind of giant JavaScript file that contains the entire application. In most web applications, the source had dozens or more JavaScript files that were merged for deployment purposes only.
A for testing and debugging must be firebug . It allows you to check Ajax requests, debug JavaScript live and much more.
Here is a series of articles about building large applications using ExtJS, this is a pretty decent read with lots of good information.
Creating a sample application in ExtJS 4 Part1 Part2 Part3
For ExtJS 3.3 and below Part1 Part2 Part3
I think it's okay to use ExtJS anyway, if you are just starting out, it may make more sense to do what you like best and add some ExtJS “buckle” along the way. However, once you start using it to create single-page applications, and you have output other than JSON, you will probably never look back at the old way you did web applications.
rwilliams Oct 20 '09 at 17:28 2009-10-20 17:28
source share