Thursday, May 5, 2011

How to Create Presentation Slides with HTML and CSS

How to Create Presentation Slides with HTML and CSS: "

Advertise here


As I sifted through the various pieces of software that are designed for creating presentation slides, it occurred to me: why learn yet another program, when I can instead use the tools that I’m already familiar with? With a bit of fiddling, we can easily create beautiful presentations with HTML and CSS. I’ll show you how today!




The Business of WordPress Theme Design

Prefer visual learning? Get the screencast course of this tutorial on the Tuts+ marketplace.



0 – Directory Structure



Before we get started, let’s go ahead and create our folder structure; it should be fairly simple. We’ll need:



  • index.html

  • css/style.css

  • js/scripts.js

  • img/

  • slides/



A simple base template. Your slides/ directory can remain blank for the time being. We’ll fill that shortly.




1 – Beginning Markup



Let’s begin by creating the base markup for our presentation page. Paste the following snippet into your index.html file.



<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" />
<title>My Great Presentation</title>
</head>

<body>

<div class="wrap">
<div id="slides">
<!-- load in slides -->
</div>
</div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
</body>

</html>


Above we have some clean, HTML5 goodness. No more type attributes in our script and link elements, short DOCTYPE, a laughably simple meta charset tag, etc.




2 – Slides



The load() method is an AJAX method that loads data from your server, and inserts the returned HTML into the selected element.




Now you might be wondering how we’re going to deal with each slide. We have a couple options here. While we could wrap each slide in its own div, and place a massive block of HTML within the #slides container, my instinct is that this will make the process of editing individual slides more time consuming, as we then have to hunt through all that markup for the slide that we need.



Instead, for this tutorial, I’ve opted to place each slide within its own .html file. We can then use jQuery’s load() method to bring in each slide, and append them to our container.



Create a handful of numbered HTML files, and place them within your slides/ directory, like so:



  • slides/

    • 0.html

    • 1.html

    • 2.html

    • 3.html

    • 4.html





Within each of these files, we’ll insert the markup for your desired slide. As an example, together, let’s create an “About Me” slide.


1.html



<div>
<h3> About Me</h3>
<ul>
<li> Nettuts+ Editor</li>
<li> Envato Marketplaces Manager</li>
<li>Wicked WordPress Themes</li>
<li>Theme Tumblr Like a Pro</li>
</ul>
</div>


Feel free to mix and match how you wish.




3 – Load the Slides



Before we can focus on the styling of our presentation, we need to load those slides into our document with jQuery. But rather than creating a bunch of global variables and methods, we’ll store everything in an object, called Slides.



var Slides = {

};


Next, the process of loading those slides into our document will be stored within, say, a loadContent() method. Let’s create that now.



var Slides = {
loadContent : function() {

}
}


To load all of the slides within the slides/ directory, we first need to know how many slides there are; though, JavaScript doesn’t have the ability to access the file system. Instead, we’ll pass in our total number of slides when we initiate our object.



With that in mind, let’s create an init() method that will serve as our controller, of sorts. This method will also receive an argument that specifies the total number of slides. This will then be assigned to a property of our Slides object.



var Slides = {
totalSlides : '',

init : function( totalSlides ) {
// If nothing was passed to this function, we can't continue.
if ( !totalSlides ) throw new Error('Please pass the total number of slides to the init method');
Slides.totalSlides = totalSlides;

// Load the slides
Slides.loadContent();
},

loadContent : function() {

}
}


That’s better. But, of course, none of this code will run until we call the init() method.



var Slides = {
totalSlides : '',

init : function( totalSlides ) {
// If nothing was passed to this function, we can't continue.
if ( !totalSlides ) throw new Error('Please pass the total number of slides to the init method');
Slides.totalSlides = totalSlides;

// Load the slides
Slides.loadContent();
},

loadContent : function() {

}
}

// All right; let's do this. We'll assume that we've created 6 slides, total.
Slides.init( 6 );



4 – Three Ways to Load the Slides



Let’s take our first crack at loading these slides — and then we’ll slowly improve upon our code, as we continue.



loadContent : function() {
for ( var i = 0; i < Slides.totalSlides; i++ ) {
$('<div id="#slide-' + i + '"></div>')
.load('slides/' + i + '.html')
.appendTo( $('#slides') );
}
}


Above, we’re creating a new div element for the total number of slides that we’ve specified. Each div will have an id of #slide-n. After we’ve created each element, we then load the contents of the desired slide, which we stored within the slides/ directory. Once this block of HTML has been retrieved from the server, we append the newly created div to the #slides container.


We Can Do Better



