Archive for April 6th, 2007|Daily archive page
CakePHP: controller without model
Having a controller without a model in CakePHP is very simple: just declare the variable $uses=null in the controller.
class MycoolsController extends AppController{
var $name="Mycools";
var $uses = null;
...
}
Learning CakePHP
I’ll try to sum up here some points where someone can learn how to use the framework CakePHP.
While the best and up to date place surely is the manual, with his blog tutorial, the api and the bakery, there is also a tutorial written by Duane O’Brien: Cook up Web sites fast with CakePHP. While it seems to use some deprecated methods, it’s always a good starting point in order to have survey of the framework.
This tutorial is available in two version: an online (only with free registration) and a pdf (freely available)
- Part 1: Adding related information and services. web pdf
- Part 2: Bake bigger and better with CakePHP. web pdf
- Part 3: Use Sanitize for your protection. web (free access)
- Part 4: Use CakePHP’s Session and Request Handler components. web pdf
- Part 5: Adding cache web (free access)
Update
Following the daniel “cakebaker” hofstetter’s blog, I discovered that there’s also another tutorial written by an IBM’s developer, how to build a wiki with cakephp. For the online version of Criki – the creation of a wiki with CakePHP, as usual you need a free registration, but for the pdf version, download is free.
- Part 1: Introduction and scaffolding
- Part 2: Developing the basic wiki…
- Part 3: Users and permissions
- Part 4: Task management
- Part 5: The open blog
Update
Here are some references for the cakephp
- CakePHP manual
- blog tutorial
- CakePHP API
- The bakery
- Cook up Web sites fast with CakePHP
- Criki – the creation of a wiki with CakePHP
- The CakePHP framework: your first bite
- My cakephp links on del.icio.us
- del.icio.us cakephp links
- the cakephp mailing list
If you have more other advices use the comments
Leave a Comment
Comments (3)