Tag Archive

PHP 5.3 namespaces for the rest of us">PHP 5.3 namespaces for the rest of us

Published on 29 March, 2010 By Danny Froberg

Accord­ing to the offi­cial doc­u­men­ta­tion, PHP name­spaces have been designed to pre­vent name col­li­sions between classes from dif­fer­ent pack­ages and to avoid the use of very long names in the code to refer to classes or functions—nobody really wants to have to deal with some­thing called Zend_Db_Adapter_Mysqli or PHPUnit_Framework_Constraint_IsInstanceOf, after all. This means that namespaces […]

PHP5 Prefixed codebases">Introducing a Tool for Namespacing PHP5 Prefixed codebases

Published on 29 March, 2010 By Danny Froberg

Ralph Schindler writes;
Hey All–
Over the past few days, I’ve been work­ing on a tool that I think might help expe­dite the task of con­vert­ing all of our code into a Name­spaced code­base.  Cur­rently, it’s been tested on sim­ple com­po­nents like Zend_Acl and Zend_Filter and over the course of the next few days, we’ll be apply­ing it […]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes