Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
For 2023 - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Perl module P774
Good CGI scripting.
Exercises, examples and other material relating to training module P774. This topic is presented on public course Using Perl on the Web

Articles and tips on this subjectupdated
4391Refactoring Perl applications to give them a rosy future
I'm doing some contract work at the moment to help sort out a Perl / CGI web solution that's been running well for a number of years, but needs enhancements and a route forward, and for which the original team's no longer available having moved into other full time employment. And it strikes me from ...
4320An example of Model-View-Controller techniques in a Perl / CGI script
Separating out the look and feel of a web application, the calculation logic involved therein, the standard stuff that's needed in most web applications, and the glue that holds the pieces together was become pretty standard web programming practise. We call the look and feel the VIEW We call the calculation ...
261Putting a form online
I answered a question along the lines of "how much will it cost to put my [6 page] web form online" yesterday, and found myself coming up with a list of considerations, which I thought might be woth sharing as a checklist ... How many forms do you want your 6-pager converting into? (Don't do it all ...
Examples from our training material
Perl.1   Some sample quiz questions
bmic.pl   Simple CGI script with separated view and elementary validation only
main.htp   Template for Quiz system demo
msgsys.pm   Message System in Perl
mycontroller.pm   Controller for Perl Framework, MVC demo
myframework.pl   The FRAMEWORK for a common gateway interface application
myhelpers.pm   Helpers for Perl Framework, MVC demo
mymodel.pm   Model for Perl Framework, MVC demo
myview.htp   View for Perl Framework, MVC demo
q15.pl   Quiz - Statistical table generator
questionset.pm   Business logic for quiz system demo
quiz.pl   Top level code for quiz system demo
thing.pm   Generic object used within business logic
whc_web.pm   Web helpers for quiz demo (and others too)
Background information
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
Planning your application.
State diagrams and the six step process.
Read form, read session, finish, start, save session, send response.
Sticky fields and sanitising user inputs.
Templating, Web helpers.
Cleaning up old carts.
Business logic.
Putting it all together in the 4 layer model.
Should you use sessions or hidden fields?
Sample Quiz question system using these techniques
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Ruby, Lua, Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses 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.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2023: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/P774.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb