Tagged Questions
9
votes
2answers
442 views
How do I partially add PHP namespacing to a library without breaking existing code?
My company has created a modular PHP framework over the years, beginning long before PHP 5.3 added namespaces. Recently, we decided to start using namespaces in our library's new code, and we intend ...
1
vote
1answer
643 views
Dynamic Class Inheritance For PHP
I have a situation where I think I might need dynamic class inheritance in PHP 5.3, but the idea doesn't sit well and I'm looking for a different design pattern to solve my problem if it's possible.
...
9
votes
1answer
360 views
Evaluating PHP namespaces
I'm at the pre-release stage of an open-source PHP project, one which I hope will be used by other developers in their own projects. The project doesn't currently support namespaces and I'm trying to ...
3
votes
2answers
261 views
Namespaces just seem to be making things more complicated. Am I missing something?
Now that I am using namespaces in my php files which match the file's path, I have to append a namespace to pretty much every class instantiation. The namespaces definitely help my autoloader find ...