Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
For 2021 - online Python 3 training - see ((here)).

Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.

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
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 http://www.wellho.co.uk/robots.txt] 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.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2022: 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/T241.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb