Exercises, examples and other material relating to training module W603. This topic is presented on public courses Deploying LAMP - Linux, Apache, MySQL, Perl/PHP
, Linux Web Server
, Technology Background for PHP
, Getting Public Sector Data on Line
If you're providing information processing tools on a web site, there's a bewildering array of options from which to choose. This module describes the overall structure of a web server, then goes on to consider the various ways of adding executable content to that web server. We look at the strengths and weaknesses of the more common approaches to help you decide which is best suited to your particular needs.
|Articles and tips on this subject||updated|
|4277||Sending a message to the server and changing text on a page when a button is pressed|
* I wish to provide a button on my page that signals when it's pressed back to the server
* I wish the server to log the button press (a vote, perhaps) but not refresh the page
* I wish to change the text on the page to give visual feedback that the button has been pressed
Easy enough, ...
|3915||How does PHP work? |
From Learning to Program in PHP and PHP Programming - presented this week, and repeating at regular intervals - see schedule.
Let's say that I want a web page - with a single URL (Uniform Resource Locator / name) - to show up differently in my browser depending on how I run it ...
• I write the ...
|3705||Django Training Courses - UK |
We run regular public Python courses - for newcomers to programming (Learning to Program in Python) and for delegates with prior programming in another language (our Python Programming course). If you're going to be using Python within the Django web framework, we can extend the course to cover that ...
|2282||Checking robots.txt from Python|
The robots.txt file - which well behaved automata check to see whether they are welcome on a web site - has two directives in its base specification ' User-Agent and DisAllow. You will find some other directives used, and you will find some sites who have a robots.txt file that has blank lines after ...
|2055||Effect on server when memory runs out and swapping starts|
Here's an interesting example from a web server showing what happens when real memory runs out and the system starts swapping ... it can be something of a downwards spiral in terms of performance, as the majority of the resources are essentially tied up by the swapping / keeping going at all once memory ...
|1749||Using server side and client side programming together|
I was back for first principles this morning for a delegate who - though very much an experienced programmer - is new to web work and HTML, and I put together a series of demonstrations using various web components ...
1. A straightforward HTML page, including document definition, a head and a body ...
|1615||PHP training courses every month|
Due to increased demand, we have increased the frequency of our PHP courses and we're now running at least one course on the subject every month.
* If you've never programmed before or written any HTML, start with a one day "Technology for PHP" the follow on to "PHP Programming".
* If you're familiar ...
|1554||Online hotel reservations - Melksham, Wiltshire (near Bath)|
I'm happy to announce the release of our online booking system for rooms at Well House Manor - the hotel that we run alongside our training centre, catering also for other visitors to the area of West Wiltshire and Bath who are looking for larger, superior rooms, unlimited internet access, large screen ...
|1365||Korn Shell scripts on the web|
I know that the Korn shell isn't exactly the most common language for web scripting ;-) .... but if you've got a load of Korn shell scripts and a heap of Korn shell experts ... why not?
"How would you do it" I was asked yesterday and I put together a tiny demo to show some of the first principles. ...
|1355||.php or .html extension? Morally Static Pages|
You'll find many pages on our web site with .php extensions, and many more with .html extensions. "So the .php files contain executable content and the .html files do not" you may think. No - not exactly; in practise almost every page actually contains some PHP / Script elements. So WHAT, WHY, HOW?
|1031||robots.txt - a clue to hidden pages?|
The robots.txt file is designed to provide spiders and crawlers with a list of places they should NOT go - it's described as the "robot exclusion standard" file and its intent is to allow the webmaster to segregate his site into indexable and non-indexable.
But because it lists directorys to be excluded, ...
|1020||Parallel processing in PHP|
PHP is designed - where necessary to the exclusion of other uses - as a web page tool. In other words, where a language design decision needs to made between something that is good for the web use, but bad for more general use, the decision will always be in favour of the web. "I don't care how it effects ...
|642||How similar are two words|
Do you want to help your web site user find what he's looking for on your web site, even if he mis-spells a name or word in a search? PHP provides you with three facilities - soundex, metaphones and Levenshtein distance calculations - which let you compare two words and see how similar they are when ...
|732||Where is a web site visitor browsing from|
Here's an extract (reprinted with permission) from an email I received from James - a fellow web site owner, trying to identify visitors to his web site ... he had found and used our IP lookup, and was impressed that we got it right ....
I have just bought a csv database from [[supplier deleted]]. ...
Examples from our training material
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
When do I want to use server side technologies?.
Anatomy of a Web Server.
Web Server Security.
Web Server support for page authors.
Server upload technologies.
FTP / Telnet.
Disk Networking system.
Serverside Interface Methods.
The HTTP standard.
The Common Gateway Interface (CGI).
Server Side Includes.
Active Server Pages.
Your own server.
Other Interfacing methods and a comparison.
Cookies, sessions and shopping carts.
Scale of use.
Further Serverside examples.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.