Loading CakePHP Helpers, Components and Behaviors on the fly

Disclaimer: All credit goes to Jose Diaz-Gonzalez, whose post Adding a Helper/Behavior/Component on the fly, contains the 99% of the code I needed to create this component. He’s the one who came up with this idea, I just put it all into a component and added a few tweaks here and there. Thanks, Jose.

FlyLoader @ GitHub: Source (temporary location)

The FlyLoaderComponent will import and load Helpers, Components and Behaviors on the fly. Cases in which this may because useful is if the Helper/Component/Behavior is only needed in certain cases/actions.

Read More

[ALPHA] Retrieve Bible passages with the Bible plugin for CakePHP (ESV)

Bible @ GitHub: Repository | Download

I’m happy to announce the release of the alpha version of my Bible plugin for CakePHP! It’s alpha because, well, it’s really limited right now… but if all you want is to retrieve passages from the Bible, this does the job.

The Bible plugin was created with the intentions of expanding support for various translations of the Bible. However, as it stands, it currently only supports the English Standard Version (ESV).

Read More

Cuploadify: The CakePHP plugin for Uploadify

UPDATE #2: 2011/01/29 – Documentation for overloading include_scripts paths.
UPDATE #1: 2011/01/17 – Split article to separate element and view information.

Cuploadify @ GitHub: Repository | Download

Uploadify example

To install this plugin, simply unzip the latest stable build into your /app/plugins/cuploadify directory.

In my attempt to decouple all of my CakePHP projects into separate, reusable plugins, I’ve created a CakePHP plugin for Uploadify. For those of you who aren’t familiar with Uploadify, they describe themselves as “a powerful and highly-customizable file upload script.”

Read More