Hi all,

I'm trying to implement CRUD-Operations via REST in order to make everything
more readable and usable.

What I didn't figure out (yet) is, how should I fetch my *forms* for these
operations?

Do you use a "FormController" and add a method for each form available in
your module? (I want to fetch the forms via AJAX, but that shouldn't matter)
I don't like the idea of a "FormController" but I couldn't imagine a better
solution yet.

I'd be very interested in how you do this. Please note, that my forms are
mainly fetched via AJAX and that there *might* be the necessity to add
parameters to the call. (Like, an ID for an entity or something. (Therefore,
if I put the form into the RESTful controller, it'd automatically call the
get()-Method, but I think the get() is for "give me the entity with id <id>"
and not "give me the form with information populated for the identity with
id <id>"...))

Thanks in advance

Christian Heinrich
-- 
View this message in context: 
http://n4.nabble.com/Zend-Rest-fetch-forms-via-AJAX-tp1559161p1559161.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to