twitter-bootstrap 针对 Asp.Net MVC 应用程序的 KendoUI 与 Jquery/Bootstrap 设计决策
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20255463/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
KendoUI vs Jquery/Bootstrap Design decision for Asp.Net MVC application
提问by JenonD
I am in the process of evaluating the above technologies for a new ASP.Net MVC4 web site. We would like to have a responsive web site to support desktop and mobiles.
我正在为一个新的 ASP.Net MVC4 网站评估上述技术。我们希望有一个响应式网站来支持桌面和移动设备。
KendoUI
剑道UI
I am not sure whether the existing MVC controls are responsive. There are different set of controls for mobiles. Does it mean i need to maintain 2 projects for Desktop and Mobile?
我不确定现有的 MVC 控件是否响应。手机有不同的控件集。这是否意味着我需要为桌面和移动维护 2 个项目?
Our company has already purchased KendoUI (for some other project)
我们公司已经购买了KendoUI(用于其他项目)
Jquery/Bootstrap
Jquery/引导程序
As most of the Bootstrap controls are responsive, it looks like a better candidate for us and it is free
由于大多数 Bootstrap 控件都是响应式的,它看起来更适合我们,而且它是免费的
I have some experience with Bootstrap resposnsive web sites and I know sometimes it could be a pain to overwrite styles with media queries. Can we do the same with KendoUI? Does it need the same amount of effort as per Bootstrap?
我对 Bootstrap 响应式网站有一些经验,我知道有时用媒体查询覆盖样式可能会很痛苦。我们可以用 KendoUI 做同样的事情吗?它是否需要与 Bootstrap 相同的工作量?
If anyone has any prior experience with KendoUI for a responsive web site please share..
如果有人之前有任何使用 KendoUI 的响应式网站经验,请分享..
Edit
编辑
When i browse the responsive DEMOs of KendoUI site it gave me below message.
当我浏览 KendoUI 站点的响应式演示时,它给了我以下消息。
Kendo UI Mobileis fully supported only in WebKit based browsers and IE10. Please use a compatible desktop browser or open the examples in a mobile WebKit based browser or Windows Phone.
只有基于 WebKit 的浏览器和 IE10 才完全支持 Kendo UI Mobile。请使用兼容的桌面浏览器或在基于移动 WebKit 的浏览器或 Windows Phone 中打开示例。
Does it mean if I create the site with KendoUI responsive controls, it will not work in IE9 and Firfox (is not WebKit based) ?
这是否意味着如果我使用 KendoUI 响应控件创建站点,它将无法在 IE9 和 Firfox(不是基于 WebKit 的)中工作?
回答by paulo.vin
Well, why not both?
好吧,为什么不能两者兼而有之?
There is this 2012 KendoUI blog postshowing both frameworks working really well together. I'm still learning both tools, but I intend to use a similar approach.
有这2012 KendoUI博客帖子显示这两个框架的工作真的很好。我仍在学习这两种工具,但我打算使用类似的方法。
Hope that helps.
希望有帮助。
回答by Matt Millican
As of the 2013 Q3 release, Kendo UI has integrated with Bootstrap 3 as well as make some of their controls (ie, Grid) mobile friendly. So I would say use both!
到 2013 年第三季度发布时,Kendo UI 已与 Bootstrap 3 集成,并使它们的一些控件(即网格)对移动设备友好。所以我会说两者都用!
You can read more about the release on their blog here: http://www.kendoui.com/blogs/teamblog/posts/13-11-20/new-in-kendo-ui-q3-2013.aspx
你可以在他们的博客上阅读更多关于这个版本的信息:http: //www.kendoui.com/blogs/teamblog/posts/13-11-20/new-in-kendo-ui-q3-2013.aspx
and play with a demo of the Bootstrap integration here: http://demos.kendoui.com/bootstrap/(be sure to check it out on a mobile device).
并在此处演示 Bootstrap 集成:http: //demos.kendoui.com/bootstrap/(务必在移动设备上查看)。
Also, as far as I know, Kendo still works with IE 9+ (maybe 8 to an extent also) and with Firefox.
此外,据我所知,Kendo 仍然适用于 IE 9+(在某种程度上也可能是 8)和 Firefox。
回答by JenonD
Thanks @mmillican and @paulo.vin for the answers. This is what we end up with. I know KendoUI guys is not going to like this, but it is what it is..
感谢@mmillican 和@paulo.vin 的回答。这就是我们最终的结果。我知道 KendoUI 的人不会喜欢这个,但它就是这样..
Found using bootstrap is very convenient. We dont have a dedicated UI designer, so designing the site was very easy with the bootstrap. And also its javascript controls are very good. And it supports IE8 as well.
Installed the latest KendoUI and tried to use the grid control. Unfortunately it was a big pain to get it working according to the way want it. Mainly, with styling. So I have to get rid of it moved all the grids to DataTables.netwhich is one of the best javascript based grid control. I can certainly recommend it.
At the end of the day I got only the Kendo Date picker in my project.
发现用bootstrap很方便。我们没有专门的 UI 设计师,因此使用引导程序设计网站非常容易。而且它的javascript控件也非常好。它也支持IE8。
安装了最新的KendoUI并尝试使用网格控件。不幸的是,让它按照想要的方式工作是一件很痛苦的事情。主要是造型方面。所以我必须摆脱它,将所有网格移动到DataTables.net,这是最好的基于 javascript 的网格控件之一。我当然可以推荐它。
在一天结束时,我的项目中只有 Kendo Date 选择器。
Personally i think it is still not the best time to try blending both in one project. Considering the cost, it is best to go for Bootstrap and other freely available components. But if your organisation has already invest in Kendo, make sure you have a proper training from a Kendo expert, otherwise it will be lot of time consuming to fix those small issues like changing background color, width of a column, etc.
就我个人而言,我认为现在还不是尝试将两者混合在一个项目中的最佳时机。考虑到成本,最好使用 Bootstrap 和其他免费提供的组件。但是,如果您的组织已经投资了 Kendo,请确保您接受过 Kendo 专家的适当培训,否则修复这些小问题(例如更改背景颜色、列宽等)将耗费大量时间。

