Results 1 to 4 of 4

Thread: Minimum code needed for Ext.data.ScriptTagProxy

  1. #1

    Default Minimum code needed for Ext.data.ScriptTagProxy

    Hey peeps,

    I'm looking to write a simple JS based API that calls my server to retrieve simple key:value pair type data. Since cross-domain XHR isn't available, it looks like ScriptTagProxy uses the dynamic script tag solution which would work for me. This seems like an ideal solution versus dealing with the headaches of SOAP and WSDL.

    My question is, what's the minimum amount of code I need to include in order to use the Ext.data.ScriptTagProxy class in my API? Some clients might not wish to embed the entire Ext library into their applications, so I'm trying to strip it down as much as possible.

    Thanks,

    - sf

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    ScriptTagProxy is designed to work with a Reader and a Store to read a sequence of Records.

    I have a ux extension in the extension forums which extends Ext.Ajax to allow standard Ajax requests through a script tag which might be easier for you.

  4. #4

    Default

    Thanks for the reply guys, got it working. :-)

Posting Permissions

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