且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

创建无需加载即可加载内容的现代网站

更新时间:2023-12-05 20:22:58

tl;dr:谷歌搜索 ajax网站教程 AJAX .

但是,单独的AJAX并不是答案. 对于非页面重新加载站点而言,这是至关重要的,但是还有很多其他事情要考虑.

幸运的是,我们的互联网非常棒,许多开发人员都拥有开源真棒的心态.

可以说,这种类型的站点以前已经完成过,并且那里的人们使开发这样的站点变得更加容易.

忽略后端&服务器端设置,我建议启动这样的网站的方法是使用以下内容:

从一开始就使用插件;根据经验,完成网站后很难实施.

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:

Use the plugin from the start; from experience, it's difficult to implement it after you've completed the site.