27 Dec 2011 1:39 PM #1
Answered: Add service function to proxy.
TL;DR How do I implement a non-CRUD function using a Proxy/Store.
I am now looking to connect my application to the backend services. I have seen the proxy and the crud operations that can be modified in the 'api' section of the proxy. On my service, I have a function called 'findStores' that takes 3 parameters , city, state, zip. I was wondering how this would be implemented correctly within the Sencha touch context, as the docs seem to imply that the 'api' property of proxies exist to modify CRUD operations, not to declare new ones. Any help is greatly appreciated.
What do you mean by create a new operation? What others are there that CRUD doesn't cover?
28 Dec 2011 6:04 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What do you mean by create a new operation? What others are there that CRUD doesn't cover?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
28 Dec 2011 1:44 PM #3
Yeah, you are right. I messed up my terminology. I should have been asking another question which I will state in a different post. Thanks.