The Well House Newsletter - Monday, 1st July 2013
About us and this newsletter [link] ...
Previous editions: May 2013March 2013January 2013November 2012September 2012July 2012May 2012March 2012January 2012 • 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
[4063] Backups by crossover between network centres - setting up automatic scp transfers
[4056] An overpractical test of our backup strategy!
[4045] Linux Web Server - User Roles, User Accounts, and shared administration
[3891] The components of an Apache httpd / Tomcat / MySQL stack and what each does
[3792] Managing daemons from a terminal session
Top or Show all for Linux and Shell Programming

Apache HTTP and Tomcat Servers
[4064] Apache httpd - a robust, open source web server
[3996] Tips on Tomcat - moving applications around
[3915] How does PHP work?
[3892] Distributed, Balanced and Clustered Load Sharing - the difference
[3862] Forwarding a whole domain, except for a few directories - Apache http server
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[4128] Allocating memory dynamically in a static language like C - (new - 2013-06-30)
[3982] Using a vector within an object - C++
[3811] Associated Classes - using objects of one class within another
[3809] Dwarf Exception Unwind Info
[3807] Reading (and writing) files in C++
Top or Show all for C and C++ Programming

Melksham
[4119] Melksham - Flower Town - (new - 2013-06-20)
[4116] International Melksham - industry, and beautiful countryside - (new - 2013-06-15)
[4103] Questions from children about Melksham Campus - (new - 2013-05-26)
[4101] POETS day at Well House Manor - (new - 2013-05-24)
[4097] Melksham Chamber of Commerce - Report for AGM, 21st May 2013 - (new - 2013-05-21)
[4084] New Pictures - Melksham Pack Horse Bridge - (new - 2013-05-12)
Top or Show all for Melksham

