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…)
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.

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