I forgot route.py! thats interesting

I will look into it!

On Sat, Feb 11, 2012 at 7:40 PM, Anthony <abasta...@gmail.com> wrote:

> Look interesting but that would make the service URLs a bit ugly . i would
>> prefer each UI having its own service URL not generic single method.
>>
>> What i want is like this :
>>
>> /controllers/services/case.py
>> /controllers/services/**dashboard.py
>> /controllers/services/result_**grid.py
>> /controllers/services/front.py
>> /controllers/services/import_**wizard.py
>> /controllers/services/export_**wizard.py
>>
>
> You should be able to do that using howesc's method if you use routes.py
> to remove the controller function from the URL. So, you could have a
> controller called services.py with a single action called jsonrpc(), and
> that action could read the first arg or two from the URL in order to invoke
> to appropriate module and function within the module. You can hide the
> "jsonrpc" function from the URL via routes.py. Alternatively, "services"
> could simply be a function in the default.py controller instead of being a
> separate controller, and it could do the routing to the modules.
>
> Anthony
>

Reply via email to