Blueprints for Success – January 2017
We have a new issue of the magazine to ring in the new year! This issue collects articles to help you plan and make your application and code better. These may be well-known design patterns, fundamental concepts, or novel applications of a familiar tool. At some point, if you haven’t already, you’ll realize a little planning and learning how others have solved a problem can go a long way. You’ll see failure cases you may not have considered, or you’ll find an approach that is easier to maintain or scales faster.
In this Issue
“Blueprints for Success” includes articles on:
- Explaining Object-oriented Design and Patterns. Design patterns have been discussed by PHP practitioners for ages now. This issue lays the groundwork to help you use and understand Object in PHP. Also, We’ll take a look at four useful ones to consider: dependency injection, factory method, strategy, and chain of responsibility.
- James Titcumb introduces us to the Better Reflection library. If you’ve ever needed more power than the built-in PHP Reflection library provides, this is worth a look.
- Monkey Patching your Tests looks at using both some reflection and mocking libraries to test PHP’s built-in functions.
- Ed Barnard writes about using Mockery to handle dependencies in your unit tests.
- Writing Characeterization Tests with Behat. Michael Heap shows how to use Behat to document how legacy code works.
Get Your Copy
Our columns this issue also have Uncle Cal’s Thank You letter, Security Resolutions for 2017, and advice on being a Polyglot. Click the link below to see the full contents and download a sample article. Each issue of php[architect] is available in print and DRM-free digital downloads. Subscription options are shown at the link below.