8
The Money Pattern, defined by Martin Fowler and published in Patterns of Enterprise Application Architecture, is a great way to represent value-unit pairs. It is called Money Pattern because it emerged in a financial context and we will illustrate its use mainly in this context using PHP.

Comments

Who Upvoted this Story

What is Kahuk?

Kahuk is an open source content management system that lets you easily create your own user-powered website.