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

March 28, 2007

PHP5 WSDL Auto-generation

Filed under: PHP, Downloads — Marcus @ 3:39 pm

So it doesn’t get lost, I’m putting up my old WSDL auto-generation code again… It’s now found its way into PRADO 3.1 as a new service type, though having looked around, I can see another generator that seems as good if not better, as it looks like it provides a few more features than what mine does.

PHP5 WSDL Autogen

.

Powered by WordPress