falkolab.ext3.direct

Screenshot Software:
falkolab.ext3.direct
Mga detalye ng Software:
Bersyon: 1.1.0
I-upload ang petsa: 11 May 15
Nag-develop: Andrey Tkachenko
Lisensya: Libre
Katanyagan: 9

Rating: nan/5 (Total Votes: 0)

falkolab.ext3.direct ay isang server-side stack para ExtJS 3.
Paano ko gagamitin ito?
Hayaan magrehistro ng API at view:
& Nbsp; & gt; & gt; & gt; mula zope.configuration import xmlconfig
& Nbsp; & gt; & gt; & gt; context = xmlconfig.string ("" "
& Nbsp; ... & lt; isaayos
& Nbsp; ... xmlns = "http://namespaces.zope.org/zope"
& Nbsp; ... xmlns: extdirect = "http://namespaces.zope.org/extdirect"
& Nbsp; ... & gt;
& Nbsp; ... & lt; isama package = "falkolab.ext3.direct" file = "meta.zcml" / & gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: API
& Nbsp; ... para = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... namespace = "my.app"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: view
& Nbsp; ... para = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... class = "falkolab.ext3.direct.testing.AlbumList"
& Nbsp; ... pahintulot = "zope.ManageContent"
& Nbsp; ... name = "albumlist"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: view
& Nbsp; ... para = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... class = "falkolab.ext3.direct.testing.Contact"
& Nbsp; ... pahintulot = "zope.ManageContent"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... "" ")
Direct API:
& Nbsp; & gt; & gt; & gt; print http (r "" "
& Nbsp; ... GET /@@directapi HTTP / 1.1
& Nbsp; ... Authorization: Basic bWdyOm1ncnB3
& Nbsp; ... "" ")
& Nbsp; HTTP / 1.1 200 ok
& Nbsp; Cache-Control: no-cache
& Nbsp; Content-Length: ...
& Nbsp; Content-Type: text / javascript; charset = utf-8
& Nbsp; Mga paso: ...
& Nbsp; Pragma: no-cache
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; Ext.namespace ('my.app');
& Nbsp; my.app.REMOTING_API = {"url": "http: // localhost /@@directrouter", "namespace": "my.app", "type": "remoting", "aksyon": {"Makipag-ugnay sa ": [{" pangalan ":" getInfo "," len ": 1}]," albumlist ": [{" formHandler ": totoo," pangalan ":" magdagdag ng "," len ": 0}, {" pangalan ":" getAll "," len ": 0}]}};
Auto magdagdag provider:
& Nbsp; & gt; & gt; & gt; print http (r "" "
& Nbsp;? ... GET /@@directapi add_provider HTTP / 1.1
& Nbsp; ... Authorization: Basic bWdyOm1ncnB3
& Nbsp; ... "" ")
& Nbsp; HTTP / 1.1 200 ok
& Nbsp; Cache-Control: no-cache
& Nbsp; Content-Length: ...
& Nbsp; Content-Type: text / javascript; charset = utf-8
& Nbsp; Mga paso: ...
& Nbsp; Pragma: no-cache
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; Ext.namespace ('my.app');
& Nbsp; my.app.REMOTING_API = {"url": "http: // localhost /@@directrouter", "namespace": "my.app", "type": "remoting", "aksyon": {"Makipag-ugnay sa ": [{" pangalan ":" getInfo "," len ": 1}]," albumlist ": [{" formHandler ": totoo," pangalan ":" magdagdag ng "," len ": 0}, {" pangalan ":" getAll "," len ": 0}]}};
& Nbsp; Ext.Direct.addProvider (my.app.REMOTING_API);
At Direct Request Hanling (para sa karagdagan makita ROUTER.TXT):
& Nbsp; & gt; & gt; & gt; print http (r "" "
& Nbsp; ... POST /@@directrouter HTTP / 1.1
& Nbsp; ... Authorization: Basic bWdyOm1ncnB3
& Nbsp; ... Content-Length: 71
& Nbsp; ... Content-Type: application / json; charset = UTF-8
& Nbsp; ... Referer: http: // localhost /
& Nbsp; ...
& Nbsp; ... {"action": "albumlist", "paraan": "getAll", "data":, "type" []: "rpc", "tid": 1} "" ")
& Nbsp; HTTP / 1.1 200 ok
& Nbsp; Content-Length: 89
& Nbsp; Content-Type: text / javascript
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; {"action": "albumlist", "tid": 1, "type": "rpc", "paraan": "getAll", "resulta": [1, 2, 3]}

Ano ang bago sa release na ito:

  • Mga Pagbabago sa suporta Python 2.6

Kinakailangan :

  • sawa

Katulad na software

SiteFusion
SiteFusion

11 May 15

Rally
Rally

11 May 15

casuarius
casuarius

15 Apr 15

Mga komento sa falkolab.ext3.direct

Mga Komento hindi natagpuan
Magdagdag ng komento
I-sa mga imahe!