是否有可能使用AngularJS ExtJS的组件? [英] Is it possible to use ExtJS components in AngularJS?

查看:146
本文介绍了是否有可能使用AngularJS ExtJS的组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很喜欢学习使用AngularJS。现在我正在寻找我的组件可以使用它。我一直在看角UI组件,但我想知道是否有可能在ExtJS的使用美观大方,增压组件。有没有人有这样的经历?任何提示或提示,或角指令库?

I'm really enjoying learning to use AngularJS. Now I'm looking for components I can use with it. I've been looking at Angular-UI components but I'd like to know if it's possible to use the nice, supercharged components in ExtJS. Does anyone have experience with this? Any hints or tips or Angular directive libraries?

推荐答案

我所在的公司正在作出类似的举动工作。我们目前严重依赖于外部的较旧版本(3.X),并升级到最新的功夫(5.0)版本至少等于移动到角所需的工作。

The company I work for is making a similar move. We currently rely heavily on an older version (3.x) of Ext, and the effort to upgrade to the current (5.0) version is at least equal to the effort required to move to angular.

要回答这个问题(据我所知有限):

它们可以在相同的JS应用共存。

They can exist together in the same JS application.

您可以使用ExtJS的的UI元素与角?

您可以通过在内线中的HTML模板标记的控制把棱角分明。

You can put angular in control of markup via HTML templates in Ext.

这是一个明智的想法?

大概没有。

为什么我会考虑这样做?


  1. 我需要在标记绝对的控制权,并不在乎可能页面加载问题

  1. I need absolute control over the markup and don't care about possible page load issues

我需要序列化或反序列化在一些特殊的方式,外部没有天生提供

I need to serialize or de-serialize in some special way that Ext doesn't innately provide

我需要做一些特别喜欢的pub / sub(还是完全可能与EXT)

I need to do something special like pub/sub (still totally possible with Ext)

在我们的情况下,它是概念的几个模态的证明。如果我有偏见,我偏向于ExtJS的方向(这是给我的背景巨大的语句)。多接触我有内线,更多的我个人喜欢它。我用几个框架在过去像灰烬,骨干,KnockoutJs和AngularJs,他们是已经达到成熟水平,使他们很好的选择优秀的工具。这就是说,他们不遵循同样的发展模式/模式的ExtJS的做了,我不认为一个比较直接的是公平的两侧。

In our case, it is a proof of concept for a few modals. If I am biased, I am biased in the direction of ExtJs (which is a huge statement given my background). The more exposure I have to Ext, the more I personally like it. I've used several frameworks in the past like Ember, Backbone, KnockoutJs and AngularJs and they are excellent tools that are reaching a level of maturity that makes them excellent choices. That said, they don't follow the same development model/pattern that ExtJs does, and I don't think a direct compare is fair to either side.

这将是几乎像内线比较节点(傻了,我知道)。

It would be almost like comparing Ext to Node (silly, I know).

如果你的项目需要一些特殊的功能,你不相信是外部可能的,你可能和我一样,限制了它的经验。如果你有很多的经验与分机,并且想尝试什么,我们正在努力,我说去了。分机的单倒台是传递内置包的大小。另一个小框架没有什么帮助的,但它也不会造成更多的痛苦。

If your project requires some special functionality that you don't believe is possible in Ext, you are probably like me and have limited experience with it. If you have a lot of experience with Ext, and want to try what we are trying, I say go for it. The single downfall of Ext is the size of the built package that is delivered. Another small framework isn't going to help that, but it also isn't going to cause more pain.

在最后,对我来说,我只是喜欢JS和扩大我的事情是如何工作的知识,现在和将来。

In the end, for me, I just love JS and expanding my knowledge of how things work now and in the future.

对于上面问的牵引力不足的内线职位:答案很简单......它不是免费的,因此不会对我们许多人谁不编写适合将与授权商业软件的选项。

For the post above asking about the lack of traction for Ext: the answer is simple... it's not free, and thus not an option for many of us who aren't writing commercial software that fits will with the license.

这篇关于是否有可能使用AngularJS ExtJS的组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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