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 | @beekman33 Relatively easy. It’s like climbing stairs in slow motion, all in the legs and one step at a time. Start… [twitter.com/i/web/status/1…]
  • Blogged about hiking | Two Hikes in Show Low.
  • Read Reamde by Neal Stephenson.
  • Hiked 2.20 miles and felt good.
  • Tweeted | Preparing to enter a four day weekend of solo parenting. We’re gonna need more Zin in this house.
View more activities…