1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default Answered: Add service function to proxy.

    Answered: Add service function to proxy.


    TL;DR How do I implement a non-CRUD function using a Proxy/Store.
    Hello Everyone,
    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.

  2. What do you mean by create a new operation? What others are there that CRUD doesn't cover?

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Answers
    3452
    Vote Rating
    817
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What do you mean by create a new operation? What others are there that CRUD doesn't cover?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  4. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default


    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.

Thread Participants: 1

Tags for this Thread