Monday, June 25, 2012

Best practices for AJAX forms

Hi

On my page, I have a table with the information of a company and a
button to edit the information. On click, through jQuery and AJAX, I
want to transform that table into a form, and I can do that either by
adding the form with javascript (hard coding it in javascript and
requesting from the server via AJAX the information from the database)
or by making a request to the controller and load the form.

Which one do you think is better from the best practices point of
view?

Thank you in advance!

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate