Your Angular.js directives will break when minified. This is how you write directives #likeaboss

Surprisingly enough, if you write your directive controllers as per the documentation, they will break when minified.
Image
IMO the standard should be to write minification compatible code. The docs do talk about using the minfication-compatible square-brakets [] DI syntax for controllers and such, but not for directive controllers. In fact every directive I’ve ever seen in videos, at meetups or in docs will break when minified.

Be German About Your Frontend (And Ripping Magento’s Face Off)

Just finished my talk at the super high energy #MagentoLive conference in London. The response was really positive (see below), it’s really encouraging to see people impressed with the technical work we’ve put in to BRANDiD.

My presentation is about ripping the frontend off Magento and rebuilding it with more modern technologies like Angular.js, Parse and SASS and explaining all the benefits of working this way. It means we can split frontend teams from backend teams, have an idiotproof upgrade path, lightning fast page load speed and amazing flexibility.

My slides are below. Shout out to Adrian of GPMD for going through my slides with me last night.

Thanks for the kind words: