Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)
Basic Ext.Direct router class.

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.(more...)

src/e/x/extdirect-0.4/extdirect/zope/router.py   extdirect(Download)
from zope.publisher.browser import BrowserView
from extdirect.router import DirectRouter
 
class ZopeDirectRouter(DirectRouter):
    def __call__(self):

src/e/x/extdirect-HEAD/extdirect/zope/router.py   extdirect(Download)
from zope.publisher.browser import BrowserView
from extdirect.router import DirectRouter
 
class ZopeDirectRouter(DirectRouter):
    def __call__(self):