Twitter的引导和Angular.js之间的实际(或隐藏)差/秒 [英] The real (or hidden) difference/s between Twitter bootstrap and Angular.js

查看:134
本文介绍了Twitter的引导和Angular.js之间的实际(或隐藏)差/秒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚被比较这2前端框架,并从我可以告诉,他们似乎做同样的事情在提供开发用HTML,CSS和JS前端的条款。

I've just been comparing these 2 frontend frameworks and from what I can tell, they seem to do the exact same thing in terms of providing the dev with an HTML, CSS and JS frontend.

自举:更快,更容易的Web开发圆滑,直观,强大的前端框架。 (超过53 000主演在GitHub上)

Boostrap: Sleek, intuitive, and powerful front-end framework for faster and easier web development. (over 53 000 starred on GitHub)

Angular.js:AngularJS是动态的Web应用程序结构框架。 (12 000主演在GitHub上)

Angular.js: AngularJS is a structural framework for dynamic web apps. (12 000 starred on GitHub)

收视率意味着什么,但我只是想我把它放在那里,以显示这不是一些匆匆的问题,我没有研究。

The ratings mean nothing, but I just thought I'd put it in there to show that this isn't some 'quickie' question that I didn't research.

从什么我已经通过维基百科了解的角度,它的目的是完全前端设计/布局/ UI从后端分离 - 当数据库,Web服务器是哪里的业务逻辑发生

From what I've understood of Angular through wikipedia, it aims to completely separate the frontend design/layout/ui from the backend - where the database is, the web server is and where the business logic happens.

据我所知引导的(与JS),你可以做到这一点同样的事情。

From what I understand of bootstrap (with its JS) you can achieve this exact same thing.

角网站提到:

其他框架要么被抽象掉HTML,CSS和/或JavaScript,或者提供用于操作DOM势在必行的方式处理HTML的不足之处。这些都不解决HTML不是为动态视图问题的根源。

Other frameworks deal with HTML’s shortcomings by either abstracting away HTML, CSS, and/or JavaScript or by providing an imperative way for manipulating the DOM. Neither of these address the root problem that HTML was not designed for dynamic views.

现在我不知道如果他们在类似的骨干采取抨击或者甚至引导(如果你得到轻易冒犯,则忽略该项抨击注释),但对我来说,我只是不能做什么真正的和真正的差异有2间。

Now I'm not sure if they're taking potshots at something like backbone or maybe even bootstrap (and if you get offended easily, then ignore the potshots comment), but to me, I just can't make out what real and true differences there are between the 2.

也许有对DOM或其​​他一些分/微小的方面/ JS或HTML的,使2不同的S一些先进的信息,但我没有看到它。

Maybe there's some advanced info about the DOM or some other minute/tiny aspect/s of JS or HTML that make the 2 different, but I just don't see it.

PS。没有这样的问题SOF存在,也不做任何博客关于它说话(除非它被排在非常低的,不然我问了一个错误的方式)。

PS. No SOF question like this exists, nor do any blogs speak about it (unless it is ranked very low or I'm asking the wrong way).

我还发现,有些人是在引导方面的移植到角工作。

I also discovered that some people are working on porting over aspects of bootstrap to angular.

编辑:关于它的思考,我意识到,引导提供了调整大小不同的屏幕意见的选项,我不知道如果不棱角分明。如果不是,那是唯一的区别?

Thinking about it, I realized that bootstrap offers that resizing option for different screen views, I'm not sure if angular does. If not, is that the only difference?

推荐答案

引导并的AngularJS 是2个非常不同的框架。

Bootstrap and AngularJS are 2 very different frameworks.

从SO标签-信息

Twitter的引导

引导是从Twitter前端框架设计的kickstart
  web应用和网站的发展。除其他事项外,它包括基
  CSS和HTML的排版,图标,表格,按钮,表格,布局
  网格,用定制的jQuery插件和支持沿导航
  为响应布局。

Bootstrap is a front-end framework from Twitter designed to kickstart development of webapps and sites. Among other things, it includes base CSS and HTML for typography, icons, forms, buttons, tables, layout grids, navigation along with custom-built jQuery plug-ins and support for responsive layouts.

AngularJS

AngularJS是建设CRUD一个开源的JavaScript框架
  中心AJAX风格的Web应用程序。它的目标是垫片的浏览器
  以增大的HTML词汇与建筑物有用指令
  动态网络应用程序。

AngularJS is an open-source JavaScript framework for building CRUD centric AJAX style web applications. Its goal is to shim the browser to augment the HTML vocabulary with directives useful for building dynamic web-apps.

角船舶与添加2路数据绑定指令,DOM控制
  和展开,code-DOM背后,表单验证和深层链接。

Angular ships with directives which add 2-way databinding, DOM control and unrolling, code-behind DOM, form validation, and deep-linking.

据我了解自举(与JS),你可以做到这一点同样的事情。

没有同样的事情不能被引导来实现。 AngularJS为您提供了功能,如,2路数据绑定,深度链接,路由,过渡动画和很多很多。凡为引导提供基于定制的jQuery插件,很酷的样子和感觉,CSS类媒体查询等。
他们真棒一起作为角可以与其他库一起使用,。

No the same thing cannot be achieved by bootstrap. AngularJS gives you features like, 2-way data binding, deep linking, routing, transition animations and a lot lot more. Where as bootstrap provides custom jquery based plugins, cool look and feel, css classes for media queries etc. They are awesome together as angular can be used along with other libraries.

这篇关于Twitter的引导和Angular.js之间的实际(或隐藏)差/秒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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