avoiding multiple entries with REST
I use a RESTful PHP interface to a MySQL Databse.
CRUD works fine so far. But how can I manage, that 'inserts' or 'updates' ar not done, if some criteria fails?
I know how to do this with SQL , but how is it possible to get this into my ExtJs grid?
"Insert" and "Update" API, which I use, doesn't have return values.
And if I make an extra php function for an first lookup-query (like I would do in Ext.direct),
how can I manage such a call in the well defined REST URLs?
Appreciating any hints.