A List Apart

Menu
Issue № 304

Faceted navigation and minified JavaScript FTW.

Better JavaScript Minification

by Nicholas C. Zakas · 21 Comments

Like CSS, JavaScript works best and hardest when stored in an external file that can be downloaded and cached separately from our site's individual HTML pages. To increase performance, we limit the number of external requests and make our JavaScript as small as possible. JavaScript minification schemes began with JSMin in 2004 and progressed to the YUI Compressor in 2007. Now the inventor of Extreme JavaScript Compression with YUI Compressor reveals coding patterns that interfere with compression, and techniques to modify or avoid these coding patterns so as to improve the YUI Compressor's performance. Think small and live large.

Design Patterns: Faceted Navigation

by Jeffery Callender, Peter Morville · 15 Comments

Faceted navigation may be the most significant search innovation of the past decade. It features an integrated, incremental search and browse experience that lets users begin with a classic keyword search and then scan a list of results. It also serves up a custom map that provides insights into the content and its organization and offers a variety of useful next steps. In keeping with the principles of progressive disclosure and incremental construction, it lets users formulate the equivalent of a sophisticated Boolean query by taking a series of small, simple steps. Learn how it works, why it has become ubiquitous in e-commerce, and why it’s not for every site.

More from A List Apart

Columnists

Nishant Kothary on the Human Web

“Buy Him A Coffee”

Doing effective work often depends on the cooperation of colleages. Many of us struggle with this aspect of our jobs. Our very reasonable explanations fall on deaf ears. We’re not charismatic or extroverted, and people tune us out. We’re good at what we do, but we’re not “born leaders.” Actually, it’s not arcane knowledge or inborn talent that gives you the ability to win friends and influence people. Nishant Kothary realized that being influential is a skill that you can (and should) develop.

From the Blog

On Our Radar: Pretty Advanced Machine Learning

Between bots and blogging, newsrooms are getting into Slack in some very cool ways (take some inspiration and apply for a Knight-Mozilla Fellowship!). Plus more recommended reading: revisiting Cameron’s World; the joy of generalists; the finer points of faving; and one really excellent gif of cats.

Building to Learn

Whether you're just getting started on the web, or trying to pick up a new framework, Susan Robertson has a radical idea: build something that interests you. Sure, there are courses and tutorials out there to walk you through it, but a project you're actually excited about will help you solidify those skills and make them easier to recall when you need them most.