Training from Well House Consultants
[4082] Training around the world - easy payment in pounds Sterling - (new - 2013-05-10)
[4015] Upcoming courses and availabiity
[3964] What is coming up from Well House in 2013 - public Open Source / IT courses.
[3950] 10 reasons why I travel the night before a course starts
[3898] The course must go on - improvements to tutor travel plans, with immediate effect
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[4112] Really good friends - four in a bed! - (new - 2013-06-09)
[4109] What might you find at a tiny bed and breakfast? - (new - 2013-06-03)
[4107] Snog, Marry, Avoid - (new - 2013-05-31)
[4093] More things to make sure that we do NOT do ... - (new - 2013-05-18)
[4091] A reminder of why we opened Well House Manor for our customers - (new - 2013-05-17)
[4081] Pushing down the advertised price, pushing up the total price charged. - (new - 2013-05-08)
[4078] Train works for me! - (new - 2013-05-02)
[4077] Palty or Parliamentary? - (new - 2013-04-30)
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[4122] Well House - booking through agents - (new - 2013-06-23)
[4083] Spring at Well House Manor - Teas and Coffees, Museum, Garden, Rooms - (new - 2013-05-11)
[4049] Business meetings in Melksham - Well House Manor
[4030] What is on OUR pond?
[4026] The coffee of the Stars comes to Melksham
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[4121] Has your Twitter feed stopped working? Switching to their new API - (new - 2013-06-23)
[4115] More or less back - what happened to our server the other day - (new - 2013-06-14)
[4076] Web site - fully back! - (new - 2013-04-29)
[4065] Handling requests to a forum - the background process
[4038] Using Pygments to colour our training examples
[4025] Backups, Codebase, Strategy and more - dealing with forum incidents
[4017] Acceptable User Policy / vexatious interacter
[4001] Helping search engines with appropriate 400 error codes
[4000] 9 years, and 4000 articles on
[3991] Email from Christopher Columbus to announce finding America?
[3974] TV show appearance - how does it effect your web site?
[3910] Identifying your real customers and keeping them well informed fast
[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
[3745] Legal change - You need to obtain user consent if you use cookies on your website
[3670] Reading Google Analytics results, based on the relative populations of countries
[3661] Keeping forum and blog comments clean
[3648] iPad and iPhone programming - our seminar weekend with Xcode
[3599] Seeing how Melksham has changed over the years, via an iPad
[3596] Want to learn iPad and iPhone programming? Come along and learn with me for free.
[3589] Promoting a single one of your domains on the search engines
[3563] How big is a web page these days? Does the size of your pages matter?
[3517] Tags used in writing this blog
[3514] Microblogging - what I should have tweeted in the last 48 hours
[3506] Cold call contacts - preference services and turning off spam sales approaches
[3491] Who is knocking at your web site door? Are you well set up to deal with allcomers?
[3480] Direct Message: Really horrible blog about you ... a clever phishing trip, said to be from an MP
[3457] Away to train - but still around by video for Melksham meetings
[3402] That spec is a kingfisher ...
[3367] Google +1 - what is it?
[3352] World Trade Register - Certainly NOT worth 2985 Euros.
[3291] Pay and refund scam - alive and kicking against Melksham businesses
[3222] Clickjacking - another way to get you to follow a malicious link - Facebook issue
[3208] Links for social media, microblogs and business networking
[3190] What do the following web sites have in common?
[3179] Oops - I typed ci not vi, and have lost my file ...
[3174] Sharing a single hotel internet connection without carrying extra hardware
[3170] How far is something pictured from the camera?
[3168] Web Sites - Subject to Advertising Standards from 1st March - check your sites
[3166] Well house is strong - confirmed?
[3149] Looking back at www.wellho.net
[3104] Catering in Syracuse, the Saigon Cafe, stolen images and Christmas
[3087] Making the most of critical emails - reading behind the scene
[3075] Change of balance, of attitude, and of work method
[3058] MacBook Air - hardware and system review
[3022] Retaining web site visitors - reducing the one page wonders
[3016] The legal considerations of your web presence - revisited
[2988] Not mugged in London!
[2906] Switching from Adobe Photoshop to Gimp - testing it on animals
[2895] Global Computer Maintenance Department
[2884] Hotlinked images onto adult material sites
[2823] Where have all the bloggers gone?
[2820] Netiquette for forum newcomers
[2781] The 500 pound question to get you started
[2751] Going off at a tangent, for a ramble
[2743] Public Open Source Training Courses running this summer and autumn in Melksham
[2697] Email metrics and filtering
[2690] The World Company Register - is it another scam?
[2686] Freedom of Information - consideration for web site designers
[2668] Is it worth it?
[2600] Go Programming Language and Courses?
[2592] Re-using our pictures
[2569] How to run a successful online poll / petition / survey / consultation
[2564] Microblogging services - Plurk, Twitter, Jaiku and more
[2562] Tuning the web site for sailing on through this year
[2527] Flying tonight
[2526] A reluctance to move from old shoes to new
[2519] Status Page / breaks of service in early December
[2470] Windows 7 and Open Source Programming
[2449] Four aspects - Chamber, Transport, Courses and Hotel
[2428] Diluting History
[2410] Removal of technical resources from this site
[2398] Websitemediasolution and a goldfish called Carl Johnson
[2389] Writing with our customers words
[2386] Computing under the influence of alcohol
[2385] Reading all our recent news from a single source
[2373] Translation from Ghanaian to English
[2341] Koulutus, Open Source tietokone kielill[83][c2]ä
[2340] ldning, Open Source dator spr[83][c2]åk
[2339] Oppl[83][c2]æring, Open Source datamaskinen spr[83][c2]åk
[2338] Uddannelse, Open Source computer sprog
[2337] Opleiding, Open Source computertalen
[2336] Forma[83][c2]ç[83][c2]ão, Open Source computador l[83][c2]ínguas
[2335] Ausbildung, die Open-Source-Sprachen
[2334] Formazione, Open Source computer lingue
[2333] Formaci[83][c2]ón, de los lenguajes de c[83][c2]ódigo abierto
[2332] Formation, des langages Open Source
[2330] Update - Automatic feeds to Twitter
[2324] What search terms FAIL to bring visitors to our site, when they should?
[2276] Who is Marc Schneider of Multilingual Search Engine Optimization Inc
[2267] winmail.dat enclosure ... reading on an Apple
[2254] Forum membership - a privilege not a right
[2246] What difference does using the XHTML standard really make?
[2225] How important is a front page ranking on a search engine?
[2214] Global Index to help you find resources
[2192] Copy writing - allowing for the cut
[2191] RT @brento - a valuable source for the twitter newbie
[2188] Camera to record where a picture was taken
[2179] Offers that I can refuse
[2177] Preventing forum spam - checks at sign up
[2162] Admins thoughts on banning a member from a forum
[2156] Stopping forum spam - control of the signup process
[2145] Using the internet to remotely check for power failure at home (PHP)
[2116] Why do we delay new forum members through authorisation?
[2103] Ask the Tutor - Open Source forum
[2065] Static mirroring through HTTrack, wget and others
[2056] Web Site Loading - experiences and some solutions shared
[2052] How was my web site compromised?
[2033] Huawei D100 Wireless Router - Mobile Internet
[2019] Baby Caleb and Fortune City in your web logs?
[1993] Load Balancing - Hardware or Software?
[1984] Site24x7 prowls uninvited
[1982] Cooking bodies and URLs
[1978] From spam to mod_alias - finding resources
[1971] Telling Google which country your business trades in
[1970] Plagarism - who is copying my pages?
[1967] LinkedIn - Thrice Asked, and joined.
[1961] Making our things easier to find
[1954] mod_rewrite for newcomers
[1912] Book now for 2009
[1895] Comparison - with and without flash
[1888] Find the link
[1833] Web Bloopers - good form design - avoiding pitfalls
[1827] What a shock
[1817] Marc Schneider is still having email trouble
[1798] What does an browser understand? What does an HTML document contain?
[1797] I have been working hard but I do not expect you noticed
[1795] What have iTime, honeytrapagency and domain listing center got in common?
[1793] Which country does a search engine think you are located in?
[1772] Ken Palm, iTime, and Domain Name Tasting
[1763] Co-operating to save, yet we dont
[1759] While the world sleeps ...
[1751] Public Training Course Dates until July 2009
[1732] Old pictures and comparisons
[1711] Rapid growth leads to server move
[1680] Astroturfing - the online definition
[1678] Software - changes and delays. But courses must run on time!
[1653] How do Google Ads work?
[1629] A short introduction to our courses
[1621] Linux and Java Course in London
[1610] PHP course dot co, dot uk
[1600] Cambidge - Tcl, Expect and Perl courses
[1598] Every link has two ends - fixing 404s at the recipient
[1595] First Great Western Weekend
[1578] Please don't shout at me!
[1569] I dont care - goodbye
[1568] What colour is the season?
[1563] Guidlines for posting on a forum
[1545] Letting new visitors know we provide training courses
[1541] Colour, Composition or Content
[1539] A forum is not always the best vehicle
[1534] Where in the world / country is my visitor from?
[1532] Comment spam blocked. Please comment via Forums
[1523] Ive just received an email from myself. Should I be worried?
[1494] A time to update pictures
[1491] Apple Mac Operating System OS X - code names and version numbers
[1488] New trainee laptop fleet for our Open Source courses
[1472] The Horse goes on and on
[1437] Above the fold with First Great Western
[1362] No Thank You
[1353] Mood shots
[1344] Catching up on indexing our resources
[1342] Google, wwmdirectory, Freshwater, ATP - new scam?
[1313] Tratum Technologies
[1297] Stuffing content into a web page - easy maintainance
[1281] Latercomer to the technology
[1237] What proportion of our web traffic is robots?
[1212] What brought YOU to our web site?
[1207] Simple but effective use of mod_rewrite (Apache httpd)
[1203] A Fresh horse
[1190] Save the Forum - A regular clean sweep
[1188] What shape is your shake?
[1187] Updating a page strictly every minute (PHP, Perl)
[1186] Two new pages / sites
[1185] Themes for the web site
[1184] Finding resources - some pointers
[1115] Unexpected visitors to our site
[1088] Why use BBC code not HTML?
[1077] In answer to 'am I glad I started a blog' ...
[1068] ls -l report, Linux / Unix - types and permssions
[1055] Above the fold
[1054] UK legal requirements for your commercial web site
[1047] Maintainable code - some positive advice
[1037] Impact Engineering and Backscatter
[1029] Our search engine placement is dropping.
[1015] Search engine placement - long term strategy and success
[1001] .pdf files - upload via PHP, store in MySQL, retrieve
[948] Running an on line campaign
[923] Why shouldn't I spam?
[919] Freedom for X is denial of privacy for Y
[918] Databases needn't be frightening, hard or expensive
[916] Driving customers away
[893] Visibility
[876] Making pages clearer - easy Disability Discrimination Act Compliance
[860] Warning - false emails, said to be from Paypal
[859] Put the answer in context - it may be printed
[841] Forum help - a push in the right direction
[828] Freedom of speech and freedom to post
[823] An excellent use for a visitor count?
[819] My projector has a photo-id
[800] Effective web campaign?
[795] Remember a site's non-technical issues too
[757] Horse and Python training
[718] Protecting images from theft
[681] Mirroring a dynamic site
[658] Keeping the visitors happy and browsing
[651] Please Register with Opentalk - but just once!
[649] Denial of Service ''attack''
[556] Colour doesn't have to mean colourful
[546] The relevance of the hairy woodpecker
[533] Bigger Box Campaign
[528] Getting favicon to work - avoiding common pitfalls
[510] Dynamic Web presence - next generation web site
[508] Comment, please!
[495] More spam - a success story
[492] New Navigation Aid - Launch of My Wellho
[427] The Melksham train - a button is pushed
[424] How not to run a forum
[417] Telephone Preference Service - we're registered
[414] Form Madness
[405] Horse's Mouth is a year old
[391] One mans pleasure is another mans poison
[390] Moderating wiki, blog, and forum contributions
[369] CMS - the minefield of Choices
[359] Chicken soup without the religion
[352] Improved mining techniques!
[348] Graveyard pages
[347] Frightening and from-friend viruses and spams
[345] Spotting a denial of service attack
[338] OO techniques are hard to teach
[319] Accommodation and landing pages
[311] Growth pains
[288] Colour blindness for web developers
[284] The Iconish language
[278] Cover all the options
[276] An apology to Mr Boneparte
[274] Our most popular resources
[268] Information request forms, cleaning up spam
[261] Putting a form online
[259] Responding to spam
[248] Use me, but use me effectively
[245] I'm not blogging it
[231] Feedback as lifeblood
[229] A fortunate accident
[222] Who are all these visitors?
[204] The confidence to allow public comments
[197] Allow for peak traffic on your web site
[194] Published Photographer
[185] Who am I?
[182] Your personal Google ranking
[179] The hunt for unique words
[177] Blogs come of age
[173] Data Mining
[165] Implementing an effective site search engine
[145] A comment on comments
[142] Colour for access
[141] Too technical?
[130] Spelling and grammar
[117] A case of case
[115] Expiration dates or times on web pages
[109] URLs - a service and not a hurdle
[98] No more 'Error 404' pages. Something better.
[78] Domain Registry of America
[75] It's just not cricket
[32] Web design platoon
[29] Silence is Golden
[23] Skills and responsibilities
[22] Falling out over the silliest things
[18] Wanted: More hours in the day
[6] Blog v Forum
[1] First Jottings
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[4114] Teaching CodeIgniter - MVC and PHP - (new - 2013-06-12)
[4098] Using object orientation for non-physical objects - (new - 2013-05-22)
[4096] Perl design patterns example - (new - 2013-05-20)
[4066] MVC and Frameworks - a lesson from first principles in PHP
[4061] Seamless, integrated IT - we have a long way to go!
Top or Show all for General Programming Topics

PHP - the language and its application
[4106] Web server efficiency - saving repetition through caches - (new - 2013-05-30)
[4075] Further recent PHP examples
[4074] A comment on comments in PHP
[4073] Learning about Object Orientation in PHP - a new set of examples
[4072] Splitting the difference with PHP
Top or Show all for PHP - the language and its application

Java and the Java Environment
[3997] Servlet v JSP (Java Server Page). What is the difference?
[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)
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[3989] Plenty to see and do - even in Winter - on a Well House Manor weekend
[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.
Top or Show all for Around, about and nearby to Wiltshire

The Perl Programming Language and its use
[4100] Perl Dancer - from installation to your first real application - (new - 2013-05-24)
[4099] Perl Dancer - a Perl Framework - Installation and first test - (new - 2013-05-23)
[4031] Showing what programming errors look like - web site pitfall
[3941] Building an object based on another object in Perl
[3940] Run other processes from within your Perl program
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[4037] Cascading Style Sheets and formatting your web page
[4036] HTML tags uses in these blog articles
[4035] Special characters in HTML
[4034] The VERY basics of a web page ... and web site
[3532] Sharing the user experience - designing a form with the customer in mind
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

Ruby and Ruby on Rails
[4010] Really Simple Rails
[4009] Clear, concise examples - Ruby classes and objects.
[4008] Reading and checking user inputs - first lessons - Ruby
[4003] Web and console - same principle, same code - Ruby example
[3799] Ruby Documentation through rdoc
Top or Show all for Ruby and Ruby on Rails

SQL and MySQL
[4007] Which database should I use? MySQL v SQLite
[4006] Ruby / SQLite3 example program, showing JOIN v LEFT JOIN
[3928] Storing your intermediate data - what format should you you choose?
[3494] Databases - when to treat the rules as guidelines
[3455] MySQL, MySQLi, PDO or something else - how best to talk to databases from PHP
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
[4117] Is Lua an Object Oriented language? - (new - 2013-06-15)
[4102] Installing Lua 5.2.2 on Mac OS X 10.7.4 - (new - 2013-05-25)
[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
Top or Show all for Programming in Lua

Python Programming
[4118] We not only teach PHP and Python - we teach good PHP and Python Practice! - (new - 2013-06-18)
[4095] Django - first steps - Updated - (new - 2013-05-19)
[4094] Python Properties - how and why - (new - 2013-05-18)
[4092] Identity in Python - (new - 2013-05-17)
[4090] Test Driven Development in Python - Customer Comes First - (new - 2013-05-16)
[4089] Quick and easy - showing Python data hander output via a browser - (new - 2013-05-15)
[4088] Some tips and techniques for huge data handling in Python - (new - 2013-05-15)
[4087] Python network programming - new FTP and socket level examples - (new - 2013-05-14)
[4086] Cacheing class for Python - using a local SQLite database as a key/value store - (new - 2013-05-14)
[4085] JSON from Python - first principles, easy example - (new - 2013-05-13)
Top or Show all for Python Programming

And also ...
[4126] Where are we now? On holiday! - (new - 2013-06-29)
[4125] The first Luas of the morning - (new - 2013-06-29)
[4120] American Circus in Melksham - (new - 2013-06-22)
[4111] Zigzag bus - forward for the future, or decaying service? - (new - 2013-06-09)
[4079] Melksham Area - Unitary Council results, May 2013 - (new - 2013-05-04)
Top or Show all for And also ...

Public Transport
[4124] Chippenham - Melksham - Trowbridge bus changes next month - (new - 2013-06-26)
[4123] New timetables from 28th July - bus routes 271 and 272 - (new - 2013-06-24)
[4113] Wiltshire and Melksham Transport - what is going on? - (new - 2013-06-09)
[4110] TransWilts meeting ... - (new - 2013-06-07)
[4108] The painful cost of local travel to Melksham - (new - 2013-06-01)
[4105] Our day trip by train from Swindon, Chippenham and Melksham to Weymouth - (new - 2013-05-28)
[4104] Weymouth vis the TransWilts - the day out today - (new - 2013-05-27)
[4080] Fancy a day at the seaside? Weymouth from Melksham - (new - 2013-05-06)
Top or Show all for Public Transport

Fun and Flames
[4067] The woman, the television, the bullock and Darlington
[3922] Twerp - A person regarded as insignificant and contemptible
[3912] Sand to Arabia, Coals to Newcastle or Woodburners to Russia
[3900] The Xxxxx Guest House in Xxxxxxxxxxx - my stay reviewed
[3868] How to make an ohno cake
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
[4127] Exploring the area ... Ynys, near Harlech - (new - 2013-06-30)
[4054] On Salford Docks - mind over matter?
[4047] Looking for Creative Design, Catering and Transport inputs to help with Melksham Campus
[4044] What to do on a wet weekend in Melksham?
[4043] Bus stop audit - what is missing?
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 May 2013March 2013January 2013November 2012September 2012July 2012May 2012March 2012January 2012 • 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