This code will indeed work, but we can do better. There are a couple issues with the code above:



  • Traversal: For every slide, we are traversing the DOM for the #slides element. This is wasteful and unnecessary. Also, as we’ll certainly be working with this #slides container element throughout our project, it makes sense to store it as a property of our Slides object. We’ll do this shortly.

  • Reflows: This code will create any number of page reflows, which can increase the load time of our page. Rather than calling the appendTo() method dozens of times (or in our case: six), let’s limit our reflows to one.


Traversal



Let’s first fix the traversal issue.



var Slides = {
totalSlides : '',
container : $( '#slides' ),

init() { ... },
loadContent() { ... }
}


This way, we search our document for the #slides element exactly once, rather than over and over.



If you’re still confused about the advantages to this, think of it as jumping into a pool, and searching for a coin. Every time you call $('#slides'), the JavaScript engine jumps in the pool and looks for that coin again. Over and over. But, if we instead store the location of $('#slides') in a variable, it never has to jump back into that pool. It remembers where that coin is.



Reflows



Next, we’ll take care of that pesky reflow issue. There are two ways to limit our reflows. We’ll examine both methods.


Document Fragments



JavaScript document fragments allow us to store chunks of HTML. Then, rather than updating the DOM multiple times, as we did before, with this method, we only call appendTo() once.



Refer here for more information on document fragments.




loadContent : function() {
var frag = document.createDocumentFragment(),
bit;

for ( var i = 0; i < Slides.totalSlides; i++ ) {
bit = $('<div id="#slide-' + i + '">'</div>')
.load('slides/' + i + '.html')[0];
frag.appendChild(bit);
}
Slides.container.append(frag);
}


Note that we’re no longer calling appendTo() within the for statement. Instead, it’s only being called once. The only note worth mentioning is the [0] section, after we call the load() method. What do we need that for?



Document fragments store — wait for it — HTML fragments, or elements. However, when we called the load() method above, the jQuery object is, of course, returned. That’s not compatible. Instead, we want to filter down to the HTML element, itself. We can do so by using [0], or the get() method. Either option will do.


Hide the Container


Our second option is to hide the container element. When we do so, regardless of how many times you append new elements to that element, no additional page reflows will take effect…because the element is hidden! It’s a nice little trick to have in your tool belt.



loadContent : function() {
// Hide the container.
Slides.container.hide();

for ( var i = 0; i < Slides.totalSlides; i++ ) {
$(''<div id="#slide-' + i + '">'</div>')
.load('slides/' + i + '.html')
.appendTo(Slides.container);
}

// Now display the slides container again - causing exactly one reflow.
Slides.container.show();
}

So either of these two options will do just fine. Choose whichever you prefer.



If you now view our project in the browser — assuming you’ve added some dummy slides to the slides/ directory — you’ll see something along the lines of:



Loaded Content


If we use a tool like Firebug or Chrome’s developer tools, we’ll see that, as expected, the slides have been inserted into the #slides container div.



Source code



5 – Make it Pretty



Our next step takes place within our stylesheet. We’ll be focusing on both aesthetics as well as function here. To make each slide translate from left to right, we’ll need to be clever with our styling.



We’ll begin by creating our canvas. If you refer back to our markup…



<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link href="style.css" rel="stylesheet" />
<title>My Great Presentation</title>
</head>

<body>

<div class="wrap">
<div id="slides">
<!-- load in slides -->
</div>
</div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
</body>

</html>


…our wrapping container for our project is the div with a class of wrap. We’ll provide a width of 1180px and center it on the page.



.wrap {
margin: auto;
width: 1180px;
overflow: hidden; /* because children will be floated */
}


Next, because each slide should translate horizontally, we need to make our #slides div as wide as possible.



#slides {
width: 999999px;
}


Now, the fun — and a little scary — part. Think of a traditional presentation slide. Isn’t the content typically both vertically and horizontally centered on the slide, or page? Absolutely. Because we have 100% control over this project, we don’t need to worry about browser compliance. As the slides will only ever be used by us (during our presentation), we’re free to tailor it to our favorite browser. This way, we get to use lots of fun new features that haven’t yet made their way into all the browsers, such as the Flexible Box Model.



We’ll begin by specifying the dimensions for each slide, floating each slide, and providing some breathing room (margins).



#slides > div {
height: 600px;
width: 1180px;
float: left;
margin-right: 200px;
text-align: center;
}


Floating Slides


But remember: that text needs to be vertically centered. Flexible Box Model to the rescue!



#slides > div {
height: 600px;
width: 1180px;
float: left;
margin-right: 200px;
text-align: center;

/* Flexible Box Model */
display: -webkit-box;
-webkit-box-align: center;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;

display: box;
box-align: center;
box-orient: horizontal;
box-pack: center;
}


Adding flexibox


