www.neatstuff.co.nz


General:
Welcome
Amateur Radio
Electronics
Digital Video Recorder
Vintage Radio

How This Site Works

Linux on an IBM R40e

My public bookmarks

Contact
 
Programming:
8051 Micro Programming
Linux Programming
 
Useful Links:

Sourceforge

Andrews Toyota V8

Artworks.neatstuff.co.nz

More Links
 
Login
Google

How I Created This website

General Description

I have been using this website as a learning process to learn more about PHP.

This site uses dynamically created pages. This means that I really have only one main page that contains the menu etc. The content on the right is switched depending on the users menu choice.

I have defined the menu entries in a separate file which can be easially edited to define menus without modifying the Main page. The main page uses a foreach loop to display the menu options.

I also used PHP for the comments page and links page. The links page loads links stored in a CSV (comma Separated Variable) file that is easially modified and adds approiate HTML tags. I envisiage adding the facility to have private links only displayed if an approiate login in provided at some stage. PHP is used to handle the dynamic page generation.

Since the site is small I have just used separate files for the content instead of a database, this gives less access overhead than a database.

All HTML and PHP code was proudly created in vi
who needs WYSIWYG editors?

This means the site should be relativly free from bloat caused by
excessive tags that WYSIWYG editors typically add.
The downside is that the webpages have not been put through spellchecker yet!

Supported Browsers

I am currently experianceing a few layout issues with IE 5.0, Its old but people still use it :-(.
I use a current version of Mozilla to check the site as I update it and then check it in IE 6.0 ocassionally.
I have tried to ensure that the site is viewable on a text only browser such a Lynx and although the site uses javascript to enhane the visual side it should be perfectly accessable on a browser that dosen't support javascript.

I aim to keep the site in a format that scales correctly when the text size setting in the browser is changed as I find it annoying when sites decide that the user dosen't need to change the font size or use redicusly small fonts that even on largest setting are too small. Not everyone can afford a 20" monitor or has perfect eyes!