PHPnews.io

Overview for 'mattbriggs'

Awesome Emacs Plugins: CTags

Written by Matt Briggs / Original link on Mar. 17, 2012

I wanted to write a series of posts on awesome emacs plugins I use, since I have put a lot of time and effort into my emacs configs. The funny thing I find about emacs though is that there is such a massive amount of functionality already provided, most neat things plugins do is augment stuff that…


Why I like Object#tap

Written by Matt Briggs / Original link on Mar. 7, 2012

In a recent Destroy All Software screencast, Gary mentioned how he really doesn’t like Object#tap. He was using it in this sort of context 1 2 3 4 5 6 7 8 9 10 class StoreCache def self.for_term(term) begin CachedScore.for_term(term) rescue CachedScore::NoScore RockScore.for_term(term).tap do |scor…


Awesome Emacs Plugins: Evil Mode

Written by Matt Briggs / Original link on Feb. 27, 2012

I want to do a series of posts on some of the cool emacs plugins I use. Before I do that though, I want to talk a bit about why I use and love emacs. The saying “Care about the code, not the tools” is an anathama to me, it is like “Care about breathing, but don’t worry about drinking”. Breathing is…


Repository Pattern In Rails

Written by Matt Briggs / Original link on Feb. 23, 2012

I have been working a lot on an app using MongoDB as the datastore, and Mongoid as the OR/M (or ODM to be more specific). In a relational database, you keep your data as segregated as reasonably possible, and then join it together in appropriate ways when you need it. The up side to this is that it…