创建无需加载即可加载内容的现代网站 [英] Create modern website that loads content without refresh
问题描述
我正在尝试找到有关如何创建无需加载页面即可加载内容的现代网站的有用教程.
我在Google中尝试过各种单词,但没有获得任何有用的匹配.也许是因为我不确定应该搜索什么.
提示和指向教程的链接将不胜感激!
谢谢!
幸运的是,我们的互联网非常棒,许多开发人员都拥有开源真棒的心态.
可以说,这种类型的站点以前已经完成过,并且那里的人们使开发这样的站点变得更加容易.
忽略后端&服务器端设置,我建议启动这样的网站的方法是使用以下内容:
从一开始就使用插件;根据经验,完成网站后很难实施.
I'm trying to find useful tutorials about how to create modern websites that loads content without refreshing the page.
I have tried all kinds of words in Google, but I don't get any useful hits. Perhaps it's because I'm not sure what I should be searching for.
Tips and links to tutorials would be appreciated!
Thanks!
tl;dr:
Googling ajax website tutorial or jquery address tutorial is a good start.
As has been noted, the key here is AJAX.
AJAX alone, however, is not the answer. It's pivotal to a non-page-reload site, but there are also a lot of other things to consider.
Luckily for us all, the Internet is great, and lots of developers have an open-source is awesome mindset.
Suffice to say, this type of site has been done before, and there are people out there who have made developing a site like this easier.
Ignoring the back-end & server-side setup, the way I would recommend starting a site like this is to use the following:
- HTML5 BoilerPlate
- jQuery
- jQuery Address plugin.
Use the plugin from the start; from experience, it's difficult to implement it after you've completed the site.
这篇关于创建无需加载即可加载内容的现代网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!