Archive for the ‘preprocessors’ Category

How to Write JavaScript-Style Test Watchers in PHP

Posted on: No Comments
I didn't start out writing tests for my code. Like many before and since, my "testing" was to write code and refresh the page. "Does it look right?", I'd ask myself. If I thought so, I'd move on. In fact, most of the jobs I've had have been with compan...

Game Development with React and PHP: How Compatible Are They?

Posted on: No Comments
"I'd like to make a multiplayer, economy-based game. Something like Stardew Valley, but with none of the befriending aspects and a player-based economy." I started thinking about this the moment I decided to try and build a game using PHP and React. Th...

How to Make Modern PHP More Modern? With Preprocessing!

Posted on: No Comments
Let's have a bit of fun. A while ago, I experimented with PHP macros, adding Python range syntax. Then, the talented SaraMG mentioned an RFC, and LordKabelo suggested instead adding C#-style getters and setters to PHP. Aware of how painfully slow it ca...

Variables: The Backbone Of CSS Architecture

Posted on: No Comments
  When they hit the front-end landscape a few years ago, preprocessors were heralded as the saviour of CSS, bringing modularity, meaning and even a degree of sexiness. Terms like “Sass architecture” became commonplace, ushering in a new g...

An Introduction To PostCSS

Posted on: No Comments
  The development of CSS, like all languages, is an iterative process. With every major release, we get new features and syntaxes that help us write our styles. CSS Level 3 introduced features that enable us to design interactions that previo...

Smarter Grids With Sass And Susy

Posted on: No Comments
  If you’re a designer, you’ll know that grids are your friends. More often than not, they’re the vital architecture that holds a beautiful design together; they create rhythm, structure your page, lead the eye, and prevent the whole th...