How to design an frontend AJAX structure for a previous CRUD ORM in back end
So basically i have a backend ORM class which 开发者_运维技巧can do all the CRUD methods already done.
I have a front end which needs to access the backend for these CRUD with the respective tables/views. But is there an easy way to perform front end task.
So, basically what i am asking is How to program a XML based ajax structure which lets me easily execute my CRUD methods in background. Any tutorials and helpful links are appreciated, including your answers :)
I am looking for a generic answer which can be extended to many types. I want to reduce the code i write
Dojo provides a data abstraction api to make it easy the connection with backend services with different formats (XML, Atom, JSON).
I have used the REST-based JSON store. You only have to create the server-side CRUD operations. A tutorial is available here: http://www.sitepen.com/blog/2008/06/13/restful-json-dojo-data/
精彩评论