Archive for April, 2017

Upgrading Sylius the TDD Way: Exploring Behat

Posted on: No Comments
Last time, we developed some new features on top of Sylius' core to indicate which products and their variants are low on stock and need replenishing. Now, we move on to seeing our changes in the UI, which means we will need to do a bit of StoryBDD tes...

Using npm as a Build Tool

Posted on: No Comments
The main purpose being: you're using npm anyway, so using it directly to run scripts removes a dependency (i.e. gulp/grunt/whatever) and brings you a bit closer to the tools you are using directly. I could see this example `package.json` file from Grah...

TypeScript at Slack

Posted on: No Comments
An excellent subhead by Felix Rieseberg: How I Learned to Stop Worrying & Trust the Compiler. I'd wager that some of the popularity of SCSS was due to that fact that any valid CSS was valid SCSS, so you could baby step into SCSS on an existing codebase...

Upgrading Sylius the TDD Way: Exploring PhpSpec

The post on developing and testing new Sylius features was an introduction to the three types of tests that are used in Sylius - PHPUnit, Phpspec and Behat. In this part, we'll extend some core classes to indicate color-coded inventory status. First, w...

Managing State in CSS with Reusable JavaScript Functions

Posted on: No Comments
Determining the most efficient way of managing state can be a challenging issue in CSS, but thankfully there are many OOCSS-based methodologies out there which provide some good solutions. My preferred comes from SMACSS (Scalable and modular architectu...

YouTube: High-Resolution Content Easily Downloaded

Posted on: No Comments
Like yourself a fast YouTube download? The video platform that used to be filled with shaky, private videos has become an entire media world of its own – with its own stars and “TV channels.” From a technological standpoint, we went t...

Poly Fluid Sizing

Posted on: No Comments
Fluid typography is pretty amazing. We have a writeup of how it all works. But as fancy as that is, it's still scaling the type linearly. What if we wanted the type size to fall along a curve? The math gets a bunch more complicated, but it's possible. ...

Functional Programming with Phunkie: Funky Parser Combinators

Posted on: No Comments
Phunkie is a library with functional structures for PHP. In this tutorial, Phunkie creator Marcello Duarte, head of training at Inviqa, explains how to create Parser combinators using the functional library. This post first appeared on the Inviqa blog,...