when you develop a web application using ExtJS (with its MVC and a Viewport), generally there's no possibility to navigate: every item into the page (buttons, textfields, textareas, ...) is bound to a specific method of the view's controller. So, when you 'travel' through the application, the original URL is always the same and it doesn't change.
Now, take as example an application with a header menu bar filled with these following buttons:
Home | Setup | Archive
And the original URL of the application take the following:
http://www.mydomain.com/webapp
At this point, when someone click Home or Setup or Archive menu a certain view is displayed into the center region and the URL should change in
http://www.mydomain.com/webapp/[home|setup|archive]
So, if I click Setup menu the following URL should be displayed in the address bar:
http://www.mydomain.com/webapp/setup
Further more, the same page should be shown if I type the same URL into the address bar from another URL.
But currently my webapp still remains into 'http://www.mydomain.com/webapp' showing the requested view. (MyApp.view.Setup, for instance).
That's the point: how can I develop a webapp (with ExtJS, MVC and Viewport) with URL navigation? Is it possible to do without nesting javascript/html code into other PHP/Ruby/Python/$RANDOM_SERVER_LANGUAGE? (I want to split client by server side)
An implementation of this already exists: it's the ExtJS API Documentation. If I'm right, there's no server-side application or .htaccess that provide the page requested. In fact, there's a folder called 'source' into the main directory that contains an HTML file for each class. How they do that?
Thanks in advance. Wilk