I just got started with Sencha Architect 2 and for my first project I followed along the working example found at:
(The fourth post by d.velev has said project attached).
Now, I looked at the scripts to familiarise myself with the framework, and decided to create my own CRUD application via Architect, when I run up against the following problem;
when I create a JsonStore from the Inspector, and select the Ajax Proxy, I wish to enter the four .php files that map to the four CRUD operations, like so:
so that part of the script would look like this:
But when I open up Architect and navigate under Config, api, in the AjaxProxy of my JsonStore, all I can enter is a string of text which then automatically generates the following code:
api: 'read: "data/readUser.php",\n update: "data/updateUser.php",\n create: "data/createUser.php",\n destroy: "data/destroyUser.php"',
which obviously doesn't work.
I wonder what has to be entered in the 'api' field in order for Architect to generate the code I'm after.
Thanks in advance for your help,