falkolab.ext3.direct

Sagteware kiekie:
falkolab.ext3.direct
Sagteware besonderhede:
Weergawe: 1.1.0
Upload datum: 11 May 15
Ontwikkelaar: Andrey Tkachenko
Lisensie: Gratis
Populariteit: 9

Rating: nan/5 (Total Votes: 0)

falkolab.ext3.direct is 'n bediener-kant stapel vir ExtJS 3.
Hoe kan ek dit gebruik?
Kom ons registreer api en menings:
& Nbsp; & gt; & gt; & gt; van zope.configuration invoer xmlconfig
& Nbsp; & gt; & gt; & gt; konteks = xmlconfig.string ("" "
& Nbsp; ... & lt; instel
& Nbsp; ... xmlns = "http://namespaces.zope.org/zope"
& Nbsp; ... xmlns: extdirect = "http://namespaces.zope.org/extdirect"
& Nbsp; ... & gt;
& Nbsp; ... & lt; sluit pakket = "falkolab.ext3.direct" lêer = "meta.zcml" / gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: api
& Nbsp; ... vir = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... naamruimte = "my.app"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: view
& Nbsp; ... vir = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... class = "falkolab.ext3.direct.testing.AlbumList"
& Nbsp; ... toestemming = "zope.ManageContent"
& Nbsp; ... name = "albumlist"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: view
& Nbsp; ... vir = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... class = "falkolab.ext3.direct.testing.Contact"
& Nbsp; ... toestemming = "zope.ManageContent"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... "" ")
Direkte API:
& Nbsp; & gt; & gt; & gt; Druk http (r "" "
& Nbsp; ... AOO /@@directapi HTTP / 1.1
& Nbsp; ... Magtiging: Basiese bWdyOm1ncnB3
& Nbsp; ... "" ")
& Nbsp; HTTP / 1.1 200 Ok
& Nbsp; Cache-beheer: no-kas
& Nbsp; Content-Length: ...
& Nbsp; Content-Type: text / javascript; charset = utf-8
& Nbsp; Verval: ...
& Nbsp; Pragma: no-kas
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; Ext.namespace ('my.app');
& Nbsp; my.app.REMOTING_API = {"url": "http: // localhost /@@directrouter", "naamspasie": "my.app", "type": "remo ting", "aksies": {"Kontak ": [{" naam ":" getInfo "," len ": 1}]," albumlist ": [{" formHandler ": waar," naam ":" voeg "," len ": 0}, {" naam ":" getAll "," len ": 0}]}};
Auto voeg verskaffer:
& Nbsp; & gt; & gt; & gt; Druk http (r "" "
& Nbsp;? ... AOO /@@directapi add_provider HTTP / 1.1
& Nbsp; ... Magtiging: Basiese bWdyOm1ncnB3
& Nbsp; ... "" ")
& Nbsp; HTTP / 1.1 200 Ok
& Nbsp; Cache-beheer: no-kas
& Nbsp; Content-Length: ...
& Nbsp; Content-Type: text / javascript; charset = utf-8
& Nbsp; Verval: ...
& Nbsp; Pragma: no-kas
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; Ext.namespace ('my.app');
& Nbsp; my.app.REMOTING_API = {"url": "http: // localhost /@@directrouter", "naamspasie": "my.app", "type": "remo ting", "aksies": {"Kontak ": [{" naam ":" getInfo "," len ": 1}]," albumlist ": [{" formHandler ": waar," naam ":" voeg "," len ": 0}, {" naam ":" getAll "," len ": 0}]}};
& Nbsp; Ext.Direct.addProvider (my.app.REMOTING_API);
En Direkte hanling Versoek (vir optelling sien ROUTER.TXT):
& Nbsp; & gt; & gt; & gt; Druk http (r "" "
& Nbsp; ... Post /@@directrouter HTTP / 1.1
& Nbsp; ... Magtiging: Basiese bWdyOm1ncnB3
& Nbsp; ... Content-Length: 71
& Nbsp; ... Content-Type: application / into; charset = UTF-8
& Nbsp; ... Referer: http: // localhost /
& Nbsp; ...
& Nbsp; ... {"aksie": "albumlist", "metode": "getAll", "data": [], "tipe": "RPC", "tid": 1} "" ")
& Nbsp; HTTP / 1.1 200 Ok
& Nbsp; Content-Length: 89
& Nbsp; Content-Type: text / javascript
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; {"aksie": "albumlist", "tid": 1, "tipe": "RPC", "metode": "getAll", "gevolg": [1, 2, 3]}

Wat is nuut in hierdie release:

  • Wysigings ondersteun Python 2,6

Vereistes :

  • Python

Soortgelyke sagteware

Sikuli
Sikuli

11 May 15

GINS
GINS

2 Jun 15

Gaphas
Gaphas

12 May 15

Metawidget
Metawidget

11 May 15

Kommentaar te falkolab.ext3.direct

Kommentaar nie gevind
Kommentaar te lewer
Draai op die foto!