Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMath.com:
Patterns for PHP Math Packages
May 28, 2004 @ 18:03:02

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.

tagged:

Link:


Trending Topics: