falkolab.ext3.direct

Software screenshot:
falkolab.ext3.direct
Software ətraflı:
Version: 1.1.0
Tarixi Upload: 11 May 15
Geliştirici: Andrey Tkachenko
Lisenziya: Pulsuz
Məşhurluq: 9

Rating: nan/5 (Total Votes: 0)

falkolab.ext3.direct ExtJS 3 bir server-yan yığını deyil.
Mən bunu necə istifadə edə bilərəm?
API və fikir qeydiyyatdan edək:
& Nbsp; & gt; & gt; & gt; zope.configuration idxal xmlconfig olan
& Nbsp; & gt; & gt; & gt; kontekstində = xmlconfig.string ("" "
& Nbsp; ... & lt; konfiqurasiya
& Nbsp; ... xmlns = "http://namespaces.zope.org/zope"
& Nbsp; ... xmlns: extdirect = "http://namespaces.zope.org/extdirect"
& Nbsp; ... gt;
& Nbsp; ... & lt; paketi = "falkolab.ext3.direct" file = "meta.zcml" / gt daxildir;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: api
& Nbsp; ... üçün = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... ad = "my.app"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: view
& Nbsp; ... üçün = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... class = "falkolab.ext3.direct.testing.AlbumList"
& Nbsp; ... icazəsi = "zope.ManageContent"
& Nbsp; ... name = "albumlist"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... & lt; extdirect: view
& Nbsp; ... üçün = "zope.app.folder.interfaces.IFolder"
& Nbsp; ... class = "falkolab.ext3.direct.testing.Contact"
& Nbsp; ... icazəsi = "zope.ManageContent"
& Nbsp; ... / & gt;
& Nbsp; ...
& Nbsp; ... "" ")
Direct API:
& Nbsp; & gt; & gt; & gt; print http (r "" "
& Nbsp; ... GET /@@directapi HTTP / 1.1
& Nbsp; ... Avtorizasiya: 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; Başa çatır: ...
& Nbsp; Pragma: no-cache
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; Ext.namespace (my.app ');
& Nbsp; my.app.REMOTING_API = {"url": "http: // localhost /@@directrouter", "ad": "my.app", "növü": "remoting", "tədbirlər" {"Contact "[{" adı ":" getInfo "," Len "1}]" albumlist "[{" formHandler "doğru" adı ":" "," len əlavə et ": 0} {" adı "" getAll "," Len "0}]}};
Auto provayderi əlavə edin:
& Nbsp; & gt; & gt; & gt; print http (r "" "
& Nbsp; ... GET /@@directapi add_provider HTTP / 1.1
& Nbsp; ... Avtorizasiya: 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; Başa çatır: ...
& Nbsp; Pragma: no-cache
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; Ext.namespace (my.app ');
& Nbsp; my.app.REMOTING_API = {"url": "http: // localhost /@@directrouter", "ad": "my.app", "növü": "remoting", "tədbirlər" {"Contact "[{" adı ":" getInfo "," Len "1}]" albumlist "[{" formHandler "doğru" adı ":" "," len əlavə et ": 0} {" adı "" getAll "," Len "0}]}};
& Nbsp; Ext.Direct.addProvider (my.app.REMOTING_API);
Və birbaşa Filmlərin hanling (əlavə ROUTER.TXT bax)
& Nbsp; & gt; & gt; & gt; print http (r "" "
& Nbsp; ... POST /@@directrouter HTTP / 1.1
& Nbsp; ... Avtorizasiya: Basic bWdyOm1ncnB3
& Nbsp; ... Content-Length: 71
& Nbsp; ... Content-Type: application / json; charset = UTF-8
& Nbsp; ... Referer: http: // localhost /
& Nbsp; ...
& Nbsp; ... {"fəaliyyət": "albumlist", "metodu": "getAll", "data": [] "növü": "RPC", "tid" 1} "" ")
& Nbsp; HTTP / 1.1 200 Ok
& Nbsp; Content-Length: 89
& Nbsp; Content-Type: text / javascript
& Nbsp; & lt; BLANKLINE & gt;
& Nbsp; {"fəaliyyət": "albumlist", "tid" 1 "tipli": "RPC", "metodu": "getAll", "Nəticə" [1, 2, 3]}

Bu azad yeni nədir:

  • Bu dəyişiklikləri Python 2.6 dəstək

tələblər

  • Python

Oxşar proqram

Ample SDK
Ample SDK

20 Feb 15

Awwparse
Awwparse

14 Apr 15

casuarius
casuarius

15 Apr 15

FLTK
FLTK

17 Feb 15

Şərh falkolab.ext3.direct

Şərhlər tapılmadı
Şərh əlavə
Images yandırın!