Tag Archive

Zend Framework + Doctrine 1 Integration

Published on 24 May, 2010 By Danny Froberg

Ben­jamin Eber­lei writes; Hello every­one,
I com­pleted a first ver­sion of Zend + Doc­trine 1 inte­gra­tion today and want to share it with all you. Since cur­rently the sta­tus on a 1.11 release is unclear I con­tacted all the con­trib­u­tors to var­i­ous Doctrine-related com­po­nents and com­bined them into a sin­gle release and wrote some doc­u­men­ta­tion on […]

Accessing Bootstrap Resources from Anywhere

Published on 14 May, 2010 By Danny Froberg

Alek­sey V. Zap­parov posts a very nice solu­tion to a very com­mon ques­tion when deal­ing with Boot­strap resources;
Hello,
You can either reg­is­ter pre­cious resources in reg­istry, e.g.:

pro­tected func­tion _initMyResource()
{
$res = ‘foo­bar’;
Zend_Registry::set(‘myResource’, $res);
return $res;
}

Or you can reg­is­ter the whole boot­strap, so you can place in […]

ZF Action Controllers">A Simple Resource Injector for ZF Action Controllers

Published on 20 March, 2010 By Danny Froberg

Matthew Weier O’Phinney writes a very use­ful arti­cle about resource injec­tion; Bran­don Sav­age approached me with an inter­est­ing issue regard­ing ZF boot­strap resources, and access­ing them in your action con­trollers. Basi­cally, he’d like to see any resource ini­tial­ized by the boot­strap imme­di­ately avail­able as sim­ply a pub­lic mem­ber of his action con­troller.
So, for instance, if […]

Easy command line scripts with Zend Application

Published on 25 February, 2010 By Danny Froberg

David Caunt wrote up a use­ful arti­cle on com­mand line script­ing;
As PHP devel­op­ers, it is con­ve­nient to be able to write com­mand line scripts in PHP. In doing so, you will almost cer­tainly want access to Zend Frame­work com­po­nents and their con­fig­u­ra­tions as if you are writ­ing a nor­mal MVC app, but […]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes