Reading Time: 14 minutesEvery once in a while someone asks specifically about how to manage CSS performance for a website. What if there’s a lot of components? What if there’s a lot of animations? What if there’s a lot of just CSS?
Tag: Best Practices
A Small Guide for Writing Comments in Front-end Code
Reading Time: 14 minutesHygenic code is commented code. But often, it can be difficult to understand where, when, or even how to comment your front end code. So I’d like to share a small guide for writing comments in your front-end that makes the developer experience better for everyone.
Good-enough JavaScript Practices
Reading Time: < 1 minuteI’m not Kyle Simpson or Jordan Harband. I’m not some massive JavaScript influencer and OSSer who’s writing new lint tools and utilities. But I am a dude who loves code standardization. So I want to share some good-enough JavaScript practices … Continue reading
A Small Guide for Naming Stuff in Front-end Code
Reading Time: 9 minutesPhil Karlton has famously said that the two hardest things in computer science are naming things and cache invalidation. That’s true. Naming stuff is hard, and so is updating a class name when the stylesheet is cached.
Using :not()? Try NOT to…
Reading Time: 4 minutesCSS is full of little gotchas and head scratchers. It’s also got a land mine or two that’s all too easy to step on. One of those landmines is the :not() pseudo-class. As useful as it may seem, I’d like … Continue reading
Quick Tips for CSS (that scales) for a CMS
Reading Time: 7 minutesIt’s not that hard to write CSS. The basics of how the language works can be learned in 15 minutes. Most of the major properties and techniques for using them can be learned in a few days. You can learn … Continue reading
Front-end Best Practices for Tridion’s Experience Manager
Reading Time: 2 minutesTridion’s Experience Manager (XPM) has been a hot topic at Tahzoo recently. Piti Itharat, Shawn Webber, and I have all been talking about some of the “gotchas” we’ve experienced in the front-end of XPM implementations. Especially after a few front-end … Continue reading