1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default Unanswered: reading all cvs-files inside a folder and convert them into JSON

    Unanswered: reading all cvs-files inside a folder and convert them into JSON


    hi there!

    I want to build a local ExtJS4-App and for that I need to read all cvs-files inside a folder and convert them into JSON. so the first problem would be: reading all files inside a folder.
    but how could that be managed?


    thnx!

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    Answers
    102
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    You would need server-side code to feed those up. Else, you would have to hard-code them in a list somewhere.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default


    shouldn't that be possible in times of chrome and other modern browsers with all its magic?

  4. #4
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,616
    Vote Rating
    327
    Answers
    545
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Quite the opposite, browsers have got tighter and tighter regarding this type of security. Access to the file-system is severely restricted. Even if you found a way to do it there's a good chance it would stop working in a future version of the browser. You'll need a server, I don't think you can get around that.

  5. #5
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default


    can't believe chrome would go that direction when it needs to serve all the needs a operating system has to offer.

  6. #6
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,616
    Vote Rating
    327
    Answers
    545
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    I see, you're a fan of the Microsoft strategy for writing an operating system:
    1. Add security holes to web-browser.
    2. ...

  7. #7
    Sencha User
    Join Date
    Feb 2011
    Posts
    104
    Vote Rating
    0
    headkit is on a distinguished road

      0  

    Default


    Quote Originally Posted by skirtle View Post
    I see, you're a fan of the Microsoft strategy for writing an operating system:
    1. Add security holes to web-browser.
    2. ...
    :-)
    no, I am fan of sandboxed apps inside browsers.

  8. #8
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    55
    Vote Rating
    0
    Answers
    1
    bodyboarder20 is on a distinguished road

      0  

    Default


    Quote Originally Posted by headkit View Post
    :-)
    no, I am fan of sandboxed apps inside browsers.
    sandbox != file system access and manipulations