Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Kendo UI and JavaScript SDK Offline Modes: Differences

Kendo UI and JavaScript SDK Offline Modes: Differences

Because both Kendo UI and the Backend Services JavaScript SDK support offline mode, it can be confusing as to what each of them does and when to use it.

It's important to note that the Kendo UI and the Backend Services JavaScript SDK offline modes are not designed to work together.

Kendo UI is a JavaScript library that can be used with various data sources, including Telerik Platform, through its DataSource and HierarchicalDataSorce components. As such, the Kendo UI offline mode is designed to help Kendo UI work offline regardless of the data source. However, it is much more feature-limited compared to the JavaScript SDK offline mode. It does not support:

  • Conflict resolution strategies
  • File system storage
  • Data encryption
  • Custom error handling
  • Sync events for UI integration

In addition, if you are using Kendo UI to access data stored in Telerik Platform, you will not be able to:

  • Handle system fields in offline mode (CreatedAt, CreatedBy, ModifiedAt, etc.)
  • Integrate with Telerik Platform authentication

In contrast, the Backend Services JavaScript SDK offline mode is designed to only work with Telerik Platform as a data source. In return, you get all the features that Kendo UI does not support.

You can still combine Kendo UI with the Backend Services JavaScript SDK applying the Everlive Kendo UI dialect, but you must never use the Kendo UI offline mode and the Backend Services JavaScript SDK offline mode simultaneously.

Use the Backend Services JavaScript SDK offline mode when:

  • You want your app to operate in offline mode as close as possible to online mode
  • You store all your data in Telerik Platform
  • You want your app to work offline regardless of the UI library used

Use the Kendo UI offline mode when:

  • You don't need advanced offline mode features
  • You are not using Telerik Platform or you are mixing data sources
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.