Re: Simple Static Site with Cake

2009-06-01 Thread BeroFX
If you need only static pages you don't need models. Just place your pages in the views/pages folder E.g. if your page is about-us.ctp you'd access it via www.mysite.com/pages/about-us You can further alter the routes.php in /config folder to remove the / pages in the URL On Jun 1, 10:02 pm,

Simple Static Site with Cake

2009-06-01 Thread takabanana
I realize CakePHP's strength is in a site that uses databases connectivity, and the usage is largely based off of using Models. But what if I wanted to, at least temporarily, build a simple static site, but still use CakePHP? i.e. No database connectivity, just static content. Similarly, for a