On 11/16/06, Adrian Godong <[EMAIL PROTECTED]> wrote: > What's the difference between element and helper? When should I use one over > another?
Let me try and put it as simply as possibly Element = snippet from a template which you just render in your templates an example would be a dynamic menu which can be seen on all pages Helper = Some thing which helps you write otherwise repetitive but somewhat complex HTML in your templates abstracting away the complexities in the call to its methods - the best example is the HTML helper and the Form helper. HTH Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Coppermine Picture Gallery: http://coppermine.sf.net ============================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
