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, takabanana <[email protected]> wrote: > 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 database-driven site, how are the Models > designed for the links/pages that require no models/database? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
