Featured Links

Other Topics
Sponsored Links





Quote of the Day

"Mine was the role of the oilcan in making the machinery clunk around."

Hugh Casson








 




 
Featured Web Development Articles

Front-end Web Developer Metamorphosis
The only constant thing in this world is change. You have to be adept with these changes in order to keep going and excel. Web design is not the be-all end-all in developing a site. This is the very reason why metamorphosis has led to the recent ...

How To Start Your Own Virtual Assistant Business
Thanks to the Internet there's a new way to make money with your computer. You might be surprised at all the different services you could offer with this new home business. Most people have become familiar with word processors, which usually consists of ...

Link Popularity: Improve your Search Engine Rankings
What is link popularity?Link Popularity is simply the total number of pages that link to your website. Most search engines, including Google, consider that when one page links to another page, it is effectively casting a vote of confidence for the other ...




"Mosaic Layouts": How and why to avoid creating puzzle-looking websites.
 
When your visitors browse a webpage, their browsing experience depends on many things that you already know - connection speed, computer hardware and software, internet provider are just a few. However, the role that good web design plays in browsing speed is often under-recognized. Pictures and graphics as a navigation aid are often a powerful 'hook' for customers, and can easily enhance a browsing session. When incorrectly used, they can create bottlenecks that hamper the message your site needs to send.

Basically, if you are making an image mosaic, you need to remember a pair of important rules:

Rule 1: The page load time increases together with the number of page elements, even if their total size remains the same.

Rule 2: However, merging page elements will lead to a longer wait until you visitor sees the first portion of your webpage. You need to keep a balance.

In designing a webpage, you have to set priorities. Is your goal a fast browsing experience or maximum visual impact? Will your customers wait for long enough or will they go elsewhere?

Web designers using graphical navigation have many choices - to include graphics and text, to just work from one large image with several navigation elements, or to load many small ones. The latter is a popular method today, but can lead to slow access times. This slowdown is particularly noticeable on dialup connections, but because server requests are less affected by download speed, if you have a bottleneck in this area it can affect all of your users.

Let us examine the server request process:

Step 1: User clicks a link, and the browser sends an HTTP request to the server;

Step 2: The request goes through Internet hosts and routers, and then reaches the server;

Step 3: The server processes the request and sends the HTTP response and data back;

Step 4: The response goes through the Internet, usually on a different route, and then reaches the browser and the element rendered by your browser, and displayed on your screen.

How can you calculate the effect of this complex process on the customer experience? There are two main factors involved: the "Internet latency time" and the "HTTP request".

The typical minimum size of an HTTP request is 256 bytes. This means that when browsers request an image of one byte in size, the browser needs to send a 256 byte HTTP request on both of its server connections, and the server has to send back an HTTP response of the same size, along with the one byte of content. You can use the following formula when calculating the contribution of HTTP request delays:

HTTP Time Loss = (4 kilobits) * Elements / Bandwidth in kilobits per second

In essence this means that on a regular website, where the number of page elements is between 10 and 30, HTTP overheads will add significantly to your load time. For example, in a page with 50 elements, and a 56kbps connection speed, 3.57 seconds of page load time is wasted. Let's say the page size is 100KB. It means that the 'expected load time' is 14.28 seconds but actual time is 25% greater.

Internet latency time involves how the packet (request) gets to the server and back (steps 2 and 4). The amount of time this journey takes is known as "ping time". The shortest possible ping time to the other side of the world is 85 milliseconds. That is because 85ms is the time the electrical signal needs to travel to the other side and back in a straight line through the Earth. Of course, the shortest possible ping across the world is 133ms, as we cannot cut through the Earth. In practice on overseas websites, the actual ping is often higher, over 300ms not being unusual. To local sites inside the USA and Europe, typical ping time can be 100ms or lower (Source: http://www.internettrafficreport.com).

Internet latency time loss = Elements * (PING in milliseconds / 1000) / 2

In the above formula, "2" is the necessary correction factor given that browsers usually make more than one connection to the server.

It is possible to incorporate ping delay time and HTTP header request delays, described above, into a final formula:

Total loss of time = Elements * (4 kilobits / Bandwidth + PING / 2000)

Despite the growing penetration of broadband in the world - according to Nielsen NetRatings, over 60% of US households and 85% of US work users are now broadband equipped - many users still suffer from slow page load time. This can drive users away and does not encourage return visits.

Remember that just decreasing the size of the smaller images on your site doesn't help significantly if they are already less than 500 bytes. Try to decrease the number of images by combining them into one or more large images. You can use image maps for this purpose, which work from the position of the mouse on the image, and are a good way of cutting down on the problems caused by fragmented images.

The quickest way in grasping the "Mosaic Layouts" concept is that every ten elements you add to your site - no matter what their size - will commonly add an extra second to your load time.

Article URL: http://www.so ftwaretalks.com/mosaic-layouts/

About the author:

Jonathan Tunn is a staff writer for SoftLogica covering personal technology. He studied Journalism at RMIT University in Melbourne, Australia, and acquired his IT background at a transnational telecommunications company.

Alexander Grasmik is a marketing manager for SoftLogica. He specializes in web development and p



Web Development News


New York Times

Palm Announces the Palm webOS
Palm Infocenter - 8 hours ago
The Mojo Application framework is based on HTML5, CSS, and JavaScript web development standards. Applications shown so far have featured gesture-based ...
Palm Pre Impressions, Part One TreoCentral
CES 2009: Palm Launches WebOS-Based PDA Phone Twice
Palm's Pre Gets Previewed at CES HULIQ
CNET News - USA Today
all 424 news articles

Ascentium Named #1 Web Developer Shop in Pacific Northwest
PR Newswire (press release), NY - 18 hours ago
Out of Ascentium's 330 Bellevue-based employees, 157 are engaged in web development. Founded in 2001, Ascentium has grown from a technology consulting group ...

iPhone World

iPhone's US web presence beats RIM and WiMo combined
Apple Insider, VA - 9 hours ago
... where progress toward standards-based web development has been held up for a decade due to the dominance of Microsoft's less than compliant Internet ...
Game Developer Confronts iPhone Software Cracker TorrentFreak
iPhone's Unexpected Gaming Skills MacNewsWorld
all 72 news articles

CNET News

Cisco Unveils Social Web Platform
Billboard Business News, NY - Jan 7, 2009
By Antony Bruno, Denver Cisco unveiled a Web development software platform called Eos, a set of hosted online tools designed, among other things, ...
Cisco Debuts Social Networking Platform Eos at CES eWeek
Cisco Eos Platform Delivers Online Social Experience for Consumers ... CNNMoney.com
Cisco unveils media products at CES EETimes.com
CNET News - Barron's Blogs
all 282 news articles

Phoenix Top Ten Ranked Electrical Contractor, Hawkeye Electric ...
SYS-CON Media, NJ - 6 hours ago
Their ideas and capabilities when it comes to integrating traditional PR, social media, web development and more were superior to those of the other firms ...