Product Reviews

Creating JavaScript UIs with the New Telerik HTML5 Framework

The Telerik Kendo UI framework for HTML5 apps is an excellent product. But even if you like it, should you buy a set of jQuery plug-ins that you can assemble together for free?

Kendo UI is a set of jQuery plug-ins from Telerik Inc. that includes about a dozen UI widgets and the essential controls for data binding: a data source, a grid, a chart and templating support. Numerous free jQuery plug-ins provide similar functionality. Should you adopt a package from a major tools vendor when you can assemble a similar set of tools for free?

The keyword here is "similar." Telerik is counting on the benefits that come from having a "complete solution" from a major tools vendor to outweigh your natural stinginess: ease of acquisition, better support, better integration between tools, better performance, faster evolution to new standards and support for data visualization (Kendo UI DataViz) -- and, soon, mobile devices (Kendo UI Mobile, currently in beta).

HTML5 Framework
By and large, Telerik delivers. Kendo UI supports many of the HTML5 technologies (its chart, for instance, makes extensive support of the HTML5 Canvas). And -- here's that "complete solution" rubric -- Telerik claims that the Kendo UI HTML5-based functionality will degrade gracefully when used in a browser that doesn't support HTML5.While I could write the code to handle older browsers myself, I appreciate a package that takes care of it for me. On mobile devices, the Kendo UI widgets come very close to looking like the native controls.


[Click on image for larger view.]
Figure 1. Less than a dozen lines of JavaScript created the DataSource, the chart and the grid to display data retrieved from a WCF Web service.

Productivity also matters and, compared to other jQuery tools I've worked with, Kendo UI makes it easier to connect to a Windows Communication Foundation (WCF) service, among other benefits. After instantiating the Kendo UI data source, I only had to provide the URL to my service method to retrieve JSON objects, like so:

varremoteDataSource = new kendo.data.DataSource({
 transport: {read: {url: "Nwind.svc/GetCustData"}}});

However, the data control also reveals the issues that Telerik faces: I'm eager to incorporate WebSockets into my service-oriented architecture, but the Kendo UI data source doesn't support the technology and WebSockets isn't listed as an upcoming feature. So, if I want a WebSocket plug-in right now, I'll have to go elsewhere … and I can. Furthermore, I can get the plug-in for free (there's even a jQuery WebSocket plug-in that degrades gracefully when used in a browser that doesn't support WebSockets).

The Kendo UI package isn't just plug-ins. Telerik provides ThemeBuilder for customizing the appearance of Kendo UI widgets (including modifying the included Kendo UI stylesheets to match your organization's stylesheets). Telerik also provides a Content Delivery Network that you can download the libraries from instead of holding them on your site. To use Kendo UI, you can download just one library and two stylesheets or, based on the Telerik documentation, select just the libraries you need for the controls you're using and reduce the number of bytes transferred to the browser.

Kendo UI is a great package and it's also a convenience. If the price for a per-developer commercial license seems too high for you, you can invest some sweat equity and put together a similar package on your own. It's your choice.

Kendo UI

Telerik Inc.
Web:
kendoui.com
Phone: 1-888-365-2779
Price: Free for GPLv3-compatible open source projects; $399 per year per developer subscription and support option
Quick Facts: A jQuery library including a dozen UI widgets, a DataSource, a chart, a grid and support for templating
Pros: Well-written, well-integrated package that leverages several HTML5 technologies
Cons: Equivalent, unsupported (free!) packages exist if you're willing to do more of the work yourself



About the Author

Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube