结合Knockout.js + KendoUI-您的经验是什么? [英] Combining Knockout.js + KendoUI - What has been your experience?

查看:92
本文介绍了结合Knockout.js + KendoUI-您的经验是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我看到KendoUI包含了一个与Knockout.js集成的示例: http://demos.kendoui.c​​om/web/integration/index.html

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.

根据这篇文章,看起来像绑定到Kendo的网格之类的东西会更加复杂: http://www.kendoui.c​​om/forums/ui /grid/knockoutjs-example-for-grid.aspx

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

似乎他们正在创建自己的MVVM实现来尝试解决问题.

It also looks as if they are creating their own MVVM implementation to try and solve the issues.

这里有人使用一些更复杂的组件将KendoUI和Knockout.js用于非平凡的应用程序吗?

Has anyone here used KendoUI and Knockout.js for non-trivial apps using some of the more complex components?

推荐答案

我一直在研究如何整合KO和Kendo.我对Telerik的员工表示最大的敬意,他们创造了很棒的产品.我希望剑道能为您提供出色的服务.目前,将KO和Kendo集成起来并不是一件容易的事.例如,他们在Kendo网站上的KO示例本身就有一个错误.标题在哪里? Kendo团队正在考虑如何与KO更好地集成的一些选择...我认为"他们关键是要挂接到KO的订阅,以便在发生更改时可以通知Kendo.一种方法是Kendo为其控件套件创建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正在研究自己的MVVM解决方案的一些想法.这个想法是要有一个与Kendo或任何其他javascript库一起使用的MVVM解决方案.我期待看到他们的想法.

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.

目前的最终结果是,我不是要亲自集成这两个套件.我已将2美分的费用分配给剑道,要求他们支持KO集成.我也鼓励您这样做:)

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 :)

我希望这会有所帮助.

这篇关于结合Knockout.js + KendoUI-您的经验是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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