The Well House Newsletter - Tuesday, 1st January 2013
About us and this newsletter [link] ...
Previous editions: November 2012September 2012July 2012May 2012March 2012January 2012November 2011September 2011July 2011 • or current edition

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics
Keynote article ...

Clustering on Tomcat

Subject: Clustering, using Apache http server (version 2.2.14 in my example) with mod_proxy_balancer as the front load splitter and Apache Tomcat 6.0.20 as the replicated application engine. [[Tip should also work for other recent 2.2.x and 6.0.x versions]]

Background

This is a follow on article from Load balancing with sticky sessions (httpd / Tomcat), where I looked at sharing out the application work between a number instances of Tomcat from an Apache http server (httpd) that did the bookkeeping. In a nutshell, the Apache http server sent new arrivals to a 'random' Tomcat, and then used sticky sessions so that - when a visitor came back for their subsequent visit in the same series of accesses - they would always talk to the same Tomcat and could continue their conversation with the server having full knowledge of the position to date.

The balancer alone is a good solution as far as it goes but:
• What happens if the Tomcat that has been stuck to goes out of service?
• What happens if you have such a lot of traffic that you need to replicate your httpd front end?
• What happens if your httpd fails?
• What is you don't actually want to use sessions, but still need what appears to be a single Tomcat?

One possible option to addressing some of these is to use the clustering capability of Tomcat, which I'll describe below. But you should first consider if you really need the extra step:
(a) can I accept that a session will be lost on the rare occasions that a Tomcat goes offline?
(b) is writing to a backend database going to preserve sufficient information anyway?
and if the answer to either is "yes", you probably do NOT need to cluster.

How does clustering work?

You run your web application on a series of identical (or rather "near identical" - the IP address will differ!) servers. With clustering turned on, each of the servers in the cluster is broadcasting (via multicast) any changes made in sessions, cookies, etc to any other listening cluster members on that same multicast address. So that when a visitor comes back for his / her next access, all the machines know what's been going on and can knowledgeably handle the request, even if the original machine isn't available.

You can turn clustering on in Apache Tomcat 6.0.20 simply by uncommenting the line in the default server.xml file that relates to it:
  <Cluster className = "org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
and restating your Tomcat. Older versions of Tomcat (such as 5.5) had a long configuration section listing the ports, replication time, IP addresses to use, trigger files all of which are important but none of which actually needs to be changed from default in the current release that's the target of this article.

