CakePHP Quick Tip: $html->clearCrumbs

Published: on 16/10/08 | Comments (0)

Hi All

As part of an ongoing project, I was using the CakePHP's htmlHelper to generate breadcrumbs.

Now combined with the tree behavior's getpath function, the $html-addCrumb() and $html-getCrumbs() functions are great and a real time saver, but...

...for this particular page I actually want to show two or more different bread crumb trails, one for location, and one or more for categories, and that's where I hit a snag, as it stands the htmlhelper allows you to keep adding crumbs and...


CakePHP 1.2.0.7692 RC3

Published: on 2/10/08 | Comments (0)

Hi all,

Just a quick post to help spread the word, cakePHP RC3 is finally here, and according to Nate's latest post at the bakery, this will be the final release candidate before they finalise the 1.2 version.

From reading through Nate's article, and the change set, It's clear that the team have worked tirelessly on iteration after iteration of performance improvements, to make the framework faster than ever before. By itself, the bootstrap process is over 10x faster than RC2, and basic...


Web Development Resources - Aptana Studio

Published: on 11/9/08 | Comments (4)

Aptana Studio

At the risk of showing my age, it's been nearly 28 years since I wrote my first line of code. Way back in the heady days of ZX Basic on my trusty old ZX Spectrum. Back then to get anything usefull done it was Z80 assembly language or nothing.

Over the years I've used a lot of programming languages and a lot of IDE's, from Hisoft Basic on my Atari ST, through to Delphi and Visual Studio.

Nowadays, I tend to work extensively with both the .NET framework using Visual Studio 2008 and PHP...


Quicktips: Finding all the actions in your controller

Published: on 11/9/08 | Comments (0)

Hi All,

Thought I'd share a quick tip today for how to automatically detect all the action names within a given controller.

This follows on from my last quicktip, describing how to detect all the controllers in your application and is usefull from witin navigation code or admin back ends.

$actions = get_class_methods($this);

This returns an array where each element is the name of a method within the current controller.

Filtering your results

You can make this more usefull by...


CakePHP WhoIs Component

Published: on 10/9/08 | Comments (0)

Here's one for all you aspiring web hosting ressellers out there, a fast and flexible whois class all wrapped up as a CakePHP component.

The component makes use of the excellent phpWhoIs class which you will need to download, unzip and place in APP/vendors/phpwhois in order for the component to work.

Click here to download phpWhoIs

phpWhoIs - a brief description

This package contains a Whois (RFC954) library for PHP. It allows a PHP program to create a Whois object, and obtain the output...


<< Newer |
1 | 2 | 3 | 4 | 5 | Older >>

About Studio Canaria

Studio Canaria is the web site of freelance web developer, Peter Butler. Articles on this site relate to designing, developing and marketing modern web applications.

Recent Comments

Imitnessisell on CakePHP Auth Component - Users, Groups & Permissions Revisited
Do you guy's believe in Michael Jackson dead? I don't. His is a legend for me and I fan of...
GarykPatton on CakePHP Containable Behavior
I have been looking looking around for this kind of information. Will you post some more in...
KattyBlackyard on CakePHP Currency Conversion Component
Hi, gr8 post thanks for posting. Information is useful!
BeergeCargo on CakePHP Auth Component - Users, Groups & Permissions Revisited
Nice theme on your web? Are you gues on Twitter? I d like to follow you for updates and stuff!
Guglielmo on CakePHP Auth Component - Users, Groups & Permissions Revisited
This logic can be extended on a single object using id of object?? example of a permission:...