The Well House Newsletter - Sunday, 1st September 2013
About us and this newsletter [link] ...
Previous editions: July 2013May 2013March 2013January 2013November 2012September 2012July 2012May 2012March 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
[4151] Tell me a bit about Melksham - (new - 2013-08-10)
[4145] After the storm - (new - 2013-07-29)
[4119] Melksham - Flower Town
[4116] International Melksham - industry, and beautiful countryside
[4103] Questions from children about Melksham Campus
Top or Show all for Melksham

Training from Well House Consultants
[4132] Using your own laptop on our courses - now even easier! - (new - 2013-07-05)
[4082] Training around the world - easy payment in pounds Sterling
[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
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[4156] A further chance to see Melksham on TV - (new - 2013-08-22)
[4147] A hidden hotel gem in Melksham - (new - 2013-07-31)
[4138] Should a hotel accept guests who book for just one night? - (new - 2013-07-11)
[4112] Really good friends - four in a bed!
[4109] What might you find at a tiny bed and breakfast?
[4107] Snog, Marry, Avoid
[4093] More things to make sure that we do NOT do ...
[4091] A reminder of why we opened Well House Manor for our customers
[4081] Pushing down the advertised price, pushing up the total price charged.
[4078] Train works for me!
[4077] Palty or Parliamentary?
[4058] The highs and lows of customer service - Cheltenham
[4051] On reading a new hotel review
[4033] Official Star ratings for hotels - still worth having?
[4012] A course is not just for a year - its for a career
[4004] Annual Accounts - a big job for a small business
[3988] Three cheers for the staff at Well House Manor
[3984] 20 minutes in to our 15 minutes of fame
[3977] A variety of continental breakfasts
[3975] Being an amateur hotel inspector helps me run a professional hotel
[3973] Well House Manor on Four in a Bed - the ongoing story
[3972] Four in a Bed - comment on results
[3971] The Experience
[3970] Comparing four VERY different places to stay
[3968] Expecting nothing, but prepared for anything
[3965] Well House Manor, Melksham - on national TV next week
[3963] National TV - Melksham - 9th January 2013, Pre-alert.
[3962] Melksham welcomes visitors - new blue plaque trail and more
[3961] Well House Staff Party
[3933] Behind Melksham Spa - Mood Mist over wet fields.
[3924] The bedrooms at Well House Manor
[3909] Every Customer Counts
[3871] On getting noticed for the right reasons when you ask about job availability
[3864] Guest Guide for Well House Manor and Melksham
[3847] The Accidental Hotelier
[3838] Guest review - Well House Manor, Melksham
[3832] A busy day at Well House Manor - so come in and make it even busier!
[3824] Planned for a quiet period during the Olympics - but it is far from that!
[3808] Can you put names to faces?
[3794] Should hotel staff sit on the toilet in the customer bedrooms?
[3776] Some traps it's so easy to fall into in designing your web site
[3755] Cruising on the Mersey Ferry?
[3754] Eyes Wide Open
[3750] Matching opening hours to when customers can come in and buy
[3740] Looking and Learning - even on Holiday
[3684] Once upon a Maundy Thursday
[3665] Will will smile?
[3660] A Pivotal Incident - learning how to welcome your guests
[3645] Keeping our hotel looking like new, by using our gained experience
[3613] Keeping Business Local. But is that realistic?
[3610] Training to do a job, or training to pass an exam?
[3594] Back to Uni
[3585] The changing Hotel and Bed and Breakfast business in Melksham
[3490] How not to call when job seeking ...
[3440] Research is exciting. But should routine be automated?
[3425] Our National Autograss Champion, from Melksham
[3368] Well House Manor hotel, Melksham - recommended to you by our customers
[3354] Sales and Marketing - adding advertising to the product
[3333] Honesty and a friendly welcome goes a long way
[3312] Are you cheerful, reliable and available on Saturday mornings?
[3309] Tipping Policy - Well House Manor
[3294] It's not just about the jam in the sandwich
[3271] The importance of feedback
[3201] A change to the Well House team - thank you and good luck, Chris
[3165] Journalism 101
[3164] Brown - or Mrs Sally Brown, accountant from Whitstable?
[3153] Points West to Belfast
[3147] Hotel star ratings - towards a better system of review
[3103] Thank you - and Happy Christmas
[3073] Customer Service - the boundary
[3054] Longhope Hotel
[3024] Testing the new pavement ready for Christmas
[3014] Well House Manor - the next six years
[2966] Cheap Country Hotel in Melksham, Wiltshire?
[2961] Initial handling of phone calls and walk in visitors
[2960] The Well House team - September 2010
[2952] Concluding the interview process
[2946] Level playing fields, job vacancies, lemons and peaches
[2940] Training course locations - Melksham, UK; Buxton, UK; Lake Constance, Germany; Venice Italy, the USA and India
[2938] An opportunity to join our team!
[2936] The service that customers should receive
[2924] Job applicants - wondering why they apply
[2916] Testing the robustness of our hotel and training systems - holiday and sickness times
[2911] Feeding the Grockles
[2910] Robust - testing the system
[2885] Twenty Questions
[2880] Getting in touch - Please allow me to see you when you are online
[2879] Night Porter and reception - 24 hours a day?
[2873] Another toot of the trumpet
[2828] Sharing our programs - easy. Sharing our data - harder.
[2793] They do weddings, we do courses.
[2724] Escapee Grandparents welcome - Henfield and Melksham
[2650] Getting a phone line changed ...
[2598] An excuse for making a sales call
[2593] Food and drink launch
[2530] Taking a knock over Santa
[2502] Monday night, Tuesday night
[2441] Not your cup of tea?
[2413] Sanity checking the price, and selling up to increase income
[2396] Easing off in our 50s?
[2388] `Of Course` is back!
[2311] Floor to ceiling
[2308] A new place in pictures
[2303] Turning potential customers away
[2283] Everyone is in the customer relations business
[2255] Past PHP delegates / others - coding help needed for next 3 months
[2247] A day in the life of a hotelier
[2244] What should a web site cost you?
[2190] How you are (re)presented at an exhibition
[2187] Are we IITT (Institute of IT Training) members?
[2161] Get it right ... if it goes wrong, it takes so much effort to sort out!
[2126] Weeding out old phone numbers
[2125] We have lost a regular business guest
[2124] Building down expectations
[2109] Why most training fails ...
[2102] What do people think of our Apache httpd / Tomcat course?
[2084] Books and distance learning from Well House Consultants?
[2074] Weekday or Weekend PHP, Python and Perl classes?
[2049] Why Choose Well House Consultants for your course?
[2044] Please Trouble me
[2021] Short health and safety course
[2010] How long should a training module be?
[2007] Launch of Melksham Food and Drink Festival
[2003] Discount Training Courses - PHP, Perl, Python
[1991] Rules for a King
[1975] Well House Manor Hotel - on plan for 2009 business guests
[1973] Required Request
[1957] Why are cooks bad tempered?
[1950] Copyright of Training Notes and Web Site
[1948] Blame Culture
[1927] Team changes at Well House - looking forward
[1915] Quietly putting prices up
[1913] Alastair Darling helps make paperwork and confusion
[1900] Table Topics
[1884] Recession? Depression?
[1877] Guests doing a bunk?
[1835] 23:30 bookings and midnight checkins
[1805] Carlisle High School - Class of 1973 Reunion
[1760] An opportunity for something new
[1758] Lindors Hotel, near St. Briavels, Wye Valley
[1713] Ways to accept credit cards - or not!
[1698] Dealing with The Press
[1673] Spam Filters ... are working!
[1672] The Composting Cone Challenge
[1637] Providing exceptional service - and carrying on doing so.
[1626] Early May - a short chance to regroup and improve
[1622] An extra step - victory from defeat
[1606] Sheep Shearers, Marathon Runners and Ocean Sailors
[1597] Comparing hotels - as a guest and from the proprietors view
[1585] Well House Consultants / Manor - Staff
[1580] Congratulations, Martin and Marta
[1571] Await guests in the early hours
[1548] Hotelympia - show report - the lighter side
[1547] New bathing idea for hotels from Hotelympia
[1525] Just one thing let the service down - but that is my memory
[1520] Terms and Conditions - Hotel, England - plain English
[1516] Pictures you can use - for free - from our library
[1490] Software to record day to day events and keep an action list
[1458] The wrong way to put up prices
[1453] What makes our courses special?
[1445] Looking after you Christmas Customer Crowds
[1441] On cancellations, rebooking, and pricing schemes
[1434] Market survey - to learn, to prove a point, or to sell your product?
[1433] Linux, PHP, Tcl, Ruby, C, C++ - last minute training course availability
[1422] Wiltshire - speaker / after dinner talker offer
[1421] Castle Lodge Hotel, Ely, Cambridgeshire
[1413] The little gestures that can really count
[1406] Away or home - which do I prefer?
[1393] First Alternative / what has happened there?
[1374] Maidenhead Coffee Challenge
[1373] New Month, New Quarter, New Laws
[1371] Hotel in Melksham at Christmas
[1369] One business, four different angles!
[1356] Crystal Ball - How long do I need to be online?
[1354] Match the Bedroom to the Hotel
[1347] Wireless Internet Access at hotels - an update and some pitfalls
[1333] Kasteel Elsloo - Michelin rated hotel.
[1324] Well House Manor appoints a General Manager
[1319] Customer feedback - lifeblood of a business
[1311] What do people look for on a hotel web site?
[1301] Plastic or China
[1287] Work and play at Well House Manor - Football and Shell Shortcuts
[1285] In the army, or in civvie street?
[1262] Keep in touch with PHP, Perl, Python and old friends too
[1248] How NOT to oversell a hotel
[1243] Heavy duty hole punch
[1211] A lot has happened in a year
[1205] Arrival and Departure experiences - another hotel
[1180] Conjugation
[1179] Sizing sheets and other domestic issues
[1165] Extended Credit request - train in June and be paid in September
[1161] A contrast in room rates and facilities
[1159] It can take more that one plus one to get two.
[1122] Hotel - online feedback forms compared
[1108] Express service
[1105] A week is a long time in the life of a conference centre
[1098] Three big events - TWSW, Business of the year and the police
[1091] The Psyche is all wrong.
[1090] Too many instructions, too much detail
[1087] Telling a story in different ways
[1084] Writing terms and conditions for conferences and other events
[1083] Behind the scenes
[1048] Getting rid of people - hotel techniques
[1046] Bounce, bounce, bounce
[1026] The Wheatsheaf 2, The Bell 0
[1022] No courses. No hotel guests. Rushed off our feet!
[1011] Well House Manor and Beechfield House, Hotels, Melksham
[1007] Friends and family
[1002] Meet the neighbours
[1000] One Thousand Posts and still going strong
[988] You should think you're first in a hotel room
[982] Notes from the white board
[979] Empty seats, Nodding Donkeys and buses
[972] Both one team and two
[966] CSL, KISS and RTFM
[961] Products that our customers want more of
[951] What happened at Geekmas
[944] Just ******* Google it
[941] Snagging
[939] Swipe cards for hotel rooms - Security issues
[932] A tale of a wee wall
[931] Before and After - Well House Manor
[927] Hotel door furniture
[922] Staying at your own hotel
[906] A commitment we won't be making
[902] Brand new hotel and training centre, Melksham
[895] Welcome, Martin
[894] Where quality costs less
[890] Open
[884] Drive time
[883] Age discrimination law
[881] Coming together.
[869] UNABLE TO ATTEND
[868] Smoking, or no
[862] 4 weeks to go
[858] From the Manor written
[855] Fitting our bathrooms
[852] Eventful evening - a lesson in looking after contacts
[849] Staff Meeting
[844] Hotel, Melksham, Wiltshire
[838] Talking about other training companies.
[816] Above the parapit, Well House Manor
[813] Monday Morning at Well House Consultants Melksham
[808] Sales call
[797] Writing up new C / C++ notes.
[774] Bed and Breakfast, or Hotel?
[769] King Edward VII - days of empire
[766] Discounts and approved supplier lists
[759] Watch your Google profile
[756] Seeing the bricks for the trees
[751] Want to be a technical trainer in the UK?
[742] A visit from the solicitor
[739] The eye
[736] New Tape Librarian
[734] Keeping customers informed by email
[729] Career development advice
[725] Better communication
[722] I'm answering a job applicant
[721] Residential
[720] Planning a hotel refurb - an example of a Gant chart in PHP
[714] Room for Octopuses
[699] Extremes costs of getting on line
[693] The on line booking experience
[677] Sympathetic development
[652] Morning Post
[628] Active Learning
[627] JIT or JAU
[621] And the staff put the icing on the cake
[619] If its Sunday, it must be the Norland
[609] Been on a course, but still not got it?
[587] Job vacancy - double agent wanted
[585] Looking for Python staff
[571] Well House Manor
[569] Instructions for bright people
[566] May all your screw-ups be big ones
[555] Hotel novelties
[552] Keeping Customers Informed
[545] Is training seasonal?
[536] Cancellations and penalties
[514] Crazy Day-sies
[503] 10 years C# knowledge please
[491] Being atypical is typical
[487] On line course booking - credit card protection
[482] Different ways of selling
[480] New look to website
[470] I wanna be a Python trainer
[467] Tell them three times
[458] Final courses of '05 coming up ....
[457] Do the work and take the risk - a PHP contract to avoid
[440] Upgrade!
[438] Fair system for travel and accommodation expenses
[408] Can an older person learn a programming language
[407] Theft of training material
[402] Netless
[399] simplicity hides real size
[398] Training course material - why we write our own
[393] Trainer answers phone
[389] Tough Love
[385] Feast or famine
[350] Want to be one better
[327] How far should our support go
[321] Sales - the alternative close
[297] A reminder that the customer is King
[285] What career opportunities for web designers
[281] What they are saying about our OF COURSE newsletter
[265] Business practise, 2005 style
[253] Finding the right holes
[251] WIBNIF
[233] Giving customers best value
[226] Growing our systems
[217] Use of time
[211] Look after your staff and they'll look after you. AOL.
[203] Holes in on line information
[200] Tips for the top
[198] A new skill may not be quick and easy
[195] Customer service - examples to warn us
[189] Tuesdays and Fridays
[188] Pink elephant and appreciation
[180] Skunk works
[171] Skills and techniques of being a successful trainer
[157] Automatic service upgrades
[150] Confession
[137] Certification schemes
[129] Trawling our site to prevent student copying
[126] Feedback shows the tip of an iceberg
[125] Staff theft
[121] Fair and Simple
[108] A typical morning
[95] Five red flags
[91] On line every 24 hours
[88] Getting the right level of trainer
[77] Telephone systems
[72] On Customer Service
[68] Get the strategy worked out and the tactics just fall into place.
[57] Posting 1000 letters!
[27] Sales technique
[17] Differing tastes
[15] 90 to 10 or 80 to 20 rule
[9] Study room - the Oxford train
[7] Writing on a Sunday
[4] Seeing the wood for the trees.
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[4162] Pimms and Croquet at Well House Manor - 7th September 2013 - (new - 2013-08-28)
[4158] Wedding from Well House Manor - an excellent base in Melksham - (new - 2013-08-23)
[4155] Wedding Reception preps at Well House Manor - (new - 2013-08-21)
[4144] Getting the best hotel rates - customer and hotelier viewpoints - (new - 2013-07-27)
[4139] Out of doors (mostly) at Well House in Melksham - (new - 2013-07-12)
[4137] Early morning - welcoming business and leisure guests to Melksham - (new - 2013-07-10)
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[4135] Introducing your product to Well House Consultants - single, personally tuned email please - (new - 2013-07-08)
[4134] Setting up your MacBook Air as a mobile broadband router - (new - 2013-07-07)
[4121] Has your Twitter feed stopped working? Switching to their new API
[4115] More or less back - what happened to our server the other day
[4076] Web site - fully back!
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[4153] Rooms available tonight - how to code an algorithm from first principles - (new - 2013-08-19)
[4114] Teaching CodeIgniter - MVC and PHP
[4098] Using object orientation for non-physical objects
[4096] Perl design patterns example
[4066] MVC and Frameworks - a lesson from first principles in PHP
Top or Show all for General Programming Topics

PHP - the language and its application
[4136] How do I post automatically from a PHP script to my Twitter account? - (new - 2013-07-10)
[4106] Web server efficiency - saving repetition through caches
[4075] Further recent PHP examples
[4074] A comment on comments in PHP
[4073] Learning about Object Orientation in PHP - a new set of examples
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
[4099] Perl Dancer - a Perl Framework - Installation and first test
[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?
[4102] Installing Lua 5.2.2 on Mac OS X 10.7.4
[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
[4161] Python varables - checking existance, and call by name or by value? - (new - 2013-08-27)
[4129] Simple OO demonstration in C++, comparison to Python - (new - 2013-07-01)
[4118] We not only teach PHP and Python - we teach good PHP and Python Practice!
[4095] Django - first steps - Updated
[4094] Python Properties - how and why
Top or Show all for Python Programming

And also ...
[4157] Wedding Photos - Kim Ellis to Kyle Londors, 22nd August 2013 - (new - 2013-08-23)
[4141] My pictures of Melksham Carnival, 13th July 2013 - (new - 2013-07-14)
[4133] In the hills above Harlech, and on the coast too - (new - 2013-07-06)
[4130] Soft furnishings up a Welsh Mountain - (new - 2013-07-03)
[4126] Where are we now? On holiday!
Top or Show all for And also ...

Public Transport
[4160] Bank Holiday Monday - pictures of a great train trip to Weymouth - (new - 2013-08-27)
[4159] People WILL walk to the station in Melksham, but they need a path and trains - (new - 2013-08-25)
[4154] August Bank Holiday - day out from Melksham to London or Weymouth - (new - 2013-08-20)
[4152] Why are bus fares so high? - (new - 2013-08-18)
[4150] Melksham Regular Public Transport Map - as at August 2013 - (new - 2013-08-09)
[4149] Bus changes to Bath - good idea, but I despair at information available - (new - 2013-08-08)
[4148] Special General Meeting, Adoption of Constitution for TransWilts Community Rail Partnership - (new - 2013-08-01)
[4146] A few more trains means a LOT more passengers. Why? - (new - 2013-07-30)
[4143] Bus times - Melksham to Bath from 28th July 2013 - (new - 2013-07-25)
[4142] Passenger survey at Chippenham - report and pictures - (new - 2013-07-24)
[4131] West Coast (of Wales) - railway and stations in pictures - (new - 2013-07-04)
Top or Show all for Public Transport

Fun and Flames
[4140] Riots in Melksham - (new - 2013-07-13)
[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
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 July 2013May 2013March 2013January 2013November 2012September 2012July 2012May 2012March 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