开发者

cakePHP, what to do next?

I've followed some tuto开发者_高级运维rials about cakePHP and now it's done, the "mvc" is ready.

What should I do next?

Meaning: I was working locally, can I simply upload the complete app online and it is secured as 'they' meant it to be?

I've downloaded the 1.3.6 package from https://github.com/cakephp/cakephp/archives/1.3, and deployed it as is in a folder named as my domain.

Edit:

I have win-xp with wamp.

I created the app by simply unzipping the file to a folder and then renamed it to 'domain_name'.

Then I made the db connection and set the configuration files.

At that point I created the models, views and controllers.

Now the application is working, locally.

My question is: can I simply upload everything to my server, to the html root folder and say that "I am done"?


As long as your app isn't already in production, putting it online can tell you more about how it's working. For instance, you'll learn if there are missing modules or dependencies that must be installed on the live server.

If it's an already live system, you may want to use an online staging server to understand what needs to be modified on the production server in order to have a smooth deployment.


There are three ways that you can deploy your cake app (Development, Production and Advanced), and all of them are secure:

http://book.cakephp.org/view/912/Installation

I would recommended the Production install if you aren't going to run any other apps on this server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