Xitami Xitami 1.3c

| iMatix home page | Xitami home page | << | < | > | >>


A Beginner's Guide

Setting-up a Web Site

General Remarks

Xitami does the same work as any other webserver (only faster and more reliably), so this section covers general information that you can probably find on the Net, in a hundred books, and in documentation for other web servers. Since you chose to look here, we'll feel free to mix our opinions with our advice.

You must of course have a good idea of 'Why?' before you start building a web site. Who is going to access it, how often, and to get what information? A web site is basically an exercise in publishing. So be prepared to spend a lot of time writing and editing material. Web sites that look like video games may be fun to build, but are usually painfully slow to work with, and don't necessarily add any value to the information you're presenting.

There are many tools that help with the process of building and managing the many HTML files you will need. However, there is no substitute for a good knowledge of HTML (which is a simple language) and for some skill in managing complexity. The shareware HTMLib library is an excellent reference for the HTML language.

You may find that a tool like MS FrontPage is ideal for managing this problem. You may alternatively prefer a more mechanical solution, such as the htmlpp preprocessor that we use for our web site. Of course, we recommend htmlpp. It's simply more open and flexible than any do-it-all environment like FrontPage. Whatever choice you make, these are some of the issues you will have to manage when you start producing dozens, then hundreds of HTML files:

Top Ten Things To Do

  1. Learn HTML - use a reference like HTMLib to keep up to date.
  2. Write HTML that works with all browsers, including text-only browsers.
  3. Learn the basic rule of publishing: keep it clean.
  4. Keep your web pages simple so that they load quickly.
  5. Your home page should fit on one screen.
  6. Use an HTML validator tool to check your pages.
  7. Use a good tool to manage the web site files.
  8. Keep a test site, and test well before you publish.
  9. Use the Xitami alias functions to access other resources such as HTML-driven CD-ROMs.
  10. Use the Xitami errors.log file to detect and fix link errors.

Things To Avoid Like The Plague

  1. Blinking text.
  2. The bells and whistles offered by proprietary extensions - these are designed to lock you and your clients into vendor-specific solutions.
  3. Lots of images, unless you are building an intranet site. Images can be very useful, but cost a lot in terms of preparation, maintenance, disk space, and network transport.
  4. Java, JavaScript, ActiveX, PerlScript... unless you are very aware of the costs and benefits involved. All programming is expensive, and executable content is particularly costly. not least because it relies on untested, rapidly changing technologies. Like images, executable content is most often used for flash, not to solve specific problems.
  5. CGI, unless you really need it and are aware of the costs and benefits involved. Badly-written CGIs will slow-down your entire site. Good CGIs can provide a very useful level of interactivity, but you must know what you are doing.
  6. Cookies. Personally, I hate cookies, and I dislike sites that try to make me accept them. If you need persistent information, use encoded URLs.
  7. All web servers except Xitami - why make your web site run slower?

Installing Xitami

Xitami is quite simple to set-up -- basically it runs with no configuration at all -- but your TCP/IP set-up must work first. You can start by making a stand-alone site (a browser talking to Xitami on the same machine), then connect your system to a network and let other people access your pages. This is a checklist of things to do: