when developing a web application using ExtJS (with its MVC and Viewport), as a rule, there is no navigation option: each element on the page (buttons, text fields, text fields, ...) is bound to a specific view controller. Thus, when you travel through the application, the source URL is always the same and it does not change.
Now take an example application with a title menu bar filled with the following buttons:
Home | Setup | Archive
And the source URL of the application accepts the following:
http:
At this point, when someone clicks the "Home" or "Settings" or "Archive" button, a certain view is displayed in the central area and the URL should change to
http://www.mydomain.com/webapp/[home|setup|archive]
So, if I click the "Settings" button, the following URL should be displayed in the address bar:
http:
In addition, the same page should be displayed if I enter the same URL into the address bar from a different URL.
But for now, my webapp still remains at http://www.mydomain.com/webapp 'showing the requested view. (For example, MyApp.view.Setup).
What is it: how can I develop a webapp (with ExtJS, MVC and Viewport) with URL navigation? Is it possible to do without embedding javascript / html code in another PHP / Ruby / Python / $ RANDOM_SERVER_LANGUAGE? (I want to split the client by server)
: API ExtJS. , .htaccess, .
, "", HTML .
?
.
Wilk