cdub
cdub

Reputation: 25711

Using CakePHP 1.3 but have no database

What's a good why to use CakePHP 1.3 for my website, but I have no database, since the site is pretty static?

Upvotes: 1

Views: 224

Answers (2)

Borislav Sabev
Borislav Sabev

Reputation: 4856

Although I generally agree with gvLearner's point if you'd like to have a static html site, but still use some of CakePHP's abilities and be able to easily transform the site to a dynamic one in the future you can use Cake's built in Pages Controller.

The CakePHP core ships with a default controller called the Pages Controller that is generally used to serve static pages. Check out the documentation link I sent, I hope it'd would do you good.

Cheers, Borislav.

Upvotes: 2

Saanch
Saanch

Reputation: 1844

You can use simple HTML to develop a site which is having all Static Content. And if it having a single contct page or something which you can develop in simple PHP. You don't need to use CakePHP for that.

CakePHP framework is used for web application that needs to interact more with databases.

Upvotes: 2

Related Questions