Managing CSS & JS in an HTTP/2 World

We have been hearing about HTTP/2 for years now. We've even blogged a little bit about it. But we hadn't really done much with it. Until now. On a few recent projects, I made it a goal to use HTTP/2 and figure out how to best utilize multiplexing. This post isn't necessarily going to cover why you should use HTTP/2, but it's going to discuss how I've been managing CSS & JS to account for this paradigm shift.

Craft Color Swatches Plugin

The control that Craft can provide a user is what makes it stand out as a content management system. But sometimes we want to limit what a user can choose from. Craft has a built-in Color field which allows a user to select any color from a color picker. There are times when we only want a user to choose from a select number of colors though. Previously we have done this by using a dropdown with a list of colors, but I decided to build a plugin to allow a user to select from an admin-defined set of colors.

Responsive Images with srcset & Craft

Tommy recently wrote about responsive background images in Craft, but I wanted to follow up about how we used the <img> element and srcset to build responsive images on this very site (powered by Craft).

Pending User Plugin for Craft

On a recent project that was built on Craft, I finally got the chance the kick the tires on building a members-only section with Craft. Out of the box, Craft provides so much user functionality, but the user moderation process wasn’t exactly what the client wanted. Luckily, Craft provides us with the ability to change that process with ease.

How to Survive Working from Home

When I started working here five years ago, we had two offices: one in Falls Church, VA and another in Durham, NC. Now we have a third office in Boulder, CO and a handful of employees, including myself, working remotely. Being set up the way we are, we are all used to interacting with remote team members, but the majority of the employees work in an office.

I happily worked from the Virginia office for three years, but because of personal circumstance, I had to move to Michigan for a year. I didn’t want to leave Viget, so I asked for the opportunity to work remotely; I was anxious and hesitant about giving up the office environment.

Front-End Parts Kits in Craft

Pattern library, style guide, UI library, parts kit; call them what you want, but these are essential to building websites of any scale. Typically, this is something you manually construct to demonstrate all the modules and pieces that you have constructed, but I have been investigating ways to make them a bit more dynamic when building sites with Craft.

Why We Love Craft CMS

I decided to write a little post to give some insight into why we love Craft so much at Viget.

Attending & Speaking at the Craft CMS Summit

I’m a little belated, but I was lucky enough to attend and speak at the first Craft CMS Summit two weeks ago. This was the first online conference that I had ever attended, and I was thoroughly impressed. I had always been a bit hesitant to attend online conferences because I was unsure about the quality, but after experiencing it firsthand I won't hesitate in the future. Everything was very well organized and the speakers all gave excellent presentations. It was also nice to sit and learn in the comfort of my own home instead of having to deal with the extra burdon of traveling for a conference. Side note: Environments for Humans, the company who hosted the conference, has additional upcoming events.

Integrating Craft & Shopify

As we have the opportunity work on more Craft sites at Viget, we’ve been able to do some interesting integrations, like our most recent integration with the ecommerce platform Shopify. Below is a step-by-step guide to implementing Craft and Shopify by utilizing a plugin I built.

Reroute Plugin for Craft

You know what's really annoying? Having a million redirects in your .htaccess file. When we build EE sites, Detour Pro has become a part of our builds so that other team members and clients can manage redirects. But, that solution won't really work when you launch your first Craft site for a client!

Pagination