[TYPO3-dev] Complete TYPO3 Website with just AJAX / anchor calls? No real page reloads.
Jan-Hendrik Heuing
jh2010 at ivi-solutions.com
Wed Jul 13 22:55:10 CEST 2011
Moin!
www.ivi-solutions.com does it also.
The good thing in this solution is that on the server side, there is not
much magic. We're using the same page. So actually the page is sent
fully, and the client decides which parts to update. Depending on a
schema type shared between the old and the new page, it decides which
parts to update.
All we did on the TYPO3 side is to tell it which links to ajaxify (via
class="ajax". The rest is done by jQuery.
The page reload looks a lot faster, and only the html page itself is
loaded. We figured out that it's not worth compiling only part for the
content, as the loading is fast enough anyway. As it's only one file
being updated, there is not much to load also (first byte optimization
etc...)
Jan-Hendrik
Am 11.07.11 13:49, schrieb Jochen Rieger:
> Hi all,
>
> due to a (in my opinion rather undesireable) customer request I have to
> figure out, if it's somehow possible to set up a TYPO3 website that
> won't have any page reloads - at least for normal content pages.
>
> In general, of cause, there is the possibility to use anchor links [1]
> or the facebook #!-way [2].
>
> What would you say? Is it too hard to set up TYPO3 to produce such
> anchor links wherever a link is to be generated (TMENU,
> $this->cObj->typoLink, $this->pi_linkTP, etc.)?
>
> The reason for all this hazzle is a music player that should continue to
> play music while clicking through the website contents. Pop up Player /
> frames are not an option.
>
> Anyone out there who has done something similar? Experiences?
>
> Best regards,
> Jochen
>
> [1]
> http://www.springload.co.nz/love-the-web/making-ajax-calls-bookmark-able-and-linkable/
>
> [2] http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content
More information about the TYPO3-dev
mailing list