Once you have turned clustering on (yes, it's now that simple), your machines will be communicating ... it's rather like starting a rumor in an office - before you know it, EVERYONE who's around has heard the rumor.

Clustering with the balancer

If you have already implemented balancing with sticky sessions (as covered in the preceeding article), turning on clustering will cause the data to be shared around. Most of the time the data passed around will not be used - it will ONLY form a backup of the session, to be used if the balancer is unable to reach the sticky machine because it has done down or been taken out of service.

With sticky sessions activated, even a second front-end Apache http server won't cause a switch from one Tomcat to another unless a fail-over occurs, as the jvmroute is a part of the cookie so either (any) of the httpd front ends will correctly forward to the original Tomcat. And if you have an intelligent hardware load balancer, that too will be able to forward consistently and the the clustering will remain merely as a backup.

If you disable sticky sessions on your balancer, the metrics will change. Forwarding will now be at shared to each of the Tomcats in the balanced group / cluster group (take care that all members of the balance group are included in the cluster!) and so the visitor will get to a differnt back end box each time. But that's now perfectly fine, as they're sharing the data between them so will all know about the originator.

Testing if your cluster is working

Ironically, clustering and balancing is designed to be transparent, so how do you test whether it's working?

My first simple 'trick' is to change the background colour of the pages returned from each cluster member so that "if it's orange it must be Holt" and "if it's blue it must be Chippenham" (our servers are names after local towns and villages!). Going a little further, you can edit your servlet / JSP to return the name of the current host. In Java, the following line:
  String myname = InetAddress.getLocalHost().getHostName();
will return you the local name of your computer, so that you can then echo the name.

On last Tuesday's course, I took our sample "Barman" script that remembers how many drinks you've had in a session (visit counter!) and extended it into a "Pub Watch" script, where each of the barman communicates with his colleagues in neighboring pubs to keep track of who's out on the town, and how much they have had to drink in each establishment.

If you click on the links in the previous paragraph, you can download the source code for "Barman" and "PubWatch" and try the code out for yourself. Using the balancer manage that I introduced at the end of yesterday's article, you can open and close individual pubs and see how their customers go elsewhere for their next drink, and you can turn sticky sessions off in the balancer and see how faithful customers will then hit the road and go to a different pub each time for their next drink.

Some notes on clustering

1. The machines in the cluster communicate through multicast, so must be on the same subnet.

2. It's a good idea for the subnet you use to have plenty of capacity if your environment is busy, and for it to be firmly behind a strong firewall from your own company's general user traffic, let alone the Internet

3. If you have multiple Tomcat clusters on the same subnet, you'll need to configure one of the clusters away from the default settings - otherwise they'll end up as being one big cluster (you'll find the word 'tribe' creaping in here!)

At present, we mention clustering on our public deploying apache httpd and Tomcat course. Only a small proportion of our delegate want to go 'that far', and for newcomers who hadn't done any web server work when they first came along a couple of days earlier, it would be just too much for the one session.

An extra day on the end of a Tomcat course, coverage in a private course, or a special session set up for the purpose ... all are possible to help you learn how clustering and balancing work. We'll have a network of computers set aside at our training centre for the purpose of setting up a test case, experimenting with configurations, seeing what happens when machines are switched on and off. Something you wouldn't dare so with your own production environment, and might be reluctant to do even on your development of test networks (that's even assuming that you do HAVE multiple machines at the development or test level).
(this article written on 2009-10-30)

Other articles ...

Linux and Shell Programming
[3891] The components of an Apache httpd / Tomcat / MySQL stack and what each does
[3792] Managing daemons from a terminal session
[3791] The Kernel, Shells and Daemons. Greek Gods in computing
[3679] Setting up your Linux system as a firewall using iptables
[3666] Makefile variables - defined internally, from the command line and from the environment
Top or Show all for Linux and Shell Programming

Apache HTTP and Tomcat Servers
[3915] How does PHP work? - (new - 2012-11-07)
[3892] Distributed, Balanced and Clustered Load Sharing - the difference
[3862] Forwarding a whole domain, except for a few directories - Apache http server
[3819] Packing a tar, jar or war file - best practise
[3753] Adding a passcode to a directory
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[3811] Associated Classes - using objects of one class within another
[3809] Dwarf Exception Unwind Info
[3807] Reading (and writing) files in C++
[3718] Splitting a record into individual data values in C
[3717] Returning extra results from a function in C
Top or Show all for C and C++ Programming

Melksham
[3960] Picture - between Lacock and Melksham - (new - 2012-12-21)
[3949] Melksham Spa from Woolmore Farm - (new - 2012-12-09)
[3948] Quiet little town? Advanced Technology Centre? - (new - 2012-12-08)
[3944] Melksham Christmas Lights, 2012 - (new - 2012-12-05)
[3904] Want to help us improve transport in Wiltshire? Here is how!
Top or Show all for Melksham

Training from Well House Consultants
[3964] What is coming up from Well House in 2013 - public Open Source / IT courses. - (new - 2012-12-28)
[3950] 10 reasons why I travel the night before a course starts - (new - 2012-12-10)
[3898] The course must go on - improvements to tutor travel plans, with immediate effect
[3876] October to December 2012 - Public Courses
[3829] Training courses - rest of 2012, 2013 and January 2014
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[3965] Well House Manor, Melksham - on national TV next week - (new - 2012-12-30)
[3963] National TV - Melksham - 9th January 2013, Pre-alert. - (new - 2012-12-27)
[3962] Melksham welcomes visitors - new blue plaque trail and more - (new - 2012-12-27)
[3961] Well House Staff Party - (new - 2012-12-22)
[3933] Behind Melksham Spa - Mood Mist over wet fields. - (new - 2012-11-23)
[3924] The bedrooms at Well House Manor - (new - 2012-11-16)
[3909] Every Customer Counts - (new - 2012-11-01)
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[3932] River nearly bursting its banks in Melksham - (new - 2012-11-23)
[3883] Apple Pressing Day 2012
[3865] What makes Well House Manor different?
[3863] Five new fans at Well House Manor
[3856] Edwardian day with Croquet - Well House Manor, 8th September 2012 - Pictures
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[3910] Identifying your real customers and keeping them well informed fast - (new - 2012-11-02)
[3896] An email marathon
[3859] Youve Been Selected for the 2012 Edition of the Global Registry
[3759] The five oldest blogs and the horses mouth
[3746] Google Analytics and the new UK Cookie law
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[3954] Lesson 1 in programing - write clean, reuseable and maintainable tidy code - (new - 2012-12-16)
[3844] Rooms ready for guests - each time, every time, thanks to good system design
[3843] Caching Design Patterns
[3810] Reading files, and using factories to create vectors of objects from the data in C++
[3790] Solution looking for a problem? Lookahead and Lookbehind
Top or Show all for General Programming Topics

PHP - the language and its application
[3959] Testing code coverage (have I tested everything?) in PHP - (new - 2012-12-21)
[3958] Testing classes for your PHP website with PHPUnit - (new - 2012-12-20)
[3956] Zend / layout of MVC and other files in an example application (PHP) - (new - 2012-12-16)
[3955] Building up from a small PHP setup to an enterprise one - (new - 2012-12-16)
[3953] Objects in PHP - Revision - (new - 2012-12-16)
[3952] PHP revision ... by example. - (new - 2012-12-15)
[3946] Moving from a warning system to a control system - PHP, forum spammers - (new - 2012-12-07)
[3926] Filtering PHP form inputs - three ways, but which should you use? - (new - 2012-11-18)
[3918] Multiple page web applications - maintaining state - PHP - (new - 2012-11-10)
[3916] PHP variables - dynamically typed. What does that mean? - (new - 2012-11-08)
Top or Show all for PHP - the language and its application

Java and the Java Environment
[3573] New in Java 7 - and why we are not running public Java 7 courses
[3497] Not the same language - but based on the same constructs
[3365] Turning bright delegates into bright and knowledgable ones
[3293] Distributing the server load - yet ensuring that each user return to the same system (Apache httpd and Tomcat)
[3048] String handling - from first steps to practical examples
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[3884] Pictures - across the park, French Weir and River Tone, Taunton
[3800] Fancy a weekend away? Try Well House Manor in Melksham, Wiltshire
[3729] Then and now pictures of Melksham - on show through the summer
[3723] Bank Holiday Monday, so it was pouring with rain.
[3722] Walking by the wiver
Top or Show all for Around, about and nearby to Wiltshire

The Perl Programming Language and its use
[3941] Building an object based on another object in Perl - (new - 2012-12-03)
[3940] Run other processes from within your Perl program - (new - 2012-12-03)
[3939] Lots of ways of doing the same thing in Perl - list iteration - (new - 2012-12-03)
[3927] First match or all matches? Perl Regular Expressions - (new - 2012-11-19)
[3914] While, for, foreach or something else to loop. - (new - 2012-11-06)
[3875] Using CGI and Perl to put a simple application online. Sometimes still the best way.
[3874] Using Perl to read an RSS feed off a web site and extract data - via LWP and XML modules
[3870] Writing more maintainable Perl - naming fields from your data records
[3839] Spraying data from one incoming to series of outgoing files in Perl
[3833] Learning to use existing classes in Perl
[3830] Traversing a directory in Perl
[3823] Know Python or PHP? Want to learn Perl too?
[3770] Sample answers to training course exercises - available on our web site
[3707] Converting codons via Amino Acids to Proteins in Perl
[3630] Serialsing and unserialising data for storage and transfer in Perl
[3581] Perl - calls to methods that use => - what do they mean?
[3577] How to do multidimensional arrays (or rather lists and hashes) in Perl
[3574] Perl functions such as chop change their input parameters
[3547] Using Perl to generate multiple reports from a HUGE file, efficiently
[3546] The difference between dot (a.k.a. full stop, period) and comma in Perl
[3485] Perl - retrieving and caching web resources
[3449] Apache Internal Dummy Connection - what is it and what should I do with it?
[3446] Awk v Perl
[3445] Perl and CGI - simple form, and monitoring script.
[3444] Take the dog on a lead - do not carry her. Perl references.
[3412] Handling binary data in Perl is easy!
[3411] Single and double quotes strings in Perl - what is the difference?
[3409] When variables behave differently - Tie in Perl
[3407] Perl - a quick reminder and revision. Test yourself!
[3406] Not multidimentional arrays - but lists of lists. Much more flexible. Perl!
[3400] $ is atomic and % and @ are molecular - Perl
[3398] Perl - making best use of the flexibility, but also using good coding standards
[3377] What do I mean when I add things in Perl?
[3375] How to interact with a Perl program while it is processing data
[3374] Speeding up your Perl code
[3335] Practical Extraction and Reporting
[3332] DNA to Amino Acid - a sample Perl script
[3326] Finding your big files in Perl - design considerations beyond the course environment
[3322] How much has Perl (and other languages) changed?
[3106] Buckets
[3105] Adventure with references to lists and lists of references
[3098] Learning Object Orientation in Perl through bananas and perhaps Moose
[3097] Making Perl class definitions more conventional and shorter
[3077] Perl 6 - significantly nearer, and Rakudo looks very good
[3059] Object Orientation in an hour and other Perl Lectures
[3012] Exception handling in Perl - using eval
[3011] What are .pid files?
[3010] Children, zombies, and reaping processes
[3007] Setting up a matrix of data (2D array) for processing in your program
[3005] Lots of ways of doing it in Perl - printing out answers
[3004] Increment operators for counting - Perl, PHP, C and others
[2972] Some more advanced Perl examples from a recent course
[2970] Perl - doing several things at the same time
[2969] What does blessing a variable in Perl mean?
[2967] Multiway branches in Perl - the given and when syntax
[2963] Removing the new line with chop or chomp in Perl - what is the difference?
[2877] Further more advanced Perl examples
[2876] Different perl examples - some corners I rarely explore
[2874] Unpacking a Perl string into a list
[2840] Just pass a pointer - do not duplicate the data
[2836] Perl - the duplicate key problem explained, and solutions offered
[2833] Fresh Perl Teaching Examples - part 2 of 3
[2832] Are you learning Perl? Some more examples for you!
[2825] Perl course - is it tailored to Linux, or Microsoft Windows?
[2821] Chancellor George Osborne inspires Perl Program
[2818] File open and read in Perl - modernisation
[2817] Setting a safety net or fallback value in Perl
[2816] Intelligent Matching in Perl
[2815] switch and case, or given and when in Perl
[2813] Iterating over a Perl list and changing all items
[2812] What is Perl?
[2811] Igloos melt in the summer, but houses do not
[2805] How are you getting on?
[2801] Binary data handling with unpack in Perl
[2798] Perl - skip the classics and use regular expressions
[2783] The Perl Survey
[2736] Perl Course FAQ
[2688] Security considerations in programming - what do we teach?
[2657] Want to do a big batch edit? Nothing beats Perl!
[2551] Perl and the Common Gateway Interface - out of fashion but still very useful?
[2532] Analysing Google arrivals by country of origin
[2484] Finding text and what surrounds it - contextual grep
[2427] Operator overloading - redefining addition and other Perl tricks
[2416] Automating access to a page obscured behind a holding page
[2405] But I am reading from a file - no need to prompt (Perl)
[2402] Automated Browsing in Perl
[2399] Firefighting with Perl
[2382] Giving up on user input - keyboard timeout in Perl
[2379] Making variables persistant, pretending a database is a variable and other Perl tricks
[2376] Long job - progress bar techniques (Perl)
[2375] Designing your data structures for a robust Perl application
[2374] Lead characters on Perl variable names
[2321] Uploading and Downloading files - changing names (Perl and PHP)
[2243] Changing a variable behaviour in Perl - tieing
[2242] So what is this thing called Perl that I keep harping on about?
[2241] Perl references - $$var and \$var notations
[2235] Sending awkward characters by email in Perl
[2234] Loading external code into Perl from a nonstandard directory
[2233] Transforming data in Perl using lists of lists and hashes of hashes
[2232] Why sendmail one way, and pop3 the other?
[2231] What is CGI.pm / A dozen new examples
[2230] Running a piece of code is like drinking a pint of beer
[2229] Do not re-invent the wheel - use a Perl module
[2226] Revision / Summary of lists - Perl
[2219] Configuring httpd, or Tomcat, to run CGI scripts in Perl
[2213] Keyboard reading in Perl - character by character not line by line
[2129] Nothing beats Perl to solve a data manipulation requirement quickly
[2070] Converting to Perl - the sort of programs you will write
[2069] Efficient calls to subs in Perl - avoid duplication, gain speed
[2067] Perl - lists do so much more than arrays
[2047] Small Web Server in Perl
[2045] Does robots.txt actually work?
[1951] Whisky - Setting and reading cookies from Perl
[1947] Perl substitute - the e modifier
[1946] Variable Types in Perl
[1924] Preventing ^C stopping / killing a program - Perl
[1922] Flurinci knows Raby Lae PHP and Jeve
[1921] Romeo and Julie
[1920] Progress Bar Techniques - Perl
[1918] Perl Socket Programming Examples
[1917] Out of memory during array extend - Perl
[1897] Keeping on an even keel
[1865] Debugging and Data::Dumper in Perl
[1863] About dieing and exiting in Perl
[1861] Reactive (dynamic) formatting in Perl
[1856] A few of my favourite things
[1852] Perl and Blackberries
[1832] Processing all files in a directory - Perl
[1829] Dont bother to write a Perl program
[1828] Perl - map to process every member of a list (array)
[1826] Perl - Subs, Chop v Chomp, => v ,
[1825] Question Mark - Colon operator (Perl and PHP)
[1753] Perl v PHP, choosing the right language
[1750] Glorious (?) 12th August - what a Pe(a)rl!
[1728] A short Perl example
[1727] Equality and looks like tests - Perl
[1726] Hot Courses - Perl
[1721] Perl 6 - When will we have a production release?
[1717] Q - Should I use Perl or Python?
[1709] There is more that one way - Perl
[1705] Environment variables in Perl / use Env
[1704] Finding operating system settings in Perl
[1703] Perl ... adding to a list - end, middle, start
[1702] Running operating system commands in Perl
[1665] Factory method example - Perl
[1664] Example of OO in Perl
[1581] What is an lvalue? (Perl, C)
[1514] Autovivification - the magic appearance of variables in Perl
[1510] Handling Binary data (.gif file example) in Perl
[1509] Extracting information from a file of records
[1508] How not to write Perl?
[1468] Lexical v Arithemetic testing, Bash and Perl
[1444] Using English can slow you right down!
[1416] Good, steady, simple example - Perl file handling
[1397] Perl - progress bar, supressing ^C and coping with huge data flows
[1395] Dont just convert to Perl - re-engineer!
[1320] Perl for Larger Projects - Object Oriented Perl
[1316] Filtering and altering Perl lists with grep and map
[1312] Some one line Perl tips and techniques
[1289] Pure Perl
[1251] Substitute operator / modifiers in Perl
[1232] Bathtub example
[1225] Perl - functions for directory handling
[1222] Perl, the substitute operator s
[1221] Bathtubs and pecking birds
[1219] Judging the quality of contributed Perl code
[1215] An update on Perl - where is it going?
[1191] Smart English Output - via PHP and Perl ? : operator
[1183] Improving searches - from OR to AND?
[1073] Heartbeat script in Perl
[1009] Passing GET parameters through Apache mod_rewrite
[975] Answering ALL the delegate's Perl questions
[969] Perl - $_ and @_
[968] Perl - a list or a hash?
[965] KISS - one action per statement please - Perl
[930] -> , >= and => in Perl
[928] C++ and Perl - why did they do it THAT way?
[872] Email metrics
[867] Being sure to be positive in Perl
[839] Reporting on the 10 largest files or 10 top scores
[765] Perl - turning seconds into days, hours, minutes and seconds
[762] Huge data files - what happened earlier?
[760] Self help in Perl
[743] How to debug a Perl program
[738] (Perl) Callbacks - what are they?
[737] Coloured text in a terminal from Perl
[733] Perl for Systems Admin - suid scripts
[702] Iterators - expressions tha change each time you call them
[662] An unhelpful error message from Apache httpd
[641] Simple but rugged form handling demo
[639] Progress bars and other dynamic reports
[622] Queues and barrel rolls in Perl
[618] Perl - its up to YOU to check your file opened
[616] printf - a flawed but useful function
[608] Don't expose your regular expressions
[604] Perl - multiprocess applications
[599] Perl/Tk real time display
[597] Storing a regular expression in a perl variable
[594] Twice is a co-incidence and three times is a pattern
[590] Danny and Donna are getting married
[588] Changing @INC - where Perl loads its modules
[586] Perl Regular Expressions - finding the position and length of the match
[583] Remember to process blank lines
[582] DWIM and AWWO
[577] Learning to program in Perl or PHP
[531] Packages in packages in Perl
[493] Running a Perl script within a PHP page
[454] Time conversions in Perl
[400] New in the shops
[358] Use standard Perl modules
[357] Where do Perl modules load from
[355] Context in Perl
[314] What language is this written in?
[293] Course follow-ups
[263] Harmony
[262] A little bit of fun - the new Perl Quiz
[255] STDIN, STDOUT, STDERR and DATA - Perl file handles
[254] x operator in Perl
[246] When to bless a Perl variable
[243] new 'Perl on the Web' example
[242] Satisfaction of training
[240] Conventional restraints removed
[230] Course sizes - beware of marketing statistics
[140] Comparison Chart for Perl programmers - list functions
[138] Perl - redo and last without a loop
[113] A Parallel for Perl 6
[112] Avoid the wheel being re-invented by using Perl modules
[89] When will Perl 6 be available
[86] Talk review - Idiomatic Perl, David Cross
[45] CGI v mod_perl
[43] Hash of lists in Perl
[31] Here documents
[28] Perl for breakfast
[25] Release numbers
[12] How many people in a room?
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[3532] Sharing the user experience - designing a form with the customer in mind
[3133] An image from a website that occasionally comes out as hyroglyphics
[3128] How does your browser find out about itself?
[2913] Six languages in one file - an HTML++ web page
[2675] Redirecting to your main domain for correct security keys
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

Ruby and Ruby on Rails
[3799] Ruby Documentation through rdoc
[3783] Load path, load and require in Ruby, and a change from 1.8 to 1.9
[3782] Standard methods available on all objects in Ruby
[3781] Private, Protected, Public in Ruby. What about interfaces and abstract classes in Ruby?
[3780] Ruby of Rails - cleanly displaying model data in the view
Top or Show all for Ruby and Ruby on Rails

SQL and MySQL
[3928] Storing your intermediate data - what format should you you choose? - (new - 2012-11-20)
[3494] Databases - when to treat the rules as guidelines
[3455] MySQL, MySQLi, PDO or something else - how best to talk to databases from PHP
[3447] Needle in a haystack - finding the web server overload
[3361] Blowing our own trumpet - MySQL resources
Top or Show all for SQL and MySQL

Tcl, Tcl/Tk and Expect
[3638] Sorting dicts and arrays in Tcl
[3629] Sharing lots of values in Tcl without having lots of global declarations
[3618] lists and struct::list in Tcl - Introduction to struct::list and examples
[3617] The fileutil package and a list of file system commands in Tcl
[3614] Tcl - dicts - a tutorial and examples
Top or Show all for Tcl, Tcl/Tk and Expect

Programming in Lua
[3730] What is a metatable? How do I set one up? How do I use them? Lua
[3727] Using Lua tables as objects
[3725] Lua Tables
[3724] Learning to Program in Lua - public / open training course / class
[3694] Special __ methods you can use in Lua metatables
Top or Show all for Programming in Lua

Python Programming
[3947] this or self - what are they, and what is the difference? (Python) - (new - 2012-12-08)
[3945] vargs in Python - how to call a method with unknown number of parameters - (new - 2012-12-06)
[3935] Whether you have programmed before or not, we can teach you Python - (new - 2012-11-25)
[3934] Multiple identical keys in a Python dict - yes, you can! - (new - 2012-11-24)
[3931] Optional positional and named parameters in Python - (new - 2012-11-23)
[3930] Reporting the full stack trace when you catch a Python exception - (new - 2012-11-22)
[3919] What is a web framework? - (new - 2012-11-10)
[3917] BODMAS - the order a computer evaluates arithmetic expressions - (new - 2012-11-09)
[3913] How many times ... has this loco headed west through Tenby? - Python exceptions - (new - 2012-11-05)
[3911] How well do you know Perl and / or Python? - (new - 2012-11-04)
Top or Show all for Python Programming

And also ...
[3957] The week before Christmas - (new - 2012-12-19)
[3943] With us for a year already! - (new - 2012-12-03)
[3936] Lisa is home today ... - (new - 2012-11-26)
[3925] Red sky at night - (new - 2012-11-17)
[3921] On rememberance, on war, and on preventing the war cycle - (new - 2012-11-11)
[3920] Challenge for a photographer - (new - 2012-11-10)
[3908] Black dogs at Halloween - (new - 2012-10-31)
Top or Show all for And also ...

Public Transport
[3951] Christmas Bus Schedule for Melksham - First Bus - (new - 2012-12-14)
[3942] Santa Trip - Melksham Railway Development Group, 2012 - (new - 2012-12-03)
[3938] A long overdue meeting - a steeping stone towards coordinate transport user inputs - (new - 2012-12-02)
[3937] Agenda for Wiltshire Link Travel groups meeting, Saturday 1st December 2012 - (new - 2012-11-27)
[3929] Melksham Bus Issues - to be raised at First Bus Customer Panel - (new - 2012-11-21)
[3923] 35 minutes is only a slight delay on our railway service - (new - 2012-11-15)
Top or Show all for Public Transport

Fun and Flames
[3922] Twerp - A person regarded as insignificant and contemptible - (new - 2012-11-12)
[3912] Sand to Arabia, Coals to Newcastle or Woodburners to Russia - (new - 2012-11-04)
[3900] The Xxxxx Guest House in Xxxxxxxxxxx - my stay reviewed
[3868] How to make an ohno cake
[3851] Who is this? Picture Puzzle
Top or Show all for Fun and Flames

Keynote Articles
[2483] Clustering on Tomcat
[2384] Looking ahead to the Autumn season of training and accommodation
[2144] Looking for a career change - Physician to Web Site Designer
[1955] How to avoid duplicating web page maintainance
[1857] November and December Public Course Schedule
Top or Show all for Keynote Articles

Unclassfied Articles
[3857] Why has the mouth not said much for the last week or two?
[3801] A year ago today, a server upgrade and a new Perl example
[3578] A busy start to 2012
[3567] First of the year
[3363] Should we take sponsored adverts on our site?
Top or Show all for unclassified

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics

A little more about this newsletter ...

At Well House Consultants, we run niche IT training courses ... and we run a hotel for delegates on those courses and other visitors to Melksham too. And we make a lot of friends - have a lot of ambassadors with whom we want to keep in touch. So every day Graham (that's me, writing this piece) puts together an article or two which might include the latest sample programs that I've written during the current course, new information about Well House Manor - our business hotel, tips on search engine optimisation, announcements of upcoming public courses, pictures of local places, and even (on occasions) rants and whimsical pieces to keep those friends up to date and in touch. The feeds are available directlt via the Blog - "The Horse's Mouth", they're on our Twitter Feed and you can find me at my LinkedIn profile. But most people just want to look us up occasionally - every month or two, and then to catch up on the latest news just for their particular subjects of interest ... and that's what this newsletter is about

You'll find above the titles of ALL the new articles written in the last two months, listed by major subject area, and showing as (new) with their date of publication. You'll find additional articles in each category too - topping each category up to a minimum of five articles. And you'll find a link at the end of each section which lets you expand that section to show the titles of every article that's been published in that section. After all, "the old ones are often the best ones", aren't they?

go to Top or other editions November 2012September 2012July 2012May 2012March 2012January 2012November 2011September 2011July 2011 • or current edition


Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/newsletter.php
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net