Paul Meagher wrote in to tell us about a new posting on PHPMath.com discussing some Design Patterns for PHP-based Math Packages
Researching the design of a distributed opensource php-based math library is an ongoing concern for me. I am making some progress but there is still lots to do. I want to share with you a simple design pattern that I have found makes development work easy for me. It concerns the management of your namespace and a simple convention that I find easy to use. In a nutsell, it is this: Use abbreviations for your package name so you don't end up repeating yourself.
The idea behind this commentary is that there seem to be too many "wasted keystrokes" in the design and implementation of PHP packages (specifically math-related ones). He also mentions a specific pattern (Function Vectorization Design Pattern) that would put to use a good design pattern and have well thought-out, easy to use code/functionality.




