Tag: Principles

Dependency management

Programming #Principles #Craftsmanship #SOLID

Feb 12, 2012 - 4 comments

Dependency management

Almost all code we write builds on code others wrote. Whether you use some micro or macro framework, company code base or open source library, code is seldomly written in a vacuum. This can lead to several problems, for which several solutions have been devised. How can we structure our software to prevent dependency problems? This article describes common pains and symptoms of bad dependency management and common techniques for dealing with project-wide dependencies.

Read more »

SOLID design

Programming #SOLID #OOP #PHP #Architecture #Principles

Aug 10, 2011 - 8 comments

Oh how we love acronyms. We’ve discussed a lot about writing a class, but we haven’t talked about writing classes yet. How do you know if your solution is right? It is not enough to have a working program. SOLID is a set of principles that define severable measurable properties your architecture should have at least, in order to be dubbed right.

Read more »