Eclipse TBS Publications   PUBLICATIONS

Writing is our business0161 488 4454

 

A picture of pencils

BASICS TUTORIAL ON PCS AND USE OF THE INTERNET

WEBSITE CREATION

OVERVIEW

This page introduces you to all the delights of designing, uploading, marketing and maintaining a website.

DESIGN

Introduction

The design of a website involves the following stages not necessarily in the order shown):

Training

Before embarking on this journey, you need to be mentally prepared and this section advises what you should do. You first need to understand why you can't have full control of what visitors to your website will see. How your website is seen by visitors depends on:

You should then be given an appreciation of what all those frightful nerdy things like CSS, DHTML, XML, XHTML, DOM, ASP, CGI, Perl, PHP and JavaScript are and how they relate to each other, to stop you pulling your hair out. So here we go (and I hope you realise the value of this assembly in one small place of such details, resulting from considerable research) .....

You should now have some synergy with all that follows.....

Learn the basics of HTML straight from the horses mouth, ie the W3C, ably represented by Dave Raggett (Ref 8). Dave's tutorial helps you to accommodate the different browsers in your HTML code. It leads you from basic HTML to Advanced HTML and to a bonus 'Adding a Touch of Style' section. It then lists sources of even more details that include important stuff on CSSs and DHTML.

Then you should learn the basics of JavaScript. There are other sources of learning, but I suggest you start by reading WebTeacher (Ref 10).

JavaScripts allow dynamic effects on your pages, as illustrated by the following examples....

This script enables a web page to display a snapshot of the User's system Time and Date applicable when that page is first loaded in a browser, with a personalised welcome that's related to the time of day.

 

This script, courtesy Travelshop, displays a continuously updating world clock, allowing the User to see the time at any instant in many locations around the world.

Then you should become familiar with CGI. CGI is the method by which a web server can obtain data from (or send data to) databases, documents and other programs, and present that data to viewers via the web. More simply stated, CGI is programming for the web to add a counter, a form to let visitors send you mail or place an order, or something similar. A CGI program (script) can be written in any language such as PHP or PERL.

To learn the basics of PHP, go to the free tutorial at The PHP Group Ref 11. To learn a bit about PERL, go to Ref 12. Remember that there are many ready-made Perl scripts out there, if you still think you have the patience to learn the basics of programming in PERL for CGI.

ASP is used by some websites that are hosted by a server supporting ASP. I believe this means there is a Microsoft Windows NT Server or an improved Windows 2000 Server or now an even more advanced Windows 2003 Server at the host. A page comprising html code, images and text is modified by ASP code, which has opening and closing tags placed anywhere on the page. The page is then given a .asp suffix in place of the .htm or .html one to identify it on the server. The instructions in this code are then acted on at the server before the file is downloaded to a requesting browser. In Window XP Professional, there is an optional facility called an Internet Information Server (IIS) which allows a website designer to preview .asp pages before uploading them to the public server. Further details on ASP are available at Ref 46.

Planning

A What You See Is What You Get (WYSIWYG) editor such as FrontPage, CoolPage or Dreamweaver makes life for a starter much easier, because it allows you to see the page design resulting from its code and then to preview in your browser what visitors will see in theirs before you upload it to its allocated webspace (so get one if you possibly can!). On the subject of browsers, if you're really serious you could also download and install the free versions of the Netscape Navigator and Opera browsers (assuming you've already got MS Internet Explorer), so that you can see what visitors with these browsers would see (there are differences!).

You don't have to re-invent the wheel, so look at other websites to get ideas and acquire a copy of anything you can use (see 'Acquisitions' below). Look at, but don't be limited to, similar websites to the one you are planning (do a bit of 'lateral' thinking).

Note in particular the page structures and navigation methods used. Note particularly the differences between a site in which pages are based on 'frames' and one that is not: On a page in a site based on 'frames', navigation buttons (the navbar) and contact details are always visible, regardless of its scrollable length (an obvious elegance, the downside of which is that some search engine spiders and older browsers can't see it, so it's a good idea to provide an optional 'noframes' - based site, accessed via the 'noframes' html tags you may have learned about earlier in this tutorial).

If it's a commercial website, you need to decide on a budget for domain names, server and search facilities and if it's a non-commercial website it's common sense to use all those facilities that are free - let's not spend money (see 'Costs' below) when we don't need to, unless you're very keen to attract millions of visitors of course!

On a large sheet of paper, draw what you think is a family tree of the website you want, ie a hierarchy of pages represented by boxes. Decide if it's to be based on frames or not and decide on the navigation method(s) to be used.

To be continued...

Acquisitions

When looking at a web page containing something you can use, view its HTML and other code in Notepad or your preferred HTML editor:

Design and Test

Design your pages. Wherever possible, decide to make all your HTML files '.htm' (not a mixture of '.htm' and '.html', because you'll forget ther full names and it's one less button to press!).

Note: In the following descriptions, examples of HTML and other code are displayed red.

Create a folder at a suitable location on your hard drive with an appropriate name, eg 'mysite', for the files in your website, eg in My Documents>My Webs. Add a folder inside this folder called, say, 'assets' to contain image files, etc. Place all files for the site in the 'mysite' folder unless otherwise advised. Place all images and other assets in the 'assets' folder, except for '.swf' (Flash) and '.js' (JavaScript backing) files, which need to be in the same folders as their associated HTML files (or they get lonely and don't cooperate).

From your planning, you will have decided on a 'frames' based or a 'no-frames' based site:

To be continued...

Details updated: June 15 2010




Translate this page to (what may be a useful selection of) other languages below (restore to English at the top of the page)

Share on Facebook



©2010 Eclipse TBS, Cheadle, Cheshire • Phone 0161 488 4454 • Privacy Policy
To XHTML Validator (in a new window) To CSS Validator (in a new window) The WorldWide Web Consortium (W3C) validations of this website ensure full browser compatibility and improves accessibility
Guidance and/or advice contained in this website is subject to a UK regulatory regime and therefore restricted to UK based customers