Or 
1a)  Use view and cache them (Super fast)
2a)  Use elements and cache them (Faster than rendering a normal view without 
cache)

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Johan @ 
Notitia.nl
Sent: 4. marts 2008 17:17
To: Cake PHP
Subject: Re: Site Construction.. Integrating Views + Footer/Header/Menus etc?


Well, there are thousands of ways to render information at your
screen, but here are some 'CakeCorrect' methods:

1) Put all the code at your view (fastest to render, but hard to
maintain)
2) Put all the snippets in elements and print those at your view (way
slower, but easy to edit. also re-usable)
3) Build a Helper which dynamicly generate snippets (somewhat slower,
but if build correct it beats all of the above!)

On Mar 3, 5:31 am, duncan_m <[EMAIL PROTECTED]> wrote:
> OK I've discovered Layouts.. I think this is the missing link I've
> been looking for.
>
> Duncan.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to