JayData 1.2.7

Rating: No reviews yet
Downloads: 279
Released: Feb 28, 2013
Updated: Feb 28, 2013 by JayDataOrg
Dev status: Stable Help Icon

Recommended Download

Application JayData
application, 506K, uploaded Feb 28, 2013 - 192 downloads

Other Available Downloads

Source Code JayData source
source code, 26943K, uploaded Feb 28, 2013 - 87 downloads

Release Notes

JayData is a unified data access library for JavaScript to CRUD + Query data from different sources like WebAPI, OData, MongoDB, WebSQL, SQLite, HTML5 localStorage, Facebook or YQL. The library can be integrated with KendoUI, Knockout.js or Sencha Touch 2 and can be used on Node.js as well.

See it in action in this 6 minutes video
KendoUI examples: JayData example site
Sencha Touch 2 example app using JayData: Netflix browser.

What's new in JayData 1.2.7

For detailed release notes check the release notes.

KendoUI integration improvements

Check out the live KendoUI-JayData examples!
Build native-like mobile apps and polished websites with KendoUI by leveraging data-management capabilities of JayData. JayData KendoUI module helps you implement two-way databinding with Kendo controls no matter if you use local or cloud storages.

Include JayData KendoUI module:
<script src="scripts/jaydatamodules/kendo.js"></script>

Write your JayData query on any storage and assign the result to the dataSource of Kendo controls:
  dataSource: Northwind.Products.filter( function(p) { return p.startsWith("Che"); }).asKendoDataSource()

Default values

Reduce and simplify your code using default values on the entities. Read our article - How to set default values in JayData

Other new features:

  • SQLite provider supports Array typed fields with default json serialization
	var metas = [{ name: "n", value: "v" }, { name: "n2", value: "v2" }];
	var blog = new $blog.Types.Blog({ Name: "Comment", Metas: metas });
	$blog.Context.saveChanges(function () { ... });
  • EntityContext: onready error handling
	  error: function (exception) { 
  • ItemStore save mode strategy, loaded item state is modify at save
  • SQLite provider now support inserting Id only data rows (no fields beyond Id or all fields are optional and are undefined)


  • ModelBinder performance improvements
  • new entity properties default values just for primitives
  • ItemStore API: setStore() doesn’t set default store, just when set name to 'default'
  • ItemStore API: type.storeToken is fallback to type default store
  • EntityContext: storageModel refactor, EntitySetReference removed


  • WebAPI provider required OData provider to be included
  • global function call parameter fix in predicates
  • FireFox CORS fix just for valid requests
  • OData maxDataServiceVersion header for all requests
  • ModelBinder fix array detection
  • InMemory provider: refactoring type converters
  • InMemory provider: take() with orderByDescending()
  • StorageProviderLoader.js – changing Math.ceiling() to ceil()
  • OData provider date converter from ISO date
  • JaySvcUtil in IE xml parse

Breaking changes

  • ItemStore API: setStore() doesn’t set the default store, but requires a string parameter
Todo.setStore('default', {
	provider: 'webApi',
    dataSource: '/api/Todo'

Reviews for this release

No reviews yet for this release.