Next, we’ll add a nice radial gradient background to our slides. To be honest, CSS radial gradients still baffle me. I rarely remember the syntax. As such, I typically either make note of gradients in the wild that I like, or use any of the various gradient generators on the web to make mine. Feel free to do the same.



body {
background-image: -webkit-gradient(
radial,
50% 50%, 0,
50% 50%, 1000,
from(rgba(245,245,245,1)),
to(rgba(100,100,100,1))
);
}


Applying a radial gradient


And, with that, we have our basic structure in place. At this point, I encourage you to being styling your headings, perhaps creating a minimal grid, and anything else you can think of. We’ll finish our minimal styling by working on typography.




#slides h1,
#slides h2,
#slides h3,
#slides h4,
#slides h5 {
color: #292929;
font-family: 'League Gothic', sans-serif;
letter-spacing: -5px;
margin-top: 0;
text-shadow: 5px 3px 0 white;
}
#slides > div h2 {
font-size: 180px;
line-height: 1em;
margin: 0;
}


It’s amazing what we can achieve when we tweak letter-spacing, and apply some clever text shadows! Looks much better now!



The Business of WordPress Theme Design


Custom Text



6 – Next Slide, Please



The next step in this project is to handle the process of transitioning from slide to slide. Naturally, as there are no buttons in place, we should instead listen for when either the left or right arrow keys are pressed. We’ll store this functionality in a new keyPress method of our Slides object.



var Slides = {
...
init : function() { ... },
loadContent: function() { ... },
keyPress : function() {
$(document.body).keydown(function(e) {
// if left or right arrow key is pressed
if ( e.keyCode === 39 || e.keyCode === 37 ) {
e.preventDefault();
( e.keyCode === 39 ) ? Slides.next() : Slides.prev();
}
});
}

}


jQuery provides the helpful keydown method, which will attach the necessary event listeners. This means that the passed callback function will run for every key that is pressed; however, we’re only interested in the right and left arrow key, or key codes 39 and 37, respectively. If one of these keys is pressed, we first cancel the default action of the arrow key, and then call either the next() or prev() method, dependent upon which key was pressed.


Next Slide



Let’s now work on that next() method that we called above. When this method is called, it needs to execute a few operations:



  • Update the hash in the URL. That way, we can easily send out links to specific slides.

  • Animate the slide to the left, and reveal the next slide in the sequence.



But before moving forward, how do we know how much to translate the slide? It needs to be the width of the #slides container, but we should try not to hardcode that value into our JavaScript if we don’t have to. The reason for this is because, if we later decide to change the dimensions of our canvas, we’d also need to dig into our JavaScript file and update the dimensions as well. Instead, let’s dynamically determine what the width and margins of the container is.



Let’s add a new property to the Slides object, called slideWidth. However, we won’t be able to determine the width of the slides until they’ve been inserted into the DOM, via the loadContent method.



var Slides = {
...
// New property stores the width of each slide
slideWidth : '',
...

init : function( totalSlides ) { ... },

loadContent : function() { ... },

// Determine the width of the slide...
setSlideWidth : function() {
var each = Slides.container.children( 'div' );
Slides.slideWidth = each.width() + ( parseInt( each.css('margin-right'), 10 ) );
}

}


Yikes – this line looks a bit scary!



Slides.slideWidth = each.width() + ( parseInt( each.css('margin-right'), 10 ) );


But don’t worry; it’s really quite simple. We’re updating the Slides.slideWidth property, and are making it equal to the width of the slide plus its margin right. Because retrieving the margin-right value of the slides (specifically the first one) will return px as well, we need to slice that off, by using the parseInt function.



To clarify the need for casting, assuming that the margin right value is equal to 200px…



console.log ( typeof each.css('margin-right').split('px')[0] ); // value is 200. Typeof is still string, not integer.


And with that out of the way, we’re now dynamically determining the width of our slides. Back to our next()method; at all times, we need to track the positioning of our slides. That way, when we transition from slide four to five, we know exactly how much to translate the slide. We’ll store this value in a new property: translateAmount.



translateAmount : '',
next : function() {
Slides.translateAmount -= Slides.slideWidth;
}


Let’s break it down. When we press the right arrow key the first time, we set the translateAmount property equal to the slideWidth, or in our case, 1380px. If we press right again, this value will be updated to 2760px.


Update the Hash



Within this next method, we should also update the hash value in our url, such as example.com/index.html#slide-1, then example.com/index.html#slide-2, etc. To do so, we need to keep track of the current slide that the reader is viewing.



currentSlide : 0,

...
next : function() {
Slides.translateAmount -= Slides.slideWidth;
Slides.updateHash( ++Slides.currentSlide );
},

updateHash : function() {
location.hash = '#slide-' + Slides.currentSlide;
}


