I'm diving into the DataController goodness to support Ajax (via a specialised controller AjaxDataController) and I was wondering how the CRUD layer was planning to handle relations.

It would be really nice if I could access the following URL:

    /user/jeff/email_addresses

and receive a list of all of my email addresses. I could then have URLs similar to:

    /user/jeff/email_addresses/1/delete

to remove an address, or:

    /user/jeff/email_addresses/1/update?city=Newburyport

or even:

/user/jeff/email_addresses/create?street=3+Market+Square+Apt +3&city=...

Am I just crazy here?

(And yes, I know the current DataController doesn't allow indexing by alternate IDs, but that'll be fixed soon.)


--
Jeff Watkins
http://newburyportion.com/

"Advertising directed at children is inherently deceptive and exploits children under eight years of age."
-- American Academy of Pediatrics


Reply via email to