Escape Artist

No one wanted this stuff on their blog…

SOLID PHP Programming (part 2)

#2) Open/Closed Principle (OCP) Objects should be open for extension, but closed for modification.  You’re taking a proven programming entity and modifying it’s behaviour without altering it’s code.  When small changes in code result in a landslide of subsequent changes, your program is inflexible, slow and really fragile.  OCP remedies this problem. You’re applying this [...]

, , , , ,

SOLID PHP Programming (part 1)

I’ve been attending a series of meet-ups, exploring how SOLID principles, originally a mnemonic created for JAVA, can be applied to our work in PHP. The acronym SOLID stands for Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency inversion. The aforementioned applied in conjunction, although they slow the coding process, should make your applications [...]

, , , , ,