Training, Open Source Programming Languages

This is page

Our email: • Phone: 01144 1225 708225

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))
Tcl/Tk module T241
Tcl on the Web
Exercises, examples and other material relating to training module T241. This topic is presented on public course Tcl/Tk

Tcl is a language that's designed to be used within other software, and sometimes that other software is a Web server or even a browser. We'll show you how this works in this module, and we'll also introduce you to TclHttpd, which is a complete Web server application written in Tcl.

Related technical and longer articles
Nasty Characters in Web Applications

Articles and tips on this subjectupdated
4461Reading from a URL, and reading Json, from your Tcl script
You can read from a URL in Tcl using the http package ... for example   package require http   set handle [::http::geturl] And you can then collect the data:   set body [::http::data $handle] and the http status code:   set ...
2429Tcl scripts / processes on a web server via CGI
If you have programs / scripts / processes written in Tcl, you can run them on your web server via the Common gateway Interface, possibly with a bit of topping and tailing to read data from a form rather than via gets commands, and to ensure that the output does get the right headers attached to it and ...
2238Handling nasty characters - Perl, PHP, Python, Tcl, Lua
Are your writing or maintaining a web based application that uses forms? If so, you have better be aware of some of the nasty characters that are around! The < character, when echoed back from a users's input 'unchallenged', may form the start of a tag. So that in a relatively benign case, a user ...
2040Error: Cant read xxxxx: no such variable (in Tcl Tk)
If you set a Tcl (Tcl/Tk) variable within a proc, or within the callback command of a widget, that variable does not exist at run time until you have run the proc or callback procedure, or until you have initialised the variable in some other way. Let's see a Tk example. I have created a window with ...
1785What is running on your network? (tcl and expect)
Earlier this week, I gave a much-tailored Tcl course, with a strong helping of expect. Expect adds three major extra commands to Tcl - spawn to start a new process under the control of the running Tcl/Tk code, send to send information to it and expect to await for - and decide on how to process - a ...
Examples from our training material
demoform.html   Demo form to submit to a Tcl handler
formrep.tcl   Using Tcl as a CGI scripting language - form collection
getpage   Reading http from Tcl
getpagejson   Reading json via http
isitnz.tcl   web application - is it from New Zealand?
scale.tcl   Sample Tclet to run within a browser
tcl_process.html   Form for data entry for formrep.tcl demo
tclcourse.tcl   CGI , Server side programming basics
tlet.html   Embedding Tcl in your browser (client side)
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
Some concerns on Tclets.
Server side Tcl via CGI.
The initial form.
The CGI program - inputs.
The CGI program - the application.
The CGI program - the response page.
Other matters on CGI and Tcl.
Web and non-web.
The TclHttpd web server.
What can TclHttpd handle?.
When would I use these?.
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 Tcl/Tk, Expect,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.

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

PAGE: • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb