简体   繁体   English

KendoUI与Telerik架构差异

[英]KendoUI vs Telerik Architectural Difference

I am developing an ASP.Net web api application and using kendoUI for client side. 我正在开发一个ASP.Net web api应用程序并使用kendoUI作为客户端。 I found out this blog post which describes the differences of KendoUI and Telerik, but it does not reflect any architectural difference between these two. 我发现这篇博文描述了KendoUI和Telerik的不同之处,但它没有反映出这两者之间的任何架构差异。 Is there are big difference in these two UI frameworks in terms of there architecture which could result to performance differences? 这两个UI框架在架构方面是否存在很大差异,这可能会导致性能差异? I am curious to know the in depth difference and why Telerik team decided to come up with a new solution as KendoUI. 我很想知道深度差异以及为什么Telerik团队决定提出一个新的解决方案作为KendoUI。

Earlier we had what we called as Telerik Extensions for MVC. 早些时候,我们称之为Telerik Extensions for MVC。 The Telerik Extensions eased out some of the UI effort in that they would output HTML but for developers allowed to use some helpers to create common controls. Telerik Extensions减轻了一些UI工作量,因为它们会输出HTML,但开发人员允许使用一些帮助程序来创建通用控件。 For eg 例如

<%= Html.Telerik().Calendar()
            .Name("Calendar")
            .Value((DateTime)ViewData["selectedDate"])
            .MinDate((DateTime)ViewData["minDate"])
            .MaxDate((DateTime)ViewData["maxDate"])
            .TodayButton("d")
    %>

Above code would output a calendar ui control when rendered on the client side. 上面的代码将在客户端呈现时输出日历ui控件。 This is the basic fundamental of any server side dynamic content creation technology like ASP.NET, JSP, PHP etc etc. The client side HTML is actually spit out from the server when a request is made for the page. 这是任何服务器端动态内容创建技术(如ASP.NET,JSP,PHP等)的基本基础。客户端HTML实际上是在为页面发出请求时从服务器中吐出。

Now with Kendo UI which is a HTML5 and JavcaScript based UI controls library - makes it possible to initialize a bunch of UI controls on the client side without having to worry about the plumbing from the server side. 现在,使用基于HTML5和JavcaScript的UI控件库的Kendo UI,可以在客户端初始化一堆UI控件,而无需担心服务器端的管道。 If you use the Kendo UI Web controls you as a developer would initialize what we call as widgets on the client side and use AJAX to fetch lets say a JSON payload and bind it to the widget. 如果你使用Kendo UI Web控件,你作为开发人员会初始化我们在客户端调用的小部件,并使用AJAX来获取让我们说JSON有效负载并将其绑定到小部件。 for eg 例如

<div id="calendar"></div>
<script>
 $(document).ready(function() {
                    // create Calendar from div HTML element
                    $("#calendar").kendoCalendar();
                }); 
</script>

The above code will create a kendo calendar widget but its intialized on the client side. 上面的代码将创建一个kendo日历小部件,但它在客户端初始化。

We also have the Kendo UI Web for ASP,NET MVC Wrappers - meaning - a very similar wrapper to that of Telerim MVC extension exists for Kendo UI Web also. 我们还有用于ASP,NET MVC Wrappers的Kendo UI Web - 意思是 - 对于Kendo UI Web也存在与Telerim MVC扩展非常相似的包装。 for eg 例如

@(Html.Kendo().Grid<Product>()
    .Name("Grid")
    .DataSource(dataSource => dataSource
        .Ajax()
            .Read(read => read.Action("AjaxBinding_Read", "Grid"))
    )
)

Above code will output a kendo ui web grid when rendered on the client side. 上面的代码将在客户端呈现时输出一个kendo ui web网格。

I have tried to tell you the basic difference between the Telerik MVC extension and Kendo UI Web controls. 我试图告诉你Telerik MVC扩展和Kendo UI Web控件之间的基本区别。 We prefer you switch over to Kendo UI Controls as they follows the HTML5 standards and are also touch ready for portable devices too. 我们希望您切换到Kendo UI Controls,因为它们遵循HTML5标准,并且也可以为便携式设备做好准备。

Hope this answers your question. 希望这能回答你的问题。

Lohith (Tech Evangelist, Telerik India) Lohith(技术传播者,Telerik印度)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 架构风格和架构模式的区别 - Difference between architectural styles and architectural patterns 架构模式和架构风格有什么区别? - What's the difference between Architectural Patterns and Architectural Styles? 架构驱动因素/因素与架构重要要求之间有什么区别 - What is the difference between Architectural drivers/factors and architectural significant requirements 设计模式、架构模式、架构风格和架构之间有什么区别? - What's the difference between Design pattern, Architectural pattern, Architectural style, and Architecture? Angular 2与Angular 4与Angular 5之间的架构差异是什么? - What are the architectural differences between Angular 2 vs Angular 4 vs Angular 5? 隐式调用与 发布订阅架构模式 - Implicit Invocation Vs. Publish Subscribe Architectural Pattern 表数据网关和数据访问对象的体系结构差异 - table data gateway and data access object architectural difference web 应用程序架构和 web 应用程序架构设计之间有区别吗 - is there a difference between web app architecture and web app architectural design 架构视图,观点和视图之间有什么区别? - What’s the difference between Architectural views, viewpoints and views? 建筑反馈 - Architectural Feedback
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM