PDA

View Full Version : Sencha web server



Chods
3 Feb 2014, 8:54 AM
Hi

I'm looking into using the sencha web server for my development. its nice and easy to get up and running, but does anyone know how you configure it, particularly I want to return application/json so i want to add a handler for .json.

Thanks for your help

Gary Schlosberg
3 Feb 2014, 1:20 PM
Are you talking about Ext.direct (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.direct.Manager)? Have you seen the JsonProvider (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.direct.JsonProvider)?
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.direct.JsonProvider

There are examples that might help as well:
http://docs.sencha.com/extjs/4.2.1/#!/example/direct/direct.html

Chods
7 Feb 2014, 3:11 AM
No, i'm talking about the the server included which can be started with senca cmd sencha web start