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

What’s Next for Montreal-CAC.org?

MCAC is getting a new site… now what?

I’ve decided to split V2 of Montreal-CAC.org into multiple phases, otherwise it would just take too long to get something out there.

BETA
As soon as I have some semblance of a site, I will put it up @ beta.montreal-cac.org. There, potential users/fellowship staffs can start getting acquainted to using the site.

PHASE 1
The goal of Phase 1 is 1) to migrate all the old content (that we intend to keep) to the new structure, 2) to have the site updated more often, 3) to bring the information to the user, not relying on them to look for it and 4) Churchie.org integration.

Read More

Starting a Church Site

In early 2010, I decided that Montreal-CAC.org was more than due for a refresh. It’s been more than 5 years since the current version was pushed out, which means that it’s pretty much irrelevant at this point.

Well, between switching jobs, moving out and getting married, we’re closing in on the end of the year, and there’s been little progress.

What I have done is scrapped two different designs for the new site. I’ve also created a third layout, which looks great now, but will probably face a similar fate as the previous two before it’s release date.

One of the tougher decisions I’ve made was to not use Drupal or WordPress. Don’t get me wrong, I absolutely feel that those are good tools for creating church sites… and if one were thinking of creating a church site, I would definitely recommend checking out those two solutions first before deciding to build your own. If you can fit your site within those frameworks, their community’s plugins will help you tremendously. Unfortunately, I just didn’t see the features I wanted to implement for the new site as being easily integrated into Drupal or WordPress.

In the end, I felt most comfortable with building this site using the CakePHP framework. I’m aware of Drake, the CakePHP module for Drupal, but at this point, it just seems to bloated for what I’m trying to do.

In an attempt to reuse as much code as possible, I’m going to try and make as many generic CakePHP plugins as possible. For example, the management of Users, Groups and Roles will be part of it’s own separate project called the URG plugin. Ideally this plugin will be able to be reused in my future CakePHP projects.

Read More