Class DirectRouter
source code
Acquisition.Explicit --+
|
zope.location.Location --+ |
| |
zope.publisher.browser.BrowserView --+
|
Five.browser.BrowserView --+
|
DirectRouter
Base class for Ext.Direct routers.
Ext.Direct allows one to create an API that communicates with a single
URL, which then routes requests to the appropriate method. The
client-side API object matches the server-side API object.
This base class parses an Ext.Direct request, which contains the name
of the method and any data that should be passed, and routes the data to
the approriate method. It then receives the output of that call and puts
it into the data structure expected by Ext.Direct.
@rtype JSON
|
|
|
|
|
|
|
Inherited from zope.publisher.browser.BrowserView:
__init__
|
|
|
_asof = None
|
|
Inherited from zope.publisher.browser.BrowserView:
__parent__
|