Results 1 to 3 of 3

Thread: Add service function to proxy.

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    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
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
      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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •