AngularJS学习:AngularJS的甜蜜点

JavaScript 专栏收录该内容
29 篇文章 0 订阅

原文位置: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。

 

  • 0
    点赞
  • 0
    评论
  • 0
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

©️2021 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值