![]() Home To Swedish Main Page Technical Documentation and Translation Technical Information Running a small business Producing websites Marketing Methods About Myself Downloads |
|
| Website Architecture, what´s that? |
|---|
Website architecture, that´s how your website is structured. For small sites, this is not important, but if you have ever gotten "lost" while browsing on a big site, you will appreciate how important it is to have some structure that would enable both the webmaster and the visitor to find his way without spending too much time. It is a matter of:
The building blocks of site architecture are:
|
![]() Figure 1 |
|---|
I will just comment on the sub-directory structure and the URL structure here.
Subdirectories, file names and URL structureSome search engine marketers recommend creating extra subdirectories in order to place extra keywords in the URL, particularly if a domain name do not contain important keywords or phrases. Keywords in Meta-tags are not of much importance anymore, but keywords in the URL:s are, so the more these are used, the merrier. The "standard" website structure looks like this:
|
The files "index.html" and "robots.txt" are always placed in the root. All other files can be placed wherever the webmaster prefers.
The URL for this particular site is "http://www.jc1.se/", which does not contain any useful keywords.
But an URL named "http://www.johnson_consulting.com/webdesign.htm" would contain both the company name and the keyword "webdesign". And if I were to get a better-named domain name, and then put this webpage in the subdirectory "web_design", and having this directory as subdirectory under "design", I would get the URL: Using hyphens in URL structureBut, really, how many site visitors do you suppose use INURL searches to find your site? Not many. And if people do not generally perform INURL searches to find your site, then do not get obsessed with using hyphens in your domain names and file names. |
| Tips for the do-it-yourself website producer: The importance of s p a c e! |
|---|
|
Sometimes, while surfing the sites on the Web I find sites that have so much going on I wonder where to go first. If you have visited your daily newspaper´s website or software download sites lik Tucows you will recognize the situation. Everything all jostled together, pixel-to-pixel, crammed into that one tiny space called the browser with no breathing room. Crisp organization coupled with clear navigation generally produces sites that keep visitors longer. These professional sites I mentioned have been with us for so long now that they can manage that. But how about your website? We will take a look into why less can be more powerful. Now, I'm talking about the increasing amount of sheer stuff that keeps appearing on an already jam-packed site. Elaborate plug-ins like Quicktime and Shockwave, flash animations and java applets, not to mention ad banners and plain ol' animated gifs. We sometimes feel that what we need is some breathing room, a bit of zen-style emptiness, in short a little more space. The print industry refers to places on a given page lacking either text or images as "white space" because in print the background is almost invariably white. Good judicious use of white space is one of key elements of print design. On the web, empty space doesn't necessarily need to be white but it is still an important aspect of good design and should be visible. Or not visible. Depending on how you want to (not) look at it. White space is important because it allows the eye to be guided along a page in a fluid seamless manner. Without white space the viewer is confronted with an enslaught of options all appearing equal and overwhelming. Too many images, too much color, too many fonts or just simply too much text might confuse and aggravate your visitors, more readily enticing them to close the browser window rather than to click further into your site. There are quite a number of layout tricks you can use to add clean appealing open spaces to your web site and the simplest of them all starts with the non-breaking space, otherwise known as or  . A whole group of non-breaking spaces functions like a small block of emptiness. |
You can put five of them together at the front of a paragraph to make indents or use groups of them to push images and words father apart from one another. You've probably seen the non-breaking space at work in w i d e l y s p a c e d w o r d s where a is placed between each letter to add roomy variety to headlines and titles. Along with spacing your words and letters horizontally you might also decide to add some vertical distance between them in order to help delineate sections, title headings or just break up large potentially monotonous blocks of text. You can give your text a break with the <BR> tag. The <P> tag is even better; it adds a single empty line wherever it goes. As opposed to other HTML-tags, it does not have to be followed by the </P> tag. Another trick is to wrap a font tag around a <BR> tag which effectively resizes the Break to be larger or smaller according to your specified FONT tag SIZE attribute. Even a lot of nicely spaced paragraphs can look funny if their individual lines are too long, so it's important to strike a balance between width and height by adjusting your horizontal margins to keep up. The <BLOCKQUOTE> feature gives you a quick and dirty way to pad paragraphs with wider left and right margins. This tag has been around from the beginning, and most browsers will indent both sides but some choose only to indent on the left. Of course these days the most popular way to control both horizontal and vertical margins is through tables. Tables were not intended to be used as a layout tool, but with the release of HTML 3.2 in 1996, designers far and wide jumped at the chance to layout their text more precisely when finally given a tool to "abuse". While this kind of layout need is exactly what Cascading Style Sheets are meant to fill, tables still provide a decent means of separating sections of text. Putting your text into a table cell surrounded by empty cells on either side is an obvious way to set margins on the fly. |
For example: <TABLE border="0"> <TR> <TD> </TD> <td>Main Text Goes Here.</td> <TD> </TD> </TR> </TABLE> Points of interest in the above example: Set the table border to zero, or else you won't have the invisible margin effect so much as you'll have a "look I'm formatting with tables" effect. The second thing to note is that some browsers have difficulty with empty cells. So, since you want the cell to look empty without actually being empty the ideal candidate for the job is our friend the non-breaking space. The last trick for inserting empty space is in some ways the most precise; the 1-pixel gif. The beauty of this method is that you can insert exactly as much nothingness as you want, one pixel at a time, simply by setting the tiny graphic's <IMG> tag HEIGHT and WIDTH attributes to exactly what you want. Because the gif is a scant 43 bytes (that's .04 K) it takes no time to download itself into your visitors' browser cache and can be used as many times as you'd like. A slightly less precise method but one that works in an even more behind-the-scenes manner is to set the HSPACE and VSPACE attibutes of the 1-pixel <IMG>. Sizing the invisible graphic this way prevents the "loading-graphic"-square from appearing when the downloading from the server is slow. Many browsers show an "outline" of images before they're fully loaded. If your image has been sized to be 200 pixels wide, visitors will probably notice such a square whereas a 1 pixel image with a 199 pixel HSPACE border will slink by unseen. The HSPACE/VSPACE attribute is far less consistent cross-platform. But the choice is yours. |
| Copyright © 2004, Johnson Consulting | Last Updated: 2009-01-23 |
|---|