On Tue, Dec 28, 2010 at 3:27 PM, euromark <[email protected]> wrote: > no, you can do that > sometimes it is cleaner to use cake, sometimes you want the speedier > html. > you have to decide whats best for you. > > i usually use the helper for forms etc > but tables and p/div blocks are easier with plain html - in my opinion > > in general, the helper syntax keeps your code "up to date" > it wraps it, so in case the syntax changes, it can be switched > automatically > if you hard-code it, you need to do those things yourself.
I'll add that the only really important thing is that the form element's name corresponds to what Cake would expect. If you're ever unsure of what to use, have FormHelper create the element for you and view source. Then use your HTML version using that name. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
