Author, developer, teacher, speaker and design lover.

HOW Design Live 2013 (and promo code!)

Posted on: March 12th, 2013 by patrick 1 Comment

 

It seems that I keep finding ways to get back to San Francisco. 2013 will be my third year in a row to travel there and speak. I have been invited back to speak at the big HOW Design Live conference this year - and I will actually be speaking twice in the same day!

I will be giving a presentation I developed this last year for teaching the fundamentals of web hosting to designers. Through it you learn how hosting works, what goes into it and a bunch of handy tips that will help you navigate this area. For many designers this is an area of frustration. But as it turns out it isn't all that complex. I hope to shed some light on the topic and turn this point of weakness into one of strength.

The other presentation I am giving is on the interactive design industry. As designers attempt to make the move from print to digital they often wonder what their new career path is, what they should expect, what they should learn and so many other questions. I am thoroughly researching the topic and plan to give some clear and simple direction. This presentation will be a nice change of pace for me from my typical tech and design trend topics.

If you care to join me be sure to use promo code "PATRICK" and save an extra $100. Plus right now is early bird pricing so you can get about the best rate possible.

I hope to see you in San Fran!

http://www.howdesignlive.com

Print to Web Series: Digital Magazines

Posted on: December 4th, 2012 by patrick No Comments

 

One niche in print graphic design that’s been hit hard by the digitization of information is the news industry—and we’re going to focus on a subset of this: magazines. Although printed magazines clearly continue to sell, their sales have been on the decline. And while it might be tempting to suggest that digital versions of these magazines have displaced them, this is not true across the board (though it might be in individual cases).

The reality is that magazine sales and circulation are overall on the decline. (My opinion is that readers are simply going elsewhere for information, particularly on the web.) Despite this, there’s real opportunity for magazines to find a new home in the digital era. And no, it doesn’t include 300MB downloads with layouts that simulate the page-turning experience—an old-fashioned design approach that ignores the real possibilities of the web. Following are some great examples of online publications that marry great magazine content and great user experience design.

-- Read the full article on HOWInteractiveDesign.com

 

Before I dive in I want to give you a quick demonstration of the results of my code. I built a new portal page for Design Meltdown based on the Twitter Bootstrap but I wasn't entirely satisfied with the way the columns collapsed, I wanted more control.

Here you can view a version of the page where the column structures change to fit the screen size using some JavaScript I plan to share with you: view the dynamic version. Contrast this with a version that only relies on the default collapse of elements using the Twitter Bootstrap: default approach. In order to see the difference it is best to open each in a separate tab in one browser. Size it to a break point where the layout changes and toggle windows.

Here is one pair of screen shots to illustrate the difference.

With my JavaScript changing the columns:

Using the default column collapse:

 

The differences are subtle I suppose. For example, the four buttons turn into a 3 column layout and the sidebar of content sizes to match the button column setup. The issues are much clearer when you get down to the smaller tablet size where the four buttons packed next to each other are simply too tight.

Basically I wanted tighter control over how the columns would adapt. The bootstrap does a great job on some levels, but I suspect I am not the only one that needs to do this. If I were doing a client's site, simply accepting the default breakdown seems unrealistic.

As I approached the problem it seemed there were two possible approaches. Hijack the classnames to force them to behave in different ways. For example, for the span3 used on my call to action buttons could be adjusted in the CSS for specific screen sizes to behave like a span6 to get the 2 column approach on tablets like I have. This is an ok approach but I have a few problems with it. I have one issue in particular based on the fact that the initial layout is set in the HTML via the classname. Hijacking this in the CSS means that the class name won't really specify how it behaves. So in my opinion maintenance becomes very difficult.

With this in mind I decided to use JavaScript to change out the classnames on elements. This means that a span3 will always behave as a span3 in the bootstrap does. The trick is where to store the settings for the changes. For example, if I want my span3 to turn into a span6 where do I store this information? I settled in on the idea of using custom attributes in the HTML.

So I wrote some JavaScript to detect the screen size and change the classes of the columns at the various break points. In order to track things I created specific attribute names on the div tags to store the values I wanted at various sizes. I love that HTML5 allows you to invent attributes and use them in funky ways.

Twitter Bootstrap screen sizes

Twitter Bootstrap keys to 4 different screen sizes for its break point, here is how I am accommodating for each of these.

Screens greater than 1,200
I store the desired class name in an attribute called "tb-g-1200".

Screens between 980 and 1,200
This is the default screen size on the bootstrap and you just apply this as the class for the column as you normally would

Screens between 768 and 980
I used another custom attribute to store the desired class name "tb-768-980"

Screens under 768
Basically I don't have to do anything because the Bootstrap essentially makes everything 1 column, which is just fine.

Sample HTML with custom attributes

Here is a sample of the resulting HTML

1
 <div class="span7" id="logo" tb-g-1200="span8" tb-768-980="span6" >

This container will default to being a 7 column wide container. On screens greater than 1200px wide it will become an 8 column wide container. And for screens between 768 and 980 it will turn into six columns. Below 768 and it will simply use the default 1 column approach in the bootstrap.

The JavaScript

