Skip to content

Instantly share code, notes, and snippets.

@thiagohome
thiagohome / sencha-webdb-example.js
Created October 7, 2011 17:39 — forked from tuxcanfly/sencha-webdb-example.js
Sencha touch proxy for web database: Example
Ext.regModel('Person', {
fields: [
{name: 'name', type: 'string'},
{name: 'age', type: 'int'},
{name: 'phone', type: 'string'},
{name: 'alive', type: 'boolean', defaultValue: true}
],
proxy: {
type: 'websqlproxy',