Note that we’re increasing the value of currentSlide by one before passing it to the updateHash function. This is appropriate; when we press the right arrow key, the hash should be updated to the next slide, not the current one.


Animate the Slide



Finally, now that we’ve tracked all of the necessary values, we can animate the slides.



next : function() {
Slides.translateAmount -= Slides.slideWidth;
Slides.updateHash( ++Slides.currentSlide );
Slides.animate();
},

animate : function() {
Slides.container
.children()
.css( '-webkit-transform', 'translateX(' + Slides.translateAmount + 'px)');
}


For best performance, we’ll take advantage of CSS3 to translate the slides. In order for this to not be an instant translation, we need to update our CSS file:



#slides div {
...
-webkit-transition: all 1s linear;
transition: all 1s linear;
}



And the Previous Slide, Please



The prev method will be really similar to the next method, except for a couple things.



prev : function() {
// No more left to go back.
if ( Slides.translateAmount === 0 ) return;

Slides.translateAmount += Slides.slideWidth;
Slides.updateHash( --Slides.currentSlide );
Slides.animate();
}


This time, as we’re transitioning back to the beginning of the slides, we need to reverse the translateAmount and hash value. Also, we must consider the possibility that the user is pressing the left arrow key even when they’re on the very first slide. If that happens to be the case, we shouldn’t do anything, as there’s nothing left to transition to!


Final JavaScript



var Slides = {
container : $('#slides'),

totalSlides : '',

translateAmount : 0,

currentSlide : 0,

slideWidth : '',

init : function(totalSlides) {
var each;

if ( !totalSlides ) throw new Error('Please pass the total number of slides.');
Slides.totalSlides = totalSlides;

Slides.loadContent();

each = Slides.container.children('div');

// Determine the width of our canvas
Slides.slideWidth = each.width() + ( parseInt( each.css('margin-right'), 10 ) );

Slides.keyPress();
},

loadContent : function() {
Slides.container.hide();
for ( var i = 0; i < Slides.totalSlides; i++ ) {
$('<div id="#slide-' + i + '"></div>')
.load('slides/' + i + '.html')
.appendTo(Slides.container);
}
Slides.container.show();
},

keyPress : function() {
$(document.body).keydown(function(e) {
// if left or right arrow key is pressed
if ( e.keyCode === 39 || e.keyCode === 37 ) {
e.preventDefault();
( e.keyCode === 39 ) ? Slides.next() : Slides.prev();
}
});
},

next : function( ) {
Slides.translateAmount -= Slides.slideWidth;
Slides.updateHash( ++Slides.currentSlide );
Slides.animate();
},

prev : function() {
// No more left to go back.
if ( Slides.translateAmount === 0 ) return;

Slides.translateAmount += Slides.slideWidth;
Slides.updateHash( --Slides.currentSlide );
Slides.animate();
},

animate : function() {
Slides
.container
.children()
.css( '-webkit-transform', 'translateX(' + Slides.translateAmount + 'px)' );
},

updateHash : function( direction ) {
// Update current Slides and hash.
location.hash = '#slide-' + Slides.currentSlide;
}
};

// All right; let's do this.
Slides.init(6);



Complete



All finished. That wasn’t too hard, once we dug in a bit! The great thing is that, if you view the presentation on a really high or low resolution, you can simply zoom in or out a few clicks to compensate, by pressing Command or Control +-. Let me know if you have any questions or recommendations!



The Business of WordPress Theme Design


A Slide Example


License Slides


"

Monday, May 2, 2011

Modern Microprocessors – A 90 Minute Guide!

Modern Microprocessors – A 90 Minute Guide!: "


Modern Microprocessors – A 90 Minute Guide!… [via]


WARNING: This article is meant to be informal and fun! Okay, so you’re a CS graduate and you did a hardware/assembly course as part of your degree, but perhaps that was a few years ago now and you haven’t really kept up with the details of processor designs since then.


Modern Microprocessors – A 90 Minute Guide! – [Link]


"

