Unanswered: Rest calls to be used in writer.js and How to persist the records w/o a DB
How to make Writer.js - PHP example Ajax rest calls to really work? What is the configuration for the server side. If a record is entered will it persist? I am able to get it to work in Session But if the session is lost the data is lost. how to fix this without using any DB? Is there any way ?
What are you trying to accomplish?
If you don't save the data to a database, a file, or some other persistence media, what do you expect to be able to happen?
There are options, of course, for saving to LocalStorage, but this has its own issues of impermanence, access restrictions, etc.
Ok Thanks. I just wanted to find out if there are any other ways. You suggested the Local storage but it not worth all the effort. But this is an API that works in session which is great
Originally Posted by ananthk
And to be clear, it's not technically a matter of ExtJS working in PHP sessions. The REST proxy in ExtJS is agnostic of what you do with the request that's made to the server; the only prerequisite is that your server is capable of understanding the request that is made...how you deal with it after ExtJS makes the request to the server (session, DB, writing to file system, third-party cloud db hosting, whatever) is completely up to you.