Viewing posts about Repository.

Using Domain Repositories for Services

Last year I started building out domain repositories in order to encapsulate the data retrieval for my website. They were easy to build, straightforward to implement, and simple to test. At the time all of the data retrieval was through a standard sql database, so all I had to do was pass in a…

  • Category Web Development
  • Posted July 22, 2016
  • read more

Unit Testing Data Repositories

Unit testing is something that I'm still rough around the edges with. I don't do it nearly enough at work and never really pushed myself to pick it up on the side. With my core site refactor, though, it seemed like a good time to wander into testing. And it made a lot of sense to write unit tests…

  • Category Web Development
  • Posted December 16, 2015
  • read more

Data Repositories in PHP

I've always been a bit wary about ORMs. While I understand the appeal of modeling a data structure in the application and how much fine-grained control that gives you, it just feels like a heavy-handed solution. It's a lot of extra code to write and maintain and to build it out 'properly', with…

  • Category Web Development
  • Posted December 14, 2015
  • read more

Activity Stream

  • Tweeted | RT @jonoringer: Shutterstock and Magic Leap Partner to Transform the Future of Reality [shutterstock.com/blog/magic-lea…] via @shutterstock
  • Tweeted | While I was messing around with a rescue lowering system today my kids got curious and we spent an hour configuring… [twitter.com/i/web/status/1…]
  • Blogged about hiking | Sheep Bridge Loop.
  • Opened a pull request at lorenwest/node-config
  • Created branch fix/immutable-arrays at jacobemerick/node-config.
View more activities…