JayData 1.2.3

Rating: No reviews yet
Downloads: 357
Released: Nov 6, 2012
Updated: Nov 22, 2012 by JayDataOrg
Dev status: Stable Help Icon

Recommended Download

Application JayData 1.2.3
application, 416K, uploaded Nov 6, 2012 - 220 downloads

Other Available Downloads

Source Code JayData 1.2.3 Source
source code, 7893K, uploaded Nov 6, 2012 - 91 downloads
Example HandsOnLab_OnlineFlowerShop
example, 3205K, uploaded Nov 8, 2012 - 46 downloads

Release Notes

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

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

What's new in JayData 1.2.3

For detailed release notes check the release notes.

TypeScript support

Write your code in a developer-friendly, more productive environment! Read our blogpost.

ItemStore API

After the many positive feedbacks we decided to make the usage of the library much easier with less code. ItemStore API detects the available local data storage technology, so HTML/JavaScript/PhoneGap developers don’t have worry whether to save data to WebSQL/SQLite, IndexedDB or HTML5 localStorage as JayData ItemStore API makes this decision and initializes the context with the proper storage provider. Read the ItemStore API 101 blogpost to learn more

JayData CDN

Do you want to use the latest version of JayData in your project? Include the libarary in your HTML page using the our brand-new, AWS powered CDN:
<script type="text/javascript" src="http://include.jaydata.org/jaydata.js"></script>

Improved autoloading of providers

Autoloading the providers in HTML5 applications has been supported since JayData 1.1.1, which downloaded the scripts using HTTP requests. This behavioral has been changed now to include the necessary providers in a <script> tag automatically, furthermore, the library detect the path of the included jaydata.js and loads the providers from that location (CDN or local).
The minimal boilerplate code looks like the following snippet:
<script type="text/javascript" src="http://include.jaydata.org/datajs-1.0.3-patched.js "></script>
<script type="text/javascript" src="http://include.jaydata.org/jaydata.js"></script>

JayData can load oData, webSql, sqLite, indexedDb, localStore, inMemory providers automatically, but Facebook and YQL providers should be loaded manually from the locations below:
<script type="text/javascript" src="http://include.jaydata.org/ jaydataproviders/FaceBookProvider.min.js"></script>
<script type="text/javascript" src="http://include.jaydata.org/ jaydataproviders/YQLProvider.min.js"></script>

Other new features:

  • datajs patch: support read all headers in * FIREFOX in case of CORS
  • function thisArgs properties can be use without 'this.' notation
  • EntityContext new method: addMany() - Adds several entities to their matching entity set.
  • types with a static "inheritedTypeProcessor" method now get a chance to modify inheritedtypes upon creation
  • EntitySet Attach now accepts a second bool parameter: keepChanges
  • EntityContext has simplified constructor params
  • jquery deferred module – support deferred chain
  • function import supports returning types, which have array of complex type fields


  • JayService - remove genx / jaydata-genx dependency
  • facebook provider - Accept_Token can be context argument
  • facebook provider – current user has been removed from the MyFriends query result
  • Detect the end of the response in JSObjectAdapter
  • refactor StorageProviderLoader
  • LocalStoreProvider constructor accepts databaseName as localStoreName
  • deferred.js (jQuery) module has been added into jaydata.js


  • odata provider: avoid unwanted selection grouping for navigational properties
  • mongoDB constant expression
  • XMLHttpRequest nodejs query string builder
  • Edm.Decimal mapped to string* LocalStore has been added to ProviderLoader
  • ModelBinder deep extend

Reviews for this release

No reviews yet for this release.