Alex Rivera | Logout

What is ExtJS philosophy? Single page application?

Asked 2009-10-19T14:35:47.590
42

I need to write my next project using ExtJs. It's a nice Javascript lib but I don't fully understand the idea behind it. Take the docs page for example.

Am I supposed to write my web applications with extjs like that? One page that should never be refreshed, and everything getting done by AJAX?

How do you debug such applications if getting to the right place may take a lot of 'clicking' and working with it. You cannot fix the bug and hit refresh in the browser to see the results.

Any suggestions?

Edit
Report

1 Answer

0

You don't have to write like that. Sometimes it looks nice that way and faster (no refreshes for new pages).

You can do automated recordings for javascript that do your stuff with some automated testing tools or writing those things yourself. Usually debugging the whole page is not that good idea. When it's built up modularly it's easier. Isolate the problem and it's easier.

Also consider using firebug for debugging it might help you out.

Suggestion: I depends what are you doing. If you're making highly interactive page then it might be a good idea to do it that way. It's faster and ajax requests can be lower load on the server. On the other side it's going to take more time to do that way.

answered 2009-10-19T14:44:59.647

Your Answer