What is the right way of Architecture ExtJS 5 for Single page web applications.
- Is ExtJS good for "single page web applications(SPA)"? where we don't have multiple markup pages to refer different JS files to different urls. or rather, how best we can use ExtJS in SPA?
- In detail: In www.domain/home.html I can refer
tab.js
that will load a tab layout, then user clicks on "about us" link, that will load a www.domain/about.html, here I referaboutTree.js
that will load tree widget on left panel. This looks easy. I can create a new JS file that will have a full store, model, OnReady() as shown in sencha document examples.
- In detail: In www.domain/home.html I can refer
- How is Sencha ExtJS mainly used by most of its customers? as just widgets at some sections of their applications, or the whole application is drove by Sencha ExtJS?
- Can a full web application be driven by only ExtJS? I attempted one example for Sencha Touch for a mobile site, that can navigate to new pages with a single Url (Example: Sencha Fiddle or Practice Site). But is this possible for Web applications? Is there any sample that I can refer to how to navigate between pages using only Sencha ExtJS.
- Friendly URLs: If I follow this structured I attempted for mobile site "Practice Site" (only about and home links are handled) all pages in my site will always have
/mobile.html
url, how would I make it such a way it can have friendly urls, like/about, /contact
and so on?
There is similar question on SO here ExtJS Architecture for Multi Page Application, but focusing on different concerns.