Hello, I've been thinking about how to develop a new web based app using AJAX, and after surfing the net looking for advice I've found information is a little sparse.
I would like to pick the communities brains, for a sophisticated web based application, is a single page, multi-page or hybrid* structure more efficient? The overall goal is maximum performance and minimum maintenance.
* Hybrid structure being a single page application which uses URL anchors as synthetic pages enabling more in build browser navigation and preference functionality.
For this particular project:
- SEO is not important
- Non-Visual Accessibility is not important - The app is visualisation of data
- Browser compatibility in browsers that do not support SVG is not important.
Here are the advantages and disadvantages as I see them as of this time (I'm sure I've missed a few things!), I would love the communities input and experiences around the issue:
[TABLE="class: grid, width: 1000, align: center"]
[TH]Single Page Layout[/TH]
- Content can be displayed instantly by using simple CSS functions to hide unwanted content, and show wanted content. All content is always ready for viewing, just most of it is hidden and sometimes being processed in the background.
- Could grow to be a page of inpractical size, but with higher bandwidths the norm, this seems to be becoming less relevant.
- Could grow a large number of event listeners
- Need to write functions to enable browsers to use forward-back button - more work plus bigger scope for bugs and browser compatability issues.
- Can't save particular page/view in browser favourites (As a bookmark)
[TH]Multi Page Layout[/TH]
- Can use in-built browser features for navigation (forwards, backwards, bookmark page etc)
- Only need to load HTML for the page if the user clicks on it to view it
- Need to load common html for every page request instead of just once
[TH]Hybrid Page Layout[/TH]
[TD]Same as Single Page Layout - Plus "can use in-built browser features for navigation (forwards, backwards, bookmark page etc)"[/TD]
[TD]Same as Single Page Layout - Minus "Can't save particular page/view in browser favourites (As a bookmark)"[/TD]
Thank you very much in advance for opinions and experiences.