Hrm... Ext JS and Sencha Touch are built to be server-side agnostic. You can integrate with any server-side technology that you would like PHP, ASP.Net, node.js, ColdFusion, etc. If you setup a writer for your Cars store it will send the delta of what has changed to your server side each time a sync of the store is requested.
Setting the autoSync configuration on the Store to true will auto synchronize the data when changes are made on the client-side store.
What server-side technology are you most familiar with? There are a couple few Java, PHP, node.js tutorials out there that show integration.
So, it is NOT possible to connect to a database or write data to a file DIRECTLY from extjs,
and there are no frameworks from SENCHA (php, asp, whatever) offering this like in CodeCharge.
In Codecharge, they have a connector to backend-storage which makes it pretty easy to develop.
I'm a beginner with SENCHA and having no connector to a Backend-Storage makes the start hard,
but not impossible. Probably this way is more flexible.
So my wich would be a php framework from sencha to connect (at the backend) to a database, a conifg file where I setup the database/IP/Port/Databasename/Loginnamne/Password like in ADOdb
I would even pay for that.
Or are there problems that I don't see?
Last edited by espi; 3 Feb 2013 at 1:56 PM.
Reason: the diagramm at the beginning of my text was away, now I made a link to it
What will help me? A SIMPLE example. I'm dreaming from the following example:
a model with two fields id and cityname bound to an empty store
a panel with a button for adding a recordset to the store (when pressing it)
on the serverside a php file takeing the added recordset and saving it to a file
That's it. That would help me understanding the whole thing a lot. Sure, examples for the other CRUD operation would be also good, but each one in a single example, not to much in one.
I'm sure, that I will read and understand the existing descriptions (links above) after I understood everything. And I'm sure that I will then ask myself how stupid I was not understanding this.
Probably an easy example would also helping other developers.