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 | @passionsmynorth Yessssssssss
  • Tweeted | RT @FrogandToadbot: 'Tomorrow!' cried Toad. 'I will do it all tomorrow!'
  • Blogged about hiking | Reavis Ranch Loop.
  • Tweeted | RT @cassidoo: code, amirite
  • Read Mind of My Mind (Patternmaster, #2) by Octavia E. Butler.
View more activities…