官术网_书友最值得收藏!

Rise of REST API with Single Page Applications

You need to understand why Single Page Applications (SPA) are the hot topic today. Instead of building the UI in a traditional way (request web pages), these SPA designs make developers write code in a totally different way. There are many MVC frameworks, like AngularJS, Angular2, React JS, Knockout JS, Aurelia, and so on, to develop web UIs rapidly, but the essence of each of them is pretty simple. All MVC frameworks help us to implement one design pattern. That design pattern is No requesting of web pages, only REST API.

The modern web frontend development has advanced a lot since 2010. In order to exploit the features of Model-View-Controller (MVC) architecture, we need to consider the frontend as a separate entity which talks to the backend only using the REST API (most preferably, REST JSON).

主站蜘蛛池模板: 八宿县| 德庆县| 翼城县| 曲沃县| 九台市| 嘉荫县| 醴陵市| 安徽省| 当涂县| 正镶白旗| 马鞍山市| 怀宁县| 台南县| 盐津县| 云安县| 福鼎市| 定陶县| 庆安县| 秦安县| 宜春市| 伊金霍洛旗| 聂拉木县| 开封县| 罗江县| 资溪县| 万山特区| 莒南县| 旬邑县| 陇西县| 乌兰浩特市| 巴东县| 建始县| 类乌齐县| 襄垣县| 九江市| 江门市| 安康市| 乐都县| 乐至县| 高阳县| 通河县|