January 27, 2008

Another PHP dependency injector.

Filed under: PHP, Downloads — Marcus @ 11:46 pm

After working with Spring and Grails recently, I became very comfortable with their method of dependency injection. Based on my experiences, I went and wrote a simple injector that will automatically wire dependencies by name. At first it might seem to have quite an overhead, but in profiling with 40 or so objects being injected in a single request, its footprint was quite light.

Download the injector

Examples in the testing as a basic unit test, or click on for more

(more…)

January 9, 2008

Alfresco and MySource Matrix

Filed under: PHP, Alfresco — Marcus @ 1:17 am

This isn’t a comparison of the two, which I may one day get to having worked extensively with both and having had good and bad experiences with both. Instead, due to the release of a PHP5 version of MySource Matrix recently, I had a few hours in which I quickly created a bridge to pull content from Alfresco into Matrix.

While not completely functional, here’s a quick screenshot because that’s what screenshots are for right? Code to come at a later point in time, but the goal is to be able to perform CRUD operations against an Alfresco repository from within the Matrix backend, and from within a Matrix powered website.

Alfresco in Matrix

“But why, when Alfresco has its own WCM?” you ask? A story for another time I’m sure…

.

Powered by WordPress