Essential SEO Considerations For A New Website [DOs & DON'Ts]

Essential SEO Considerations For A New Website [DOs & DON'Ts]: "

So you are in the process of designing and developing a website and you want to adhere to the best SEO practices (good idea).

There is a plethora of good SEO tips and guides on the web to get your brain juices flowing, but we have compiled these essential 5 SEO DOs and DON’Ts to keep in mind when designing and developing a new website.

If you want your website to show up in the search engines (like Google, Yahoo, and Bing), you have to make sure you’re following the 5 tips below. Remember, "80% of success is showing up" (Woody Allen).

Without further ado, here are five SEO Considerations When Designing a New Website:

Don’t construct the entire site from images or flash

Google cannot index text within images and websites that are heavily flash dependant are not very search engine friendly.

Therefore, if you want your site to be indexed by the search engines, it is vitally important that you do not rely entirely on flash or images.

We aren’t suggesting that ditch flash and images all together. The web would be a very bland and boring place without them. Instead, try to use images to "enhance" your site such as using image sprites for buttons or rollover effects or a nice gradient for your sites background.

Flash can be a beautiful thing to have, especially a nice animation with sub-navigation functionality on an index page. Another option which is becoming increasingly popular is the use of the jQuery library to create animation effects using primarily JavaScript and CSS.

The benefit to using jQuery over Flash is that the text inside div’s are search engine friendly and can be read by spiders. Another great benefit of jQuery is that it is a very lightweight alternative to Flash. A jQuery animation effect script and its components total size are relatively small (depending on the image size, compression, and quality). Flash on the other hand is generally a bit larger. And lastly, many mobile browsers, namely the iPhone & iPad, do not yet support Flash technology. JQuery is developed in JavaScript and is compatible on many more mobile devices for the time being.

Another thing to keep your eye on is HTML5 markup accompanied by CSS3 and JavaScript. Not only is HTML5 a step in the right direction towards a better website information architecture it also has many of the animations capabilities of flash when coupled with some JavaScript. HTML5 and CSS3 are popping up more commonly on the web and many speculate that it will replace Flash in due time but that has yet to be confirmed.

DO:

• Use images and flash to enhance your website

• Use engaging flash animations

• Use image sprites (slivers of images such as gradients that repeat using CSS)

DON’T:

• Rely 100% upon flash for your website

• Use large images (100kb+)

• Forget about CSS3 and javascript as an alternative to flash and animated gifs

Be Descriptive in Your Meta Tags and Descriptions

While Google may not necessarily boost your rankings for optimized meta descriptions, it is very important to be descriptive and unique when writing them.

Why? Because the meta description is what displays under each link in the search results page.

Having an eye catching, unique and descriptive meta description can lead traffic to your site over your closely ranked competitors. Not to mention, the search engines look at the meta description.

A Good description:

Looking for a kitchen design and remodeling company in the Baltimore, MD area? Click here to request a free estimate!

A Bad Description:

We are the best at Kitchen Design, Kitchen Remodeling, Kitchen Redesign, Kitchen Costs, Kitchen Contractor in Baltimore, MD.

DO:

• Describe your pages services/websites purpose

• Include a call-to-action (##"Learn More" or "Click here")

• Incorporate keywords in your description

• Include your location if you only operate in certain areas

• Check your spelling!

DON’T:

• Use boring "informational language"

• Overstuff your description with your keywords

• Forget the value proposition to your visitor (##e.g.## "Request a free estimate")

The point is that while you’re taking the time to redo your website, also take the time to look over your content and refresh your meta data!

Find a Balance Between SEO Tactics and Usability

SEO and usability are equally important aspects of a well thought out website.

While getting traffic to your site is important, an entire focus on SEO over usability will make your site a nightmare from both an aesthetic and functionally perspective.

On the other hand, having a beautiful looking that works perfectly is great – but if no one visits it, what good is it?

Balancing the SEO tactics and usability practices differs from site to site. For example, a website for a government department such as a DMV will have a higher need for ease of use because of the wide audience of users who will come to the site. While a site for an IT company may result in an audience more geared towards web-technologies and trends.

There are other benefits to having a good usability from a lead conversion aspect as well.

Bloated and messy content on a site can give a user the impression that the site was "quickly thrown together" or unprofessional. This in turn can cause a sites "bounce rate" (a statistic of traffic abandoning your site after only one page view) to increase.

So how do you balance well written, relevant, optimized content with strong usability practices?

DO:

• Try using lists (<li>) and highlight the key topics offered for each page.

• Use headlines (HTML tags such as <h1>, <h2>, etc…) to transition in your content.

• Make it easy for your user to perform a desired action (such as filling out your contact form or calling you).

• Put your phone number in the upper right of your site and/or in your footer (make sure to use text for this so the mobile users can "click-to-call").

• For the designers in the crowd: try a clean page layout using divs instead of tables to separate the chunks of content in a pleasing way.

DON’T:

• Have all of your content link off of the main navigation of the site

• Have broken links or forms that don’t work (check for broken links with Xenu)

• Put too much content on the homepage (use a javascript or HTML5 rotator instead)

The truth is that there is not one justified answer concerning this issue. Due to the nature of the web, there can be hundreds if not thousands of ways to accomplish the same task in HTML/CSS. Not to mention that with jQuery and upcoming technologies such as CSS3 and HTML5 the possibilities are even broader.

The key to a good balance is to display the content in a way that is pleasing to the users eye and at the same time is good enough information for the reader to stay entertained or ‘stuck’ in the content. After all, if a site’s content is not helpful or interesting to its readers, then what good has the site’s SEO actually accomplished?

Use a CMS with Blogging Functionality

What does BLOG stand for? Better Listings On Google… just kidding, well, not really!

This is an important tip. As stated before, web technologies are growing and evolving everyday. Creating a site a page at a time can get exhausting and unorganized when sites grow over time.

Luckily for the web developers in the world the CMS market has been rapidly evolving and there are many open source options available.

So what is a CMS?

CMS stands for Content Management System. Its purpose is pretty much what it sounds like: managing your website’s content.

The top 3 open source (free) CMS options at this time are WordPress, Joomla, and Drupal. Each has its own unique way of operating but they primarily have very similar functions. In short, CMS = Smart Choice.

So how can using a CMS improve your SEO?

• It (for the most part) produces clean and valid CSS/HTML

• It Can help improve HTML to Content Ratio

• They easily give the ability for dynamic content (content that changes)

• Allow blogging functionality for introducing fresh content for search engines & visitors

• They provide tools / plug-ins / modules for managing meta tags per page

• They can improve a pages loading time

We highly suggest using a CMS for your site. They are different than conventional methods of site development but are very easy to pickup and learn.

We’ll keep this one simple:

DO:

• Use a CMS – specifically WordPress (there is a reason why it powers more than 10% of all the websites in the world)

DON’T:

• Leave your web designer with 100% control over your website.

Have both an XML and HTML Sitemap

Sitemaps are GREAT for search engine spiders. They allow the spider access to every page on your site from a single page. All the major search engines also allow webmasters to submit an xml sitemap of their site to increase indexing speeds.

While this is a simple practice, I continue to see webmasters forget to put a sitemap up from time to time.

So why use both? The simple answer:

• HTML sitemaps are for your visitors.

• XML sitemaps are for the search engines.

How do you make a sitemap you ask? There are so many ways:

• Hop over to http://www.xml-sitemaps.com and let them do it

• If your site is relatively small, just make one by hand (don’t forget to us <li>’s – maybe check out how other websites that you admire do their sitemap)

• Recommended: use a plugin or module with your CMS that will dynamically create and maintain your sitemap (and even submit it to search engines when you update your website)

DO:

• Have both an XML and HTML sitemap

• Use a script, plugin, or module to dynamically update your sitemap every time a page is added or modified

• Have a user-friendly layout to your HTML sitemap by showing hierarchical pages

DON’T:

• Make a sitemap once and never update it again

• Hide your sitemap somewhere on your site so no one can find it (instead, link to it from the footer)

• Have broken links on your sitemap (remember Xenu)

Enjoy!

Designing and developing a website should be fun!

Don’t get bogged down trying to do everything PERFECTLY the first time. Instead, have a friend give you feedback along the way.

If you have any questions about these tips or about other advice you’ve received lately, leave us a comment.

This post was written by Ioannis Giannaros and Derek Cavaliero of the Internet Marketing Firm, WebMechanix.

You may also like…

An Introduction to HTML Prototyping →
A Collection of Useful Web Design Wireframing Resources →
A Collection of Printable Web Browser Sketching and Wireframe Templates →
15 Javascript Web UI Libraries, Frameworks and Toolkits →
25 UI Inspiration and Design Pattern Resources →
50 Essential Web Typography Tutorials, Tips, Guides and Best Practices →
25 Free Pictogram and Symbols Sign Icon Sets →
Illustrator Template Toolbox for Web, Mobile and App Developers →
20 Free Web UI Element Kits and Stencils →



"

Sunday, May 1, 2011

The Relevance of User Experience: Using Every Opportunity to Impress Users

The Relevance of User Experience: Using Every Opportunity to Impress Users: "

Is it possible to calculate the ROI of great design? What about the cost-per-acquisition of a customer sold on User Experience? There are no second chances for first impressions, and even the smallest opportunity is a chance to “Wow” users. What you do with that opportunity can spark a chain of events that can make or break your business.


Worth Doing Right


Many a startup dream has been shut down before ever truly starting. Once it is discovered that there is someone else with the same idea – months or even years ahead of you, your efforts can seem simply pointless. Even if their product looks rudimentary you imagine them already developing all of your ideas, ready to own the space and the users.


Pete: You mean like Mr. Skin?
Ben: Who’s Mr. Skin?



There is such a thing as "first mover advantage" – however, in the fast moving tech world there are many examples of companies losing that advantage, or simply being beaten in the long term by startups willing to accept a "best not first" approach.


For every new web technology company there is an equal and opposite competitor. Many variables can factor into who makes it and who doesn't. Often, however, it simply comes down to the User Experience.


Mint vs. Wesabe



Mint vs. Wesabe

Wesabe and Mint both set out to change the way people managed their personal finances. Wesabe launched first, but was quickly overshadowed by Mint's meteoric rise. Just two years after launch, Mint was sold for $170 million to Intuit, and shortly after that Wesabe shut its doors for good. In a recent blog post, Wesabe's co-founder Marc Hedlund provides a detailed and candid account of why they lost. Although he doesn't concede a better design, he does admit that Mint had the better overall user experience. While Mint had simply licensed the technology to aggregate the financial info, Wesabe laboriously attempted to do this in house. Mint was able to focus their resources on what ended up mattering the most: user experience so good people told their friends.


Reddit vs. Digg



Reddit Vs. Digg Trends

Steady decline for Digg, slow growth for Reddit.



Digg launched in 2004 with a minimalist layout and a core group of users. Over the years there were buyout rumors, site design & voting algorithm overhauls, shifts in management, and layoffs. As time went by it became clear to many users that Digg had lost the magic it once had. In comparison, Reddit, founded in 2005 and purchased by Conde Nast in 2006, has retained its minimal design, unobtrusive advertising, and loyal user base.


Facebook Vs. Myspace


Neither Facebook nor Myspace can claim the title of the first social network, nor are there drastic differences in their base functionality. Myspace launched first in 2003 with promotions including flashy parties in Hollywood clubs. Their platform allowed for users with no technical knowledge to customize their pages with HTML templates which could be obtained from sites catering to this new cottage industry. Facebook, launching in 2004 as an ivy league only network, slowly expanded to allow other colleges, high school students, and eventually everyone to the network. Facebook relied entirely on the word of mouth spread by its users. While Myspace allowed its users to create garish sites, Facebook made a name for itself with its consistent user experience and simple designs.


Apple


The iMac is often noted as saving Apple, and it did mark the beginning of the revitalization. For your consideration, however: the iPod. It was definitely not the first mp3 player, and it wasn't even their first foray into consumer electronics. However, the gambit worked. What was different?



  • The product worked. Users loved it.

  • The product was interesting to and usable by a larger audience.



It also introduced new users to the "it just works" mantra. iPod owners became iPod Touch owners, who became iPhone owners, who are now becoming iPad and Mac owners. Apple was able to reach a large enough audience that the iPod became synonymous with mp3 player to many users, and later, sell to a market segment that didn't know of smartphones before the iPhone. By capitalizing on a best not first strategy, the combination of marketing and critical mass reached the large, profitable group of non-tech savvy users.


Google


Perhaps one of the best examples of the power of superior User Experience, Google launched itself into an already crowded search market without a single dollar allocated for advertising or PR. The experience spoke for itself so well that word spread on its own, and Google was able to extend their innovation and success in search into additional products.


While I don't particularly think of myself as a fanboy, I do however, know the feeling. I have to admit that there was a time period when I was a emphatically enamored with GrandCentral. As soon as I got past the digital velvet rope, and into the private beta, I was sold. My friends probably grew tired of hearing me try to drop its list of features into casual conversation. Google bought the company, & eventually changed the layout and turned it into Google Voice. The new layout was similar to Gmail – which I had never really used enough to see what all the fuss was about. I knew my tech friends had been touting its virtues for awhile, but I really didn't understand what could make it that much different. Google Voice made me more comfortable with Gmail, and it wasn't too long before I was a convert, routing all of my email addresses through either Gmail or Google Apps. Google Voice also drove me to Android where I became further entrenched. I think Chrome sold me on its own. Obviously I was familiar with Google search, and used Adwords & Analytics at work. The net-net though, is that Google successfully parlayed their opportunity to sell me, and before I knew it I was using their products all the time, and recommending many of them to friends.


Planting Seeds


Obviously, the stickyness is part of the plan, as well as attracting the core audience first, whose opinions will be trusted when they make recommendations to their friends or employers. Tech is no different than any other industry, and new products will always attract the bleeding edge users first. The trick is to make the product great – so that they like it, blog it out, & talk about it at dinner parties. When they tell their mothers about your product, you can pop the champagne.


How do you calculate the ROI on this type of marketing? Is it possible to attach dollar figures to a passionate user base? Advertising was novel at some point. How many generations ago? The current generation, their parents, and their grandparents have all been market segmented and advertised to since the day they were born. Is it really a surprise there is a backlash? To continue getting past the noise, marketers have to be increasingly brilliant. What if that energy was channeled making the product great enough that it makes product evangelists out of average users?


The Relevance of User Experience


The concept that you can find what you are looking for on the Internet is now ancient. A bit of perspective for fellow late 20s dinosaurs: there are voting age adults who have never known a time when they couldn't find anything they ever wanted to know instantly. Currently the only novelty felt when you find exactly what you are looking for is when you have to filter out all the blogspam and Squidoo pages first. The natural progression is in the relevance of User Experience, and creating products so good that they aren't just recommended by the people on TV, the users themselves are the advertisements. With the facilitation of social media we are increasingly paying more attention to what the people we care about, care about.


One of the subjects in college that I was surprised to find fascinating was Operations Management. Equally surprising was the amount of statistics (and thusly Calculus) used in forecasting. I love looking at large sets of data for patterns, and being able to take the correct course of action based on the cold hard facts. I have to imagine large companies utilize these calculations to chart their course. However, its undeniable there is something romantic about the idea that with a clear vision of a great product, and a hunch that if you can motivate a core group of users, you can eventually reach millions of users who love your idea too. Movies aren't made about decisions reached by committees and pie charts after all.


Even Microsoft


Recently it came to light that Microsoft did something very un-Microsofty with Windows Phone 7: they scrapped years worth of work and started from scratch. Similar to the timing of Apple's iMac and iPod products at the turn of the millennium, their decision was reached while recovering from less than stellar product launches, & steadily declining market share. Coupled with the fact that we are either in the end of the beginning, or the beginning of the end of the personal computer era, & it seems to make it obvious that status quo will no longer cut it. I would love to look at the data that went into this decision though. It may very well have come down to the gut instinct of one man, and its very possible that next to licensing QDOS its the most important decision they have ever made. They had to see the writing on the wall: the smartphone market may only end up being as big as every person on the planet, and you get one chance to either impress them, or blow it.


Binary Scale


The world moves quickly these days, and it can seem a little callous if you aren't willing to keep up. When faced with a deluge of resumes recently, one company implemented a new application procedure: applicants were now given the opportunity to leave a 2 minute long voicemail stating why they were right for the job. Your life. In 2 minutes.


Companies and politicians can no longer afford a two or three sentence pitch, they need 2 or 3 word microscripts. If you are a startup, your entire core competency needs to fit in a tweet, & starting with the very first impression, your experience should give your users something to tweet about.


In closing, a recent epiphany I had when thinking about software UX: its all ones and zeroes. Every single bit of it. All we are selling is what you do with it, and how.




"

7 Excellent Collaboration Tools You Might Now Know About But Should

7 Excellent Collaboration Tools You Might Now Know About But Should: "

There are many collaboration tools are out there, but getting by free and good ones is not that easy. That is why I am sharing 7 Excellent Collaboration Tools You Might Now Know About But Should. Read each entry in the list and see which tool suits your needs best.

You are welcome if you want to share more online collaboration tool that our readers/viewers may like. Do you want to be the first one to know the latest happenings at  SmashingApps.com, just subscribe to our rss feed and you can follow us on twitter and follow us on Digg as well to get updated.

Banckle

Banckle creates easy-to-use Collaborative & Social Apps to increase business productivity and sales. The Apps enable business to efficiently share, communicate and discuss anywhere, anytime. This is free for 1 year for everyone.

Webplanner

Webplanner is an online collaborative project management tool. You can use the power of the cloud to brainstorm project goals, phases, tasks, and multiple levels of subtasks with your team. Assign responsibility for tasks to team members, who will be notified automatically, and then work out task details through comments. Upload and share project-related files. Print reports. Schedule your project using a dynamic Gantt chart with dependencies and a critical path view. It will help you track the progress of your project using the Overscreen screen (at left), which includes a project status pie chart, a list of approaching tasks for the whole project and individual team members, a project activity feed,
and a team status list.

ideapi

ideapi allows you to create briefs, proposals and documents quickly, share them easily with your team and/or clients, work together to create better content and share ideas.

managewith.us

managewith.us is a collaborative task manager. Now sharing a task list is simple, just send someone your task list’s unique URL. You’ll be able to see each user’s updates in real-time, the second they happen. Also, there’s no need to sign up, just 1-click and away you go.

collabedit

Collabedit is an online text editor that lets people collaborate in real-time. It works in your web browser so no installation is needed. You can use it as text editor, chat, document history, syntax highlighting for programmers, account to track your documents.

Cacoo

Cacoo is a diagram creation tool that runs in your web browser. Multiple people can work together on the same diagram in real time. Diagrams can be published directly to websites, wikis, and blogs.

Byapp

Byapp task list is a simple to-do list that supports multiple users. It helps you get things done. You can assign tasks to yourself or to others. Add them to lists (project x, personal, Fax, Email) for quick scanning and to check them off when they’re done.

Brought To You By

Premier Survey
Do you want to advertise here? Click to get more info…



"