GraphQL

From Chorke Wiki
Revision as of 21:19, 29 April 2020 by Shahed (talk | contribs)
Jump to navigation Jump to search

Schema

type Project {
  name: String
  tagline: String
  contributors: [User]
}

Query

{
  project(name: "GraphQL") {
    tagline
  }
}

Results

{
  "project": {
    "tagline": "A query language for APIs"
  }
}

Sencha Store

Ext/data/
 ├─ operation/
 │  ├─ Create     [POST  ]
 │  ├─ Destory    [DELETE]
 │  ├─ Operation  [GET   ]
 │  ├─ Read       [GET   ]
 │  └─ Update     [PUT   ]
 │
 ├─ proxy/
 │  ├─ Ajax
 │  ├─ Proxy
 │  └─ Rest
 │
 ├─ reader/
 │  ├─ Array
 │  ├─ JSON
 │  ├─ Reader
 │  └─ XML
 │
 ├─ request/
 │  ├─ Ajax
 │  ├─ Base
 │  └─ Form
 │
 │
 ├─ writer/
 │  ├─ Array
 │  ├─ JSON
 │  └─ XML
 │
 │
 

Ext/grid/filters/
 ├─ filter
 └─ Filters
https://docs.sencha.com/extjs/6.2.0/classic/Ext.data.JsonStore.html
https://docs.sencha.com/extjs/6.2.0/classic/src/JsonStore.js.html
https://docs.sencha.com/extjs/6.2.0/classic/Ext.data.proxy.Rest.html
https://docs.sencha.com/extjs/6.2.0/classic/src/Rest.js.html
https://docs.sencha.com/extjs/6.2.0/classic/Ext.data.proxy.Ajax.html
https://docs.sencha.com/extjs/6.2.0/classic/src/Ajax.js-1.html
https://docs.sencha.com/extjs/6.2.0/classic/Ext.toolbar.Paging.html
https://docs.sencha.com/extjs/6.2.0/classic/src/Paging.js.html

References