6

128: Alasdair Monk - Scaling CSS at Heroku with Utility Classes

 2 years ago
source link: https://share.transistor.fm/s/6334724d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Full Stack Radio

Full Stack Radio • Episode 128
128: Alasdair Monk - Scaling CSS at Heroku with Utility Classes
00:00|61:11
Subscribe Share More Info
Share
Embed
Share
November 20, 2019 • Episode 128
128: Alasdair Monk - Scaling CSS at Heroku with Utility Classes
By Adam Wathan • View the Website
In this episode, Adam talks to Alasdair Monk about how they approach CSS at Heroku, and how using a utility-based approach has kept their team happy for the last three years.
Broadcast by

Episode Details

In this episode, Adam talks to Alasdair Monk about how they approach CSS at Heroku, and how using a utility-based approach has kept their team happy for the last three years.

Show Notes

Topics include:
  • Why Heroku introduced BEM to try and solve their CSS issues and why it didn't work
  • How custom tooling and Ember's component system alleviated any maintainability concerns about littering the HTML with presentational classes
  • Why Heroku still uses some component classes like "btn" and "input" even though they could encapsulate those in an Ember component
  • Why simply introducing any sort of rigid CSS architecture wasn't enough and why switching to a utility CSS approach specifically was critical to making UI development at Heroku more maintainable
  • How with a non-utility CSS approach, every new feature always seemed to require writing new CSS, no matter how many "reusable" components existed in the system
  • Why the team at Heroku still loves working with this approach, even 3.5 years after introducing it
  • How a utility-based approach has worked just as well for Heroku's marketing properties as it has for their application UI
  • Pylon, Alasdair's experimental CSS library that provides declarative layout primitives in the form of custom HTML elements
Sponsors:
Links:
  • purple3, Heroku's utility CSS library for their product UIs
  • shibori3, Heroku's utility CSS library for their marketing properties
  • Pylon, Alasdair's declarative CSS layout library

What is Full Stack Radio?

A podcast for developers interested in building great software products. Every episode, Adam Wathan is joined by a guest to talk about everything from product design and user experience to unit testing and system administration.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK