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

  • Read A World of Secrets (The Firewall Trilogy, #2) by James Maxwell.
  • Blogged about personal | Social Contracts Under Stress.
  • Tweeted | RT @polina_giralt: My pomodoro technique: 1. Pick a task from the infinite to-do list 2. Focus really hard on it until a slack message show…
  • Tweeted | If developer performance was measured in number of characters written then maybe variable names would be more semantic.
  • Read A Girl From Nowhere (The Firewall Trilogy, #1) by James Maxwell.
View more activities…