I would love to set this up as a jQuery plugin, but I simply didn't take the time to do so. So here is the JS code and how you might make use of it.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
function tbAdaptor(){
	// adjust the span of various columns to match the screen size
	// all adjustments are pulled from the HTML attributes
	//
	// inital 
	var docWidth = $(document).width();
 
	//first save the default value
	$(".span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12").not("div[tb-d]").each(function(index){
		$(this).attr("tb-d",$(this).attr("class"));
	});
 
	if (docWidth>=1200){
		$("div[tb-g-1200]").each(function(index){
			$(this).removeClass("span1 span2 span3 span4 span5 span6 span7 span8 span9 span10 span11 span12 hide").addClass($(this).attr("tb-g-1200"));
		});
	}else if(docWidth>=980){
		$("div[tb-d]").each(function(index){
			$(this).removeClass("span1 span2 span3 span4 span5 span6 span7 span8 span9 span10 span11 span12 hide").addClass($(this).attr("tb-d"));
		});
	}else if(docWidth>=768){
		$("div[tb-768-980]").each(function(index){
			$(this).removeClass("span1 span2 span3 span4 span5 span6 span7 span8 span9 span10 span11 span12 hide").addClass($(this).attr("tb-768-980"));
		});
	}
 
}

Print to Web Series: Product Catalogs Go Digital

Posted on: November 16th, 2012 by patrick No Comments

 

With the holiday shopping season looming over us like a calm before the storm, there’s one thing we can count on: Our mailboxes getting stuffed with an explosion of product catalogs. For some, these are a welcome sight; for others, an obnoxious nuisance. From a marketing perspective, there’s nothing like putting a product catalog in front of people; it lets you guide their attention, giving them key products to focus on that will hopefully draw them to your (bricks-and-mortar or online) store and entice them to buy.

So, how does this mailbox spam translate to the web? At a basic level, a product catalog is a guide to a retail store. It highlights key items, shows products in context (like an outfit or a room setting) and allows customers to scan the offerings. This sort of approach is difficult in the online world. When customers land on the homepage for a large retailer, they have to choose product categories and then see tens or hundreds of items in a grid. So it makes sense that retailers would translate the “guided tour” experience that a print catalog offers customers to the web. In fact, retailers are increasingly moving in this direction.

Read the full article on HOWInteractiveDesign.com

Web Hosting 101, part 3: Hosting Services & Plans

Posted on: November 13th, 2012 by patrick No Comments

 

In this final article in my 3 part series on web hosting I finally talk about the actual web host! If you find yourself confused by all of the options and lingo surrounding hosts, this should finally clarify things for you. In this I focus on clarifying the types of hosts including shared hosting, dedicated servers and cloud hosting.

Read the full article on HOWInteractiveDesign.com

Web Hosting 101, part 2: Domain Name Services

Posted on: November 9th, 2012 by patrick No Comments

 

Here I continue my three part series on the fundamentals of web hosting. In this particular piece I focus on some basic elements of working with DNS. And though this is a very technical topic I have worked extremely hard to make sure it is easily digested by anyone, including those with zero knowledge of the topic.

Read the full article on HowInteractiveDesign.com

Introducing Design Meltdown Live

Posted on: October 29th, 2012 by patrick No Comments

 

If you know me I am always building something new and finding new ways to spread ideas. With this in mind, I want to tell you about something I'm up to that I think you'll really dig. I'm calling it Design Meltdown Live.

Two of my favorite web design topics are trends and inspiration. Starting this December, I'm putting on a series of live webinars that will focus on these two topics.

The Trend Report - December 6, 2012

As I research the many articles and books I write, I find and test a ton of web tools to find the real gems. Along the way I also encounter a wide spectrum of design trends. If these sound like interesting topics, I invite you to join me for The Trend Report, scheduled for Dec. 6, 2012, an hour-long presentation of my favorite resources, trends and tools.  I promise to only feature assets and resources that I have personally vetted. No filler — just pure awesomeness.

Register for The Trend Report

The Inspiration Challenge - January 10, 2013

In this 90-minute webinar on Jan. 10, 2012, I will deliver an inspirational sucker punch. This session will be a mix of resources and guidance for finding inspiration and challenges to get you going. I guarantee you'll leave this webinar inspired, motivated and empowered to go find your own fresh ideas.

Register for The Inspiration Challenge

I hope to see you at one or both of these events!

Web Hosting 101, part 1: Registering a Domain

Posted on: October 26th, 2012 by patrick No Comments

 

As a result of my presentation at the HOW Interactive conference I have started a three part series on the HOW ID blog about web hosting. This designer friendly guide to the world of web hosting should serve as a nice foundation for understanding the nuances of domain names, DNS and web hosts. Part one is on registering a domain name. I encourage you to dig in and check it out.

Read the full article on HOWInteractiveDesign.com

 

Web Hosting 101 – As presented at HOW ID 2012

Posted on: September 27th, 2012 by patrick No Comments

 

I am happy to share with you here my presentation from the 2012 HOW Interactive Design Conference. My presentation was an introduction to web hosting. This included a primer on domain names, DNS and web hosts. You can view the slide show here or on slideshare.

 

A Crash Course on Responsive Web Design

Posted on: July 31st, 2012 by patrick No Comments

 

Have you heard all the buzz about responsive web design but felt hopelessly behind? I know how you feel—every wave of new technology brings a flood of new stuff to learn. But responsive design is a revolutionary approach to web design that can’t be ignored: It impacts the industry in every way, from the way we sell sites to the entire design and development process.

Read the full article on HOWInteractiveDesign.com