PHPnews.io

Overview for 'mattbriggs'

Scope in Angular

Written by Matt Briggs / Original link on Jan. 22, 2014

Angular goes in a different direction then most other frameworks, by having the html you write drive the composition of UI components. This allows you to succinctly wire up components without boilerplate, but it also creates some issues. How do you share data? How to components get configured? How…


Understanding Angular Directives

Written by Matt Briggs / Original link on Jan. 14, 2014

Angular is the hottest JavaScript framework out there right now, and for good reason. It is a very powerful, flexible, and well designed framework for building web applications. However, like many projects, one of its major weaknesses is both the quantity, and quality, of its documentation. Because…


Sometimes, It's OK to Leave a Mess

Written by Matt Briggs / Original link on Apr. 19, 2013

Recently… we watched the excellent lunch and learn video from Hashrocket, where Sandi Metz talks about test design. While the whole video is worth watching, one thing that stood out to me was her term “Omega Mess”. The first time I heard someone refer to this concept was pairing with Victor Savkin,…


data-attributes are an anti-pattern

Written by Matt Briggs / Original link on Aug. 10, 2012

HTML5 has a lot of cool things in it, but the one thing I wish I could remove are data-attributes, because of the crimes against clean front-end code that it seems to encourage. What is this clean web code you speak of? We have 3 technologies that go into building a web app, HTML, CSS, and JavaScri…



The Many Faces of Ruby Callables

Written by Matt Briggs / Original link on May. 5, 2012

One of the most valuable ideas from functional programming is the idea of Higher Order Functions, or functions that take functions as an argument. It is such a good idea that it has become part of pretty much every modern language, whether functional or not. Amoung the OO imperative languages that…