I am working with a sencha touch 2 application and i want to make a great router with many controllers, as in a regular web application.
How can i do that? For exemple, i want to redirect each url on the specific controller/action as :
/:controller/:action
How can i do that?
This is not really well-documented in Sencha Touch 2 docs, but actually there is a way to map URLs to controller functions or define resourceful routes like Rails. This might be helpful for you:
http://jenwendling.com/sencha-touch-resource-routing/