如何角比JS JS淘汰赛更好或者我应该preFER角JS或JS Knocout? [英] How is Angular JS better than Knockout JS OR Should I prefer Angular JS or Knocout JS?

查看:204
本文介绍了如何角比JS JS淘汰赛更好或者我应该preFER角JS或JS Knocout?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • 哪一个是容易使用?

  • 什么是preference的特点在这两个?

  • 什么是两者的使用百分比?

  • 我们应该同时使用或任何人之前知道吗?


解决方案

这是根据您的需要。


  

有关驱动程序的数据。选择角度。随着它的漂亮数据绑定




  

两种溶液之间的根本区别在于AngularJS
  管理整个应用程序,并就如何界定的指南
  应用code要层次分明,而用KnockoutJS的
  应用程序的结构是完全取决于你。




  

敲除具有条目的一个低势垒,但也更难时管理
  code碱基和复杂性增加。这是不容易建立必要的
  基础设施正常运行,并且在构建code做出糟糕的决策
  可能要花很多在未来解决。




  

角的直接绑定到普通物体的能力,模块化
  结构,严格发展的指导方针prevent许多问题的权利
  从一开始,并为一个强烈的建筑基础
  应用程序。




  

敲除主要用于控制在较低的用户界面重新presentation
  复杂的应用程序,而角是一个JavaScript框架
  这对大型,复杂的企业应用更适合。
  它不仅提供了用户界面的结合,但也最佳实践
  应用架构,开发和测试。



更很少加入到这一点:


  1. 淘汰赛就像是重量轻角

  2. 淘汰赛没有路由,角有它。但是,如果你想
    使用路由在淘汰赛您可以使用Sammy.js /一个小型Web框架
    用类/ REST风格的事件触发的JavaScript

  3. 淘汰赛和角度有自动数据绑定

  4. 淘汰赛是.NET开发受欢迎,而角备份
    由谷歌角有服务,指令,淘汰赛没有

参考文献:

<一个href=\"https://www.devbridge.com/articles/angular-vs-knockout-similarities-and-fundamental-differences/\" rel=\"nofollow\">https://www.devbridge.com/articles/angular-vs-knockout-similarities-and-fundamental-differences/

<一个href=\"https://www.$c$cmentor.io/reactjs/tutorial/reactjs-vs-angular-js-performance-comparison-knockout\" rel=\"nofollow\">https://www.$c$cmentor.io/reactjs/tutorial/reactjs-vs-angular-js-performance-comparison-knockout

<一个href=\"http://stackoverflow.com/questions/19032249/angular-js-vs-knockout-js-vs-backbone-js\">Angular.js VS Knockout.js VS Backbone.js的

https://www.quora.com/How-做角JS-和淘汰赛比较

  • Which one is easy to use?
  • What are the features of preference in both?
  • What is the percent of usage of both?
  • What should we know before using both or anyone?

解决方案

That is based on your need.

For data driven app. Choose Angular. With it's nice data binding


The fundamental difference between the two solutions is that AngularJS manages the whole application and defines guidelines on how the application code should be structured, whereas with KnockoutJS the application structure is entirely up to you.


Knockout has a low barrier of entry, but is also harder to manage when code base and complexity grows. It is not easy to build the necessary infrastructure correctly, and poor decisions made in structuring code may cost a lot to fix in the future.


Angular’s ability to bind directly to plain objects, modular structure, and strict development guidelines prevent many issues right from the start, and provide a strong architectural foundation for the application.


Knockout is primarily used to control UI representation in lower complexity applications, whereas Angular is a JavaScript framework that is much better suited for large, complex enterprise applications. It provides not only UI binding, but also best practices for application structure, development and testing.


Few more added to this:

  1. Knockout is like light weight Angular
  2. Knockout doesn't have routing, Angular have it. But if you want to use routing in Knockout you may use Sammy.js / A Small Web Framework with Class / RESTFul Evented JavaScript
  3. Knockout and Angular have automatic data binding
  4. Knockout is popular in .net development, while Angular is backed up by Google Angular has service, directives, Knockout doesn't have

References :

https://www.devbridge.com/articles/angular-vs-knockout-similarities-and-fundamental-differences/

https://www.codementor.io/reactjs/tutorial/reactjs-vs-angular-js-performance-comparison-knockout

Angular.js vs Knockout.js vs Backbone.js

https://www.quora.com/How-do-Angular-js-and-Knockout-compare

这篇关于如何角比JS JS淘汰赛更好或者我应该preFER角JS或JS Knocout?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