Loading all pages with AJAX
PermalinkI doubt this would significantly improve performance however it would improve user experience especially on slower and mobile browsers.
However, the real reason I would find it so beneficial is to be able to run continuous JavaScript in the background. For instance I have built this websitehttp://www.colchesterjazzclub.co.uk... - which has background music implemented using HTML5 Audio (3 separate tracks triggered using the header images), however the whole thing resets every time the user changes pages, which makes it largely pointless.
All solutions to this problem involve rewriting large parts of the CMS, and it is not good to see a CMS that prides itself on not limiting the designers imagination to fall short on a point like this which I'm sure will become more poignant over time.
The add-on looks good but I don't have budget for that, especially when I can't make sure it works with my site!
Yes, that's a bit "hacky" but would give you a workaround for the problem.
But, some kind of ajax framework would probably work better in your case, whether it is self-written or one of the suggested ones.
-Antti
This can be achieved e.g. with this add-on:
http://www.concrete5.org/marketplace/addons/rapid-ajax-paging/...
Or, by writing a few lines of code and your own tool that will pass the correct area's content dynamically to the javascript.
I did like a year ago a similar music site project and the music player request came late in that project. I didn't want to write a lot again, so I by-passed the issue by letting the users open a small popup-window for the music player so that the music keeps on playing when they change pages. If you're interested seeing that in action, just throw me with a PM.
- Antti