At Smashing Magazine, FT Labs front-end developer Wilson Page details some of the back-end tech behind the Financial Times’ shift from native apps to HTML5 on mobile platforms.

Among the highlights: using flexbox to fill defined vertical space, a JavaScript library called FTEllipsis to manage text flowing in a confined area, icon fonts for retina-ready images, and more natural-feeling scrolling. Much of the new code is open-sourced on the FT Labs GitHub.

We didn’t just want to build a product that fulfilled its current requirements; we wanted to build a foundation that we could innovate on in the future. This meant building with a maintenance-first mentality, writing clean, well-commented code and, at the same time, ensuring that our code could accommodate the demands of an ever-changing feature set.

Get Nieman Lab’s Daily Digest

The most important stories about journalism and the future of news, delivered to your inbox every afternoon.

Joshua Benton is the senior writer and former director of Nieman Lab, which he founded in 2008. You can reach him via email, Twitter (@jbenton), or Bluesky.

The latest from Nieman Lab

Confident kids, cautious elders: What we get wrong (and right) about who really understands social media algorithms

The generational edge that shows up when you ask people how well they understand algorithms isn’t a knowledge edge. It’s a confidence edge.

Newsletters, obits, and the world’s longest yard sale: How some local news sites saw their traffic spike

Big gainers included W42ST, the Point/Plover Metro Wire, Grice Connect ("In the rural south, death is a large social driver"), and the Philomath News. Here’s our quarterly ranking of the top 25 local for-profit news sites in the United States.