Tag: cakephp

cakephp password hashing

cake’s auth component has a password method. this is called to hash all passwords before its made avail to the app controller.

When integrating with a legacy database that uses md5, simply return md5($password) here instead of calling Security::hash()

 

cakephp baker

PS
I like the console app for cakephp which generates code, but have found the command line wizard a bit tedious. I’ve always dream’t of finding a nice gui for invoking a series of commands. Finally I set about writing one

You can download the zip here. Read more »

cakephp baking

Baking is the way of generating code in cakephp.
You can bake anything from plugins to views.
First create the tables needed. based on where the cake bake command is invoked, the baker automatically connects to the default db configured in app/config and prompts what to bake.
Logically, baking is done in this order. Model, Controller, Views.

See a quick tutorial here or view the original screencast (with ads) or on youtube.

To bake plugins, see here.

 

displaying tree info

Statement

given an item which has a parent of itself, its possible to make this into a hierarchical object format and diplay it using a combination of ul / li.

I’ve developed this in both C# and cakephp (See overleaf), and now in 2015 using Yii (without the Set class). Read more »