Product Reviews

Client-Side Data Management with NetAdvantage for jQuery

Infragistics provides a toolkit for creating data-driven applications using client-side code that accesses a variety of data sources, both in the page and back on the client.

The primary focus of NetAdvantage for jQuery is a set of extensions to the open source JavaScript library for creating data-driven applications that can access data on the server (through services) or embedded in the page. But, in some ways, NetAdvantage for jQuery is an odd package. Infragistics has included several non-client, .NET, server-side resources: libraries for managing XPS and PDF documents and for working with both Word and Excel files. Other components that go beyond jQuery are a better fit for the product's title -- namely, a set of ASP.NET MVC helpers to facilitate generating client-side code for jQuery extensions, and the necessary libraries to integrate the extensions into ASP.NET MVC applications.

But what a developer is looking for in a client-side jQuery package are JavaScript libraries that extend jQuery. Here, the jewel in the crown is the Infragistics igDataSource control. The igDataSource, similar to the ASP.NET DataSources, makes a variety of data look alike. With the igDataSource, you can retrieve data from Web Services (returning JSON or XML), RESTful services, arrays, HTML tables and most of the client-side objects holding data that you'd want to display. This flexibility lets you create pages that combine a variety of data sources into a single display. The igDataSource can cache data locally so that you can provide filtering and sorting at the client. A simple call to the igDataSource SaveChanges method pushes changes back to the data source (where the data source supports updating).

While the igDataSource is the key part of the package, jQuery for NetAdvantage also includes almost a dozen editing controls, including a grid, a text editor, a date editor and a date picker, an upload control and a video player. The controls will be familiar to anyone used to working with jQuery UI Widgets. Styling support is based on the jQuery UI CSS Framework and can use themes generated by the jQueryThemeRoller tool. The package also includes support for accessibility and internationalization.


[Click on image for larger view.]
Creating a Grid: In this simple page, the drop-down list is loaded from the server, but when the user selects an entry the grid is loaded from client-side code using the igDataSource and igGrid.

Installation was easy: I just downloaded the package from the Infragistics site and ran the installerEXE file to install everything. If you'd prefer not to add the Infragistics JavaScript libraries to your application, you can use the company's Content Delivery Network.

No documentation is installed on your computer or integrated into the Visual Studio help system. You'll find a link to documentation in your Windows Start menu (once you drill down far enough) that leads to the general introduction to all of the Infragistics help and related resources. After finding the help for the package, you'll want to add two bookmarks to your browser: one for the developer's guide and another to the API documentation. Several demos are included in the download, but for direction on using them with ASP.NET MVC, ADO.NET Data Services or Windows Communication Foundation .svc files in an ASP.NET application, you'll need to visit the Infragistics Web site. Infragistics provides a trial download so that you can make sure you're comfortable working with the package before buying it.

NetAdvantage for jQuery

Infragistics Inc.
Web: Infragistics.com
Phone: 800-231-8588
Price: $995; $1,495 with Priority Support
Quick Facts: A set of JavaScript libraries that includes a dozen jQuery extensions aimed at managing data
Pros: Includes a client-side data source manager, a grid and a range of editors for accepting data
Cons: Help support not well integrated



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