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
    9,182
    Vote Rating
    119
    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 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
    190
    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
    Frederick, MD
    Posts
    1,747
    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
    10
    TommyMaintz will become famous soon enough 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
    Frederick, MD
    Posts
    1,747
    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).

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi