You are here: Home, sweet home » CakePhp Notes  
 

CakePhp Notes

Links

Notes

CakePHP / DokuWiki integration

I want to use DokuWiki as 'CMS', and 'fit' some CakePHP applications in it… The hard part is sharing page layout (template) and user credentials in a transparent way.

→ Read more...

Tutorials

These are great tutorials from IBM (local copy because I got tired to Google them each time :-/) os-php-cake1.pdf os-php-cake2.pdf os-php-cake3.pdf os-php-cake4.pdf os-php-cake5.pdf

Getting started

  • Download: I got cake-1.2.5
  • Unpack: in the directory above public_html –> …/cake_1.2.5/
  • cp -r app myapp
  • cd myapp
  • chmod -R +rw tmp # maybe ugo+rw
  • change salt in config/ore.php
  • cp database.php.default database.php # edit details
  • create database
  • cd …/public_html; ln -s ../cake_1.2.5/myapp mycake

App should be available at http://my.site.tld/mycake/index.php

Baking...

cd .../cake_1.2.5/myapp
../cake/console/cake
   
Last modified: 2009/12/29 15:25 Mijn Fijne Site hosting en design