Results 1 to 4 of 4

Thread: Using Extjs4 complete offline/no web server --urgent need

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    6

    Default Answered: Using Extjs4 complete offline/no web server --urgent need

    Hi,

    I'm new about ExtJS. I want to run an ExtJS sample which read local XML into store and write it back after some operations. I follow http://www.sencha.com/forum/archive/...p/t-11767.html but seems not work in Extjs4.
    I tried Ext-basex as discussion http://www.sencha.com/forum/showthre...ut-a-Webserver but can't make a sample success.

    In fact, run ExtJS without any web server is good start point for any new comer, this looks like a popular topic across forum. Where can we find a runnable example with ExtJS4?

    Thanks,

    Mimi

  2. To do what you are asking requires a web server. Without something listening to port 80 how would your computer know that you were wanting to save data? And to where? The easiest thing would be to install a LAMP/WAMP toolkit which is typically designed to run in an isolated environment like a standalone computer.
    http://www.wampserver.com/en/

  3. #2
    Ext JS Premium Member
    Join Date
    Mar 2010
    Posts
    71
    Answers
    2

    Default

    To do what you are asking requires a web server. Without something listening to port 80 how would your computer know that you were wanting to save data? And to where? The easiest thing would be to install a LAMP/WAMP toolkit which is typically designed to run in an isolated environment like a standalone computer.
    http://www.wampserver.com/en/

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    6

    Default

    What if I just read/write an XML file from local with ExtJS4? It is impossible?

    Let's look at previous forum suggestions as below link, How those work before and work again in ExtJS4?
    http://www.sencha.com/forum/archive/...p/t-11767.html

    http://www.sencha.com/forum/showthre...ut-a-Webserver

    Thanks ahead,

  5. #4
    Sencha User
    Join Date
    Oct 2011
    Location
    Vancouver, Canada
    Posts
    157
    Answers
    5

    Default

    Your web browser does not have the right to write to the file system. This is on purpose, and is a very good idea.

    You have two options:

    1. use a web server - perhaps you could embed one using a signed Java applet or similar.

    2. run your ExtJS application inside an executable, the same way that Ext Designer did. They used the QT framework.

Posting Permissions

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