RE: How well I can use CakePHP for building static site ?

2009-01-12 Thread websta*

This is true if your site is purely static then cake is a pretty hefty
overhead, however.

If you use view caching, coupled with a custom CacheHelper to render
essentially static cached copies of your cake pages then you can still pull
pretty good render times, your site is in a familiar format ( that is if you
use cake a lot ) and hey, one day that site might require some more
functionality... so of course your going to do it in cake! ;-)

-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of Miles J
Sent: Tuesday, January 13, 2009 9:53 AM
To: CakePHP
Subject: Re: How well I can use CakePHP for building static site ?


If its all static, all you need is a header.php and a footer.php and
include them on every page. Why use all the extra overhead and
processing for static pages?

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.6/1888 - Release Date: 1/12/2009
7:04 AM


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How well I can use CakePHP for building static site ?

2009-01-12 Thread Miles J

If its all static, all you need is a header.php and a footer.php and
include them on every page. Why use all the extra overhead and
processing for static pages?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How well I can use CakePHP for building static site ?

2009-01-12 Thread Martin Westin


If you have more than 10 static pages (or you want some menu
hierarchy) I would suggest publishing those "static" pages using one
of the CMSes available. Even though they are static they will probably
change a little at times and a CMS is very helpful even when changes
are rare.

There are a few CMSes built using CakePHP. Neutrino and Wildflower
comes to mind. They work in slightly opposite ways in the way they
integrate with your dynamic sections so try both and see which suits
you best if you want the total integration.

/Martin


On Jan 12, 4:56 pm, Keith  wrote:
> While it's definitely possible to do the things you're talking about
> with CakePHP you might just want to take advantage of the Server Side
> Include technology that HTML can do natively.  Every time you add on
> another layer of technology (in this case PHP, and then CakePHP) you
> add some complexity into your processes.  CakePHP is a great tool, but
> it's not the answer for everything necessarily so just keep that mind
> as you move forward.
>
> - Keith
>
> On Jan 12, 10:48 am, "dr. Hannibal Lecter" 
> wrote:
>
> > Hi Sridhar,
>
> > Of course you can use CakePHP to build a static site. Search for
> > articles regarding "PagesController", a built-in controller which
> > enables you to do just that - show static pages. Your header, side
> > navigation etc are handled with view layouts. Hope that helps a bit.
> > Welcome to cake world, keep learning it, it's worth it. ;)
>
> > Cheers!
>
> > On Jan 12, 3:33 pm, "Sridhar Kuppalli" 
> > wrote:
>
> > > Hi All,
> > > I am new to cakePHP, but really impressed with the blog example and tried
> > > similar other example also.
> > > Now I want to design a static website, with less dynamic functionality, (3
> > > to 4 through out the site). But it has common modules, like header, side
> > > navigation etc.
>
> > > Can I use cakePHP to implement this. Any tutorial or material for this?
>
> > > Thanks & Regards
> > > Sridhar Kuppalli- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How well I can use CakePHP for building static site ?

2009-01-12 Thread Keith

While it's definitely possible to do the things you're talking about
with CakePHP you might just want to take advantage of the Server Side
Include technology that HTML can do natively.  Every time you add on
another layer of technology (in this case PHP, and then CakePHP) you
add some complexity into your processes.  CakePHP is a great tool, but
it's not the answer for everything necessarily so just keep that mind
as you move forward.

- Keith

On Jan 12, 10:48 am, "dr. Hannibal Lecter" 
wrote:
> Hi Sridhar,
>
> Of course you can use CakePHP to build a static site. Search for
> articles regarding "PagesController", a built-in controller which
> enables you to do just that - show static pages. Your header, side
> navigation etc are handled with view layouts. Hope that helps a bit.
> Welcome to cake world, keep learning it, it's worth it. ;)
>
> Cheers!
>
> On Jan 12, 3:33 pm, "Sridhar Kuppalli" 
> wrote:
>
>
>
> > Hi All,
> > I am new to cakePHP, but really impressed with the blog example and tried
> > similar other example also.
> > Now I want to design a static website, with less dynamic functionality, (3
> > to 4 through out the site). But it has common modules, like header, side
> > navigation etc.
>
> > Can I use cakePHP to implement this. Any tutorial or material for this?
>
> > Thanks & Regards
> > Sridhar Kuppalli- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How well I can use CakePHP for building static site ?

2009-01-12 Thread dr. Hannibal Lecter

Hi Sridhar,

Of course you can use CakePHP to build a static site. Search for
articles regarding "PagesController", a built-in controller which
enables you to do just that - show static pages. Your header, side
navigation etc are handled with view layouts. Hope that helps a bit.
Welcome to cake world, keep learning it, it's worth it. ;)

Cheers!

On Jan 12, 3:33 pm, "Sridhar Kuppalli" 
wrote:
> Hi All,
> I am new to cakePHP, but really impressed with the blog example and tried
> similar other example also.
> Now I want to design a static website, with less dynamic functionality, (3
> to 4 through out the site). But it has common modules, like header, side
> navigation etc.
>
> Can I use cakePHP to implement this. Any tutorial or material for this?
>
> Thanks & Regards
> Sridhar Kuppalli
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



How well I can use CakePHP for building static site ?

2009-01-12 Thread Sridhar Kuppalli
Hi All,
I am new to cakePHP, but really impressed with the blog example and tried
similar other example also.
Now I want to design a static website, with less dynamic functionality, (3
to 4 through out the site). But it has common modules, like header, side
navigation etc.

Can I use cakePHP to implement this. Any tutorial or material for this?

Thanks & Regards
Sridhar Kuppalli

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---