What I've found for March 01, 2015

New Site - Thoughts and Considerations - MartinWolf.org - Freelance Web Developer
: Martin redesigned his site. I always like to read about people's workflows.:

As you may have noticed I redesigned this very site. Since going freelance I only had the blog which also acted as my portfolio of sorts

Introduction to the React JavaScript Framework -Telerik Developer Network
: Perhaps you've never tried out React until now. Here's your next chance: “React is a JavaScript library created by a collaboration of Facebook and Instagram. Its aim is to allow developers to create fast user interfaces easily. React makes no assumptions about the rest of the technology stack used, thus it’s easy to try it out on a small feature in an existing project.”

Your nesting is harmful — Medium
: Two years ago we’ve started adding a preprocessor, Sass to be more precisely, to our toolchain. … What started as a wonderful journey at the time ended up in a not so beautiful picture about the usage of preprocessors. I’ve learned a lot in the last two years and I’ve seen some of these opportunities used in an alarming way, especially nesting.

Server-side rendering of Single Page Apps
: Michael Mahemoff discusses an alternative approach to server-side rendering of Single Page Apps. I don't really like his idea, but perhaps you do?: “But what if you don’t have, or don’t want to have, your server-side code base in JavaScript? You could still separate out a web tier microservice (it’s the future!) in JavaScript. If you don’t want to do that, you could pre-render every page using a headless browser and build it as a static HTML file. That has the advantage of being super-fast, but ...

Critical CSS and Performance – David Bushell – Web Design & Front-end Development – David Bushell make websites. I help small businesses, start-ups, individuals, and fellow web agencies make the most of their web presence.
: David optimized his site to show content as quick as possible. Read how: “By inlining critical CSS the browser can start to render immediately while the rest is downloaded asynchronously. What is critical CSS? Anything above the fold apparently. PageSpeed Insights is a useful tool. My original stylesheet was only 35KB so I was skeptical that I’d see any improvements. Nevertheless, I manually extracted 10KB of typographic and layout styles to inline.”

www.leighhalliday.com
: A Struct in Ruby is one of the built-in classes which basically acts a little like a normal custom user-created class, but provides some nice default functionality and shortcuts when you don't need a full-fledged class. Below I'll discuss some of the different places you might want to use a Struct, but first let's look into what a Struct looks like and a comparable class.