This is a migrated thread and some comments may be shown as answers.

Kendo UI: suggestions for use with (html5)localdb and mvc at same time

1 Answer 50 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Shea
Top achievements
Rank 1
Shea asked on 04 Dec 2013, 11:23 PM
We have a web application which needs to function when internet connectivity fails. Currently we do this by cache data in localdb, then if the connection goes down, we resort to supplying data from the localdb, instead of the ajax call. When connectivity comes back we update our cache. This works well with our existing product, which uses asp.forms, and jquery templates.

In our new product we building, it is using MVC and kendo. We are using pure JS for our views rather than Razor (due to the limitations of Razor).  We have used AJAX for all the DataSource's, by simply providing a URL to read from. I know I can set the read parameter to be a function. In this function I can do a check to see if there is network connectivity. If no, then read from local db. If there is connectivity then perform the normal read from the controller action.

The original plan was to use jlinq (of hugoware.com), with Persist-JS (https://github.com/jeremydurham/persist-js). But now wondering if breeze js or jaydata would work better with kendo?

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 05 Dec 2013, 01:58 PM
Hi Shea,

All of these could be used to achieve your goals and which one you would choose depends on your preferences. I would however, recommend you to check the following links:

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
Shea
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or