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

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).

主站蜘蛛池模板: 五莲县| 盘锦市| 浠水县| 从江县| 建平县| 桑日县| 桦川县| 云阳县| 庄河市| 邵阳县| 天镇县| 南投县| 泰宁县| 东莞市| 呈贡县| 塔城市| 乌什县| 海伦市| 固安县| 南召县| 安西县| 临洮县| 玉门市| 定结县| 雷州市| 新田县| 陇川县| 麦盖提县| 昭平县| 莲花县| 枣庄市| 永嘉县| 迁安市| 甘泉县| 东兴市| 建始县| 常熟市| 梓潼县| 南投市| 绩溪县| 交城县|