|
You are here |
brunty.me | ||
| | | | |
conradakunga.com
|
|
| | | | | Suppose you had the following class: | |
| | | | |
shermanonsoftware.com
|
|
| | | | | A static analyzer can go through code and find big-O type problems. A developer can go through and refactor the code to make it run more efficiently. Neither of these tasks requires much context about the larger system. For example, a function can take a list of contacts and load each one from the database.... | |
| | | | |
tomasvotruba.com
|
|
| | | | | While working with legacy projects, I often encountered this anti-pattern of misusing repositories. Instead of easy-to-inject service, projects are locked into a service locator. This makes code hard to upgrade and locks your project heavily to the Doctrine ODM packages. And there are plenty of them. Each extra package bites off its share of upgrade costs. Today, we look at how to refactor the ODM service locator to independent services and separate your project from ODM. We also get a few advantages in strict type coverage. | |
| | | | |
www.fearofoblivion.com
|
|
| | | A blog containing the thoughts and ideas of me | ||