A JavaScript Data Access Framework that uses Knockout
By: [EntitySpaces, LLC] (http://www.entityspaces.net)
License: MIT
Dependencies: Knockout
Download EntitySpaces 2012, it's 100% Free
EntitySpaces on Download.com
Live Examples
Features
- Built upon Knockout and the MVVM Model
- All class properties are ko.observables and collections classes are ko.observableArrays
- Only 17k minimized
- Supports MS SQL Server, Azure, CE, MS Access,
Oracle, PostgreSQL, Sybase SQL Anywhere, MySQL, SQLite, and VistaDB
- Supports WCF JSON Service and RESTFUL API's
- Supports Full Hierarchical Data Models
- Hierarchical Model Supports Lazy Loading (See video below)
- All saves take place within transactions, including complex hierarchcial saves
- Two Providers, either pure XHR or JQuery Ajax (you choose which one you want to use)
- Tracks Row Level and Column Level Dirty State
- Tracks Original Values so Edits can be Cancelled via RejectChanges
- Generic - Can be used with any ORM or Database Backend
Intuitive API
// Add a single record
var emp = new es.objects.Employees();
emp.FirstName("Just");
emp.LastName("Added");
emp.save();
// Or the same as above
var emp = new es.objects.Employees({
FirstName: 'Just',
LastName: 'Added'
});
emp.Save();
EntitySpaces Studio Specific Abilities
- Will Generate your entire set of JavaScript classes from your Database Schema
- Will Generate your WCF JSON Service for you that will work Out-Of-The-Box
- Supports MS SQL Server, Azure, CE, MS Access, Oracle, PostgreSQL, Sybase SQL Anywhere, MySQL, SQLite, VistaDB
Watch a few videos of entityspaces.js in action
Lazy Loading Properties
|
The Basic Construction
|
Example Class Definitions (pseudocode)
Real JavaScript Classes
Real World Usage Examples