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 | @BugsySailor @msulibraries This map has a complete M35! Nice.
  • Blogged about hiking | Ballantine Trail to Pine Mountain.
  • Hiked 2.10 miles and felt great.
  • Tweeted | RT @IBMNews: IBM’s Watson integrates Shutterstock to make photos, videos, and music easier to find [venturebeat.com/2018/05/17/ibm…] via @VentureBeat
  • Tweeted | Friends don’t let friends implement cursor-based pagination.
View more activities…