加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

AngularJS学习:AngularJS的甜蜜点

发布时间:2020-12-17 09:22:22 所属栏目:安全 来源:网络整理
导读:原文位置:https://docs.angularjs.org/guide/introduction 。 AngularJS's sweet spot AngularJS simplifies applicationdevelopment by presenting a higher level of abstraction to the developer. Likeany abstraction,it comes at a cost of flexibili

原文位置:https://docs.angularjs.org/guide/introduction

AngularJS's sweet spot

AngularJS simplifies applicationdevelopment by presenting a higher level of abstraction to the developer. Likeany abstraction,it comes at a cost of flexibility. In other words,not everyapp is a good fit for AngularJS. AngularJS was built with the CRUD applicationin mind. Luckily CRUD applications represent the majority of web applications.To understand what AngularJS is good at,though,it helps to understand when anapp is not a good fit for AngularJS. Games and GUI editors are examples ofapplications with intensive and tricky DOM manipulation. These kinds of appsare different from CRUD apps,and as a result are probably not a good fit forAngularJS. In these cases it may be better to use a library with a lower levelof abstraction,such as jQuery.

AngularJS的甜蜜点

AngularJS通过向开发人员呈现更高级别的抽象来简化应用程序开发。像任何抽象一样,它具有灵活性。换句话说,并不是每个应用程序都适合AngularJS。 AngularJS是用CRUD应用程序构建的。幸运的是,CRUD应用程序代表了大多数Web应用程序。了解了AngularJS的优点,同时,我们也了解了什么时候应用程序不适合AngularJS。 游戏和GUI编辑器是具有强化和棘手DOM操作的应用程序的示例。这些应用程序与CRUD应用程序不同,因此可能不适合AngularJS。在这些情况下,最好使用较低抽象级别的库,如jQuery。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读