In the site design and construction of this road has always been a balanced development. When the client is too weak, the server needs to do more, such as the development of our dynamic Web page. However, we gradually found that due to the increase in website traffic, the server has been overwhelmed, so now I have to do is try to put some things on the client to do.
This is the origin of JavaScript development.
With the popularity of the network, I would like to do on the Web page is no longer the point of a connection so simple.
There are also a lot of things to deal with when data on a Web page doesn't require additional data. Situations that require additional data can be obtained by means of Ajax. And then deal with it.
In doing so, we can do a lot of things on a page without requiring too many page requests. And there will be a good user experience. This can also be a good way to put the front desk and backstage perfect separation. Because JS is running in the browser, it can make full use of the client's resources, reduce the pressure on the server.
Humble humble opinion!
Javascript Learning Notes