Profile cover photo
Profile photo
Russell Walker
11 followers
11 followers
About
Russell's posts

Post has attachment
Domain example.com has exceeded the max defers and failures per hour
When sending e-mail from a cPanel hosting account, you might find that you get an error message similar to this: "Domain yourdomain.com has exceeded the max defers and failures per hour (5/5 (100%)) allowed. Message discarded." If you are getting that error...

Post has attachment
How the heck to you implement a dependency injection container?
When I started learning object oriented
programming, I quickly discovered the joys of dependency injection.
It's not hard to understand why you should do it, nor is it hard to
understand how to do it (but if you need a refresher, see my earlier post ). For ...

Post has attachment
How the heck to you implement a dependency injection container?
When I started learning object oriented
programming, I quickly discovered the joys of dependency injection.
It's not hard to understand why you should do it, nor is it hard to
understand how to do it (but if you need a refresher, see my earlier
post:
http:/...

Post has attachment
PHPUnit: cannot open file bootstrap.php
This post is google fodder for anyone who comes across the error 'cannot open file: /some/directory/here/tests/unit/bootstrap.php' when attempting to run unit tests with PHPUnit. In particular, I got this error when trying to set up unit tests for a new pro...

Post has attachment
Entities vs Value Objects and Doctrine 2
An aspect of Domain Driven Design (DDD)
that I find quite appealing is the differentiation between entities
and value objects. I don't think you even need to embrace DDD as a
whole to benefit from this distinction (I'm not saying you shouldn't
embrace DDD, ...

Post has attachment
Entities vs Value Objects and Doctrine 2
An aspect of Domain Driven Design (DDD)
that I find quite appealing is the differentiation between entities
and value objects. I don't think you even need to embrace DDD as a
whole to benefit from this distinction (I'm not saying you shouldn't
embrace DDD, ...

Post has attachment
Entities vs Value Objects and Doctrine 2
An aspect of Domain Driven Design (DDD)
that I find quite appealing is the differentiation between entities
and value objects. I don't think you even need to embrace DDD as a
whole to benefit from this distinction (I'm not saying you shouldn't
embrace DDD, ...

Post has attachment
Active Record vs Data Mapper for Persistence
These two design patterns are explained in Martin Fowler's book 'Patterns of Enterprise Application Architecture', and represent ways of handling data persistence in object oriented programming. Here are the basics: Active Record Example class Foo
{
pr...

Post has attachment
**
These two design patterns are explained in Martin Fowler's book 'Patterns of Enterprise Application Architecture', and represent ways of handling data persistence in object oriented programming. Here are the basics: Active Record Example class Foo
{
pr...

Post has attachment
Public properties, getters and setters, or magic?
Opinion seems to be divided on whether it is good practice to use public properties in PHP classes, or whether to use getter and setter m...
Wait while more posts are being loaded