deep-jquery-ajax provides jquery based ajax driver (store) for deepjs.
Provided protocoles (see deep protocoles) :
- html (html::)
- json (json::)
- xml (xml::)
Required
- deepjs >= v0.9.4
- jquery >= 1.5
Install
git clone https://github.com/deepjs/deep-jquery-ajax cd deep-jquery-ajax npm install
Usage
; // relative to root server path e.g. http://yourdomain.com/ ; //... deepstorejqueryajaxJSON; deep ; ; // put is replacing the entire object deep ; // patch update only the fields that are sended deep ; // call rpc method named "methodName" on ressource with id = "id22234545" // with the object { arg1:"myValue" } passed as argument deep ; // bulk call allows multiple operations with one call deep ; //...