1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    48
    Vote Rating
    0
    whippersnapper is on a distinguished road

      0  

    Default Is it possible to load jsondata from a flat file w/out having a localhost server?

    Is it possible to load jsondata from a flat file w/out having a localhost server?


    Hi,

    We are evaluating the Designer tool. So far, our team has express very positive and much interests. We are playing around and creating some prototypes as prove of concepts. I was wondering if it was possible to load json data read from a flat file, which gets fed into the jsonStore url?!

    Is this possible without having to install and setup a localhost?

    Thanks.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,883
    Vote Rating
    102
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    The JSON data must be served by some webserver. This could be on your localhost or could be on a remote server. You can set the Url Prefix by going into Edit Preferences for a particular project.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User mihaip007's Avatar
    Join Date
    Feb 2008
    Location
    Pretoria, South Africa
    Posts
    188
    Vote Rating
    0
    mihaip007 is on a distinguished road

      0  

    Default


    Hi...!

    Sorry, this may sound a bit stupid from my side, but why can one not simply bypass the server and simply load from a flat file? Why must one go through the server for this operation?

  4. #4
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD.
    Posts
    1,745
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    I haven't tested it, but you might be able to use a file:// URI. However, as mentioned on a different thread, we will be adding the ability to load local data into stores in a future release.

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    8
    TommyMaintz will become famous soon enough

      0  

    Default


    You might want to look into using the BaseX extension. You can find it by searching the forums. This will be added as a capabity in ExtJS in a future version.

  6. #6
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD.
    Posts
    1,745
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    ext-basex project page: http://code.google.com/p/ext-basex/

    Please note that this can only be used and included in your exported xds html file.

  7. #7
    Sencha User
    Join Date
    Apr 2010
    Posts
    48
    Vote Rating
    0
    whippersnapper is on a distinguished road

      0  

    Default


    @jarrednicholls, I've tried this out. Don't think it works (unless that file is stood up behind a server).

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar