结合 Knockout.js + KendoUI - 您的经历是什么?
所以我看到 KendoUI 包含了与 Knockout.js 集成的示例: http://demos.kendoui.com/web/integration/index.html
然而,这看起来是一个非常简单的例子。
根据这篇文章,看起来绑定到 Kendo 网格之类的东西会更加复杂: http://www.kendoui.com/forums/ui /grid/knockoutjs-example-for-grid.aspx
看起来他们也正在创建自己的 MVVM 实现来尝试解决问题。
这里有人使用 KendoUI 和 Knockout.js 来开发一些使用一些更复杂组件的重要应用程序吗?
So I see that KendoUI has included an example of integration with Knockout.js:
http://demos.kendoui.com/web/integration/index.html
However, this looks like a pretty trivial example.
According to this post, it looks like binding to something like Kendo's grid would be much more involved:
http://www.kendoui.com/forums/ui/grid/knockoutjs-example-for-grid.aspx
It also looks as if they are creating their own MVVM implementation to try and solve the issues.
Has anyone here used KendoUI and Knockout.js for non-trivial apps using some of the more complex components?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我一直在研究如何整合 KO 和剑道。我对 Telerik 的员工怀有最大的敬意,他们制造了很棒的产品。我期待剑道能带来伟大的事情。这个时候,整合KO和剑道就不是那么简单了。例如,他们在 Kendo 网站上的 KO 示例本身就有一个错误。这个标题在哪里? Kendo 团队正在考虑一些关于如何更好地与 KO 集成的选项……我“认为”他们的关键是挂钩 KO 的订阅,以便在发生更改时可以通知 Kendo。实现此目的的一种方法是 Kendo 为其控制套件创建 KO 绑定处理程序。事实上,这确实有效,但显然他们必须花时间进行开发、测试和支持。所以我不知道他们是否会这样做。
我很乐意详细说明集成问题,但如果您不愿意,我也不想陷入困境:)
Kendo 正在研究他们自己的 MVVM 解决方案的一些想法。我们的想法是拥有一个可与 Kendo 或任何其他 javascript 库配合使用的 MVVM 解决方案。我期待看到他们的想法。
目前的最终结果是,我并没有尝试亲自整合这两个套件。我已经向 Kendo 捐了 2 美分,请求他们支持 KO 整合。我鼓励您也这样做:)
我希望这会有所帮助。
I've been doing a lot of research into integrating KO and Kendo. I have the utmost respect for the folks at Telerik and they make great products. I expect great things from Kendo. At this time, integrating KO and Kendo is not straightforward. For example, their KO example on the Kendo web site itself has a bug in it. Where is this heading? The Kendo team is considering some options on how to integrate better with KO ... what I "think" they key would be is to hook into KO's subscriptions so Kendo can be notified when changes occur. One way to do this is for Kendo to create KO binding handlers for their control suite. In fact, this does work, but its obviously something they have to put time to dev, test, and support . So I don;t know if they will or wont do that.
I'm happy to elaborate on the integration issues, but I dont want to go down a rabbit hole if you dont want to :)
Kendo is working on some ideas for an MVVM solution of their own. The idea would be to have an MVVM solution that works with Kendo or any other javascript library. I look forward to seeing what they come up with.
The net result is for now, i am not trying to integrate the 2 suites personally. I've chimed in with my 2 cents to Kendo to ask them to support KO integration. I encourage you to do so too :)
I hope this helps.
以防万一您错过了,我想提请您注意一个非常有趣的项目,名为 Knockout-Kendo.js(位于 http://rniemeyer.github.com/knockout-kendo/),其中“...为 Kendo UI 创建了一组完整且强大的 Knockout.js 绑定小部件...”
这个项目在“KendoUI Day”上被提及;尽管就在同一天,他们演示了新的 MVVM 库;我真的很喜欢淘汰赛,我希望他们能更多地致力于集成而不是创建自己的库。
无论如何,我希望这有帮助,
-科沃
Just in cased you missed it, I wanted to bring to your attention a very interesting project on the works called Knockout-Kendo.js (at http://rniemeyer.github.com/knockout-kendo/), which "... creates a complete and robust set of Knockout.js bindings for the Kendo UI widgets..."
This project was mentioned on "KendoUI Day"; although that was the same day they demoed their new MVVM library; I really like knockout, I wish they would have worked more on integration than on creating their own library.
Anyways, I hope this helps,
-Covo