How does this site not load as it goes to another page? [closed]
If you go to this site and navigate, you'll notice there is no load between pages. Everything is smooth. I am not sure how this is done. Can someone explain it to me?
Since the site doesn't even load with NoScript on, my first guess it heavy JavaScript use. However, browsing the page, no actual http requests are made for it to qualify as AJAX. Profiling the JS actions when switching pages, you can quickly find links to their core JS files
http://www.hugoandmarie.com/includes/backbone/controllers.js
http://www.hugoandmarie.com/includes/backbone/views.js
It would appear they're using a JavaScript-recreating-DOM MVC architecture.
You do that by loading your content into JavaScript and then using the DOM functions to write the content into the page.
its crawlable ajax, this may provide some insight into it.
http://code.google.com/web/ajaxcrawling/docs/getting-started.html
i disagree with jeremy. Zend's files may load quickly, but it doesn't mean they don't have to be loaded or that there is no load time. like gnur said, it's done with ajax or javascript DOM. Ajax can use javascript to add dynamic content to the page by accessing server files and loading new information into the html without having to load a whole new page.
精彩评论