Hotel and training centre, Melksham, Wiltshire
High quality accommodation for course delegates, business travellers and the leisure visitor too.

Home Accessibility Bedrooms Book Here The Mouth Facebook Resources Find Us About Us Contact
 
For 2021 - online Python 3 training - see ((here)).

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

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
A lazy programmer is a good programmer

I'm lazy.

By which I mean, if a job can be done once in such a way that I don't have to keep doing it time and time again, then that's how I will try and do it, even if there's a bit more effort and cost at first. That's why (for example) we've laid an underground water pipe out to where we're planning to have a fountain at Well House Manor even though we know we could top up the water with buckets or hoses every couple of weeks.

And I'm a lazy programmer. Which means (I think) an efficient programmer. Always looking for ways to reuse code, and always looking for coding techniques which save effort at data entry and maintainance time. That last is all the more important, since data entry and maintainance is a huge task in most applications, outweighing the coding many times over.

We've been adding map references to our pages about the Melksham area for quite a while, with clever links to maps, etc. And we've also been adding a paragraph with words like "and nearby you'll find ...." onto most of the pages too - a bit of a maintainance hassle that as if I were to add - say - a page on West Woods and talk about Marlborough and Avebury, then I would also have needed to have visited those other pages and added references in the other direction too.

WIBNIF (Wouldn't it be nice if) I could just add a grid reference to a page and have it AUTOMATICALLY and dynamically add a list of nearby places? Well - I've invested the time and coding to do this. You can find my PHP source code here (and it's in functions so that you too can be lazy and just use my hard work!), and you can see it in action here where we list out over 50 places on our database near to Well House Manor Hotel.
(written 2006-09-15, updated 2011-06-27)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
M201 - Well House Manor - Around Melksham, Wiltshire
  [437] Outside of the box - (2005-09-06)
  [676] Melksham, Wiltshire - (2006-04-08)
  [805] Melksham Carnival Parade - (2006-07-16)
  [811] Melksham in Bloom - (2006-07-22)
  [830] Butterflies in a Wiltshire garden - (2006-08-12)
  [847] Image maps for navigation - a straightforward example - (2006-08-28)
  [879] Tuesday night is party night - (2006-09-26)
  [929] Presenting Melksham - for a weekend away in Wiltshire - (2006-11-17)
  [957] Improving the historic town of Melksham - (2006-11-30)
  [977] Melksham and Norwich - (2006-12-10)
  [1117] Newport Male Voice Choir - (2007-03-24)
  [1137] Wiltshire Circles - (2007-04-07)
  [1177] Sorting out for a site map - (2007-05-05)
  [1206] Where and When - can you place the picture? - (2007-05-27)
  [1266] Party in the Park - (2007-07-14)
  [1271] Till the cows come home - (2007-07-19)
  [1330] While waiting for Melksham Post Office - (2007-09-02)
  [1341] Moving to Melksham? Househunting map. - (2007-09-09)
  [1343] Melksham Laundrette - (2007-09-09)
  [1360] Asda in Melksham - Welcome or not? - (2007-09-21)
  [1368] Getting the local voice heard - (2007-09-26)
  [1436] A little touring help during a business trip to England - (2007-11-18)
  [1451] More PHP sample and demonstration programs - (2007-12-01)
  [1928] Melksham Oak Community School, Melksham, Wiltshire - (2008-12-07)
  [1977] Going round the block - (2009-01-04)
  [1986] Walk to Bowerhill - (2009-01-10)
  [2008] The Month Ahead - What is happening in Melksham - (2009-01-25)
  [2043] Confidence, Customer Service and Tourism in Melksham - (2009-02-15)
  [2064] East of Melksham Countryside - (2009-03-02)
  [2066] Melksham Industrial - (2009-03-04)
  [2142] Riverside Development - (2009-04-26)
  [2168] In honour of the photograph, I present ... a walk from Reybridge to Lacock - (2009-05-10)
  [2175] Melksham in pictures - (2009-05-11)
  [2253] Walks in and around Melksham, Wiltshire - (2009-06-21)
  [2262] History is not always pretty - (2009-06-30)
  [2297] Standing on the corner, Melksham Carnival - (2009-07-19)
  [2329] Great to be in Melksham - (2009-08-08)
  [2349] Businesses effected by road works in Melksham - (2009-08-11)
  [2480] Pantomimes around Melksham - 2009/2010 season - (2009-10-28)
  [2497] Brown horses in Melksham - (2009-11-08)
  [2528] Melksham Christmas Lights - (2009-12-05)
  [2585] Consultation in Melksham, on Melkshams future - (2010-01-17)
  [2588] Freddies Wood and the K and A Canal - (2010-01-17)
  [2665] Early Spring walk in Melksham - (2010-03-07)
  [2691] New brochures for the Melksham area - (2010-03-24)
  [2708] The bull on the footpath - (2010-04-04)
  [2716] Melksham in Pictures - (2010-04-10)
  [2739] Melksham Scouts - (2010-04-25)
  [2829] Dauncey Gardens, Melksham - (2010-06-27)
  [2854] Melksham Food and Drink Fair and Town Crier Competition - (2010-07-04)
  [2950] Camilla, Duchess of Cornwall, turns first sod in Melksham Link Canal - (2010-09-09)
  [3023] Autumn walk from Bowerhill - (2010-10-31)
  [3050] Views of Melksham - November 2010 - (2010-11-13)
  [3209] Seeing Electricity Pylons near Melksham - (2011-03-21)
  [3227] Her favourite store - (2011-04-02)
  [3232] Around and about Melksham in more pictures - (2011-04-05)
  [3248] What have these pictures in common? - (2011-04-16)
  [3258] Morning in Melksham - (2011-04-23)
  [3266] Easter on the Canal - near Melksham, Wiltshire - (2011-04-26)
  [3305] Getting away from the madding crowd - an intercontinental journey - (2011-05-27)
  [3337] Home Grown Pigs, near Melksham Station - (2011-06-26)
  [3389] Plenty to do in Melksham - (2011-08-13)
  [3470] Currently pictured in Melksham - (2011-10-09)
  [3499] Images of Melksham - (2011-10-29)
  [3502] Sunday Evening ... newest and oldest Melksham pictures - (2011-10-30)
  [3507] Melksham Forward - meeting summary and pictures - (2011-11-04)
  [3520] Quintessentially English - scenes from our Wiltshire town - (2011-11-14)
  [3525] Melksham has a heart - come and see the pictures. Sunday, 11 to 3, Assembly Hall - (2011-11-18)
  [3526] Melksham has a Heart - Montage picture for sale - (2011-11-20)
  [3543] Some different pictures from Melksham - (2011-12-07)
  [3569] Images of the new year in Melksham - (2012-01-05)
  [3605] Snow comes to Melksham, Wiltshire - pictures - (2012-02-10)
  [3644] The way of the Prioress - Melksham history pictured today - (2012-03-09)
  [3646] Exploring Melksham with a film maker - (2012-03-09)
  [3647] Along the brook - East Melksham to Melksham - (2012-03-10)
  [3656] TrainWest 2012 - 14th and 15th April, Melksham, Wiltshire - (2012-03-16)
  [3657] Basham Festival, Melksham, early August 2012 - a welcome - (2012-03-16)
  [3659] Welcome to Melksham - our new communities - (2012-03-18)
  [3692] Deeper than Art - An exhibition of the tattoo Canvas - Melksham - (2012-04-10)
  [3697] Events in Melksham - read all about them, and tell us about yours - (2012-04-15)
  [3703] A Museum for Melksham History. Open from 12th May 2012. - (2012-04-21)
  [3704] The Bowerhill Villager - a newsletter for Bowerhill, Melksham - (2012-04-22)
  [3712] Some unpublished and historic pictures - Museum of Melksham - (2012-04-28)
  [3720] Melksham ATC - freedom of the town - (2012-05-05)
  [3735] A walk around Melksham this morning. Can you place all of these? - (2012-05-17)
  [3744] Short Web Addresses for Melksham - (2012-05-30)
  [3771] Fine evening, country walk from Melksham - pictures - (2012-06-21)
  [3822] Town Clean - Melksham - (2012-07-29)
  [3837] Evening behind Melksham Spa - (2012-08-12)
  [3864] Guest Guide for Well House Manor and Melksham - (2012-09-18)
  [3869] How have Melksham shops changed in 60 years? - (2012-09-24)
  [3897] Autumn scenes from Melksham - (2012-10-16)
  [3944] Melksham Christmas Lights, 2012 - (2012-12-05)
  [3949] Melksham Spa from Woolmore Farm - (2012-12-09)
  [3960] Picture - between Lacock and Melksham - (2012-12-21)
  [3962] Melksham welcomes visitors - new blue plaque trail and more - (2012-12-27)
  [4084] New Pictures - Melksham Pack Horse Bridge - (2013-05-12)
  [4119] Melksham - Flower Town - (2013-06-20)
  [4141] My pictures of Melksham Carnival, 13th July 2013 - (2013-07-14)
  [4145] After the storm - (2013-07-29)
  [4151] Tell me a bit about Melksham - (2013-08-10)
  [4169] Around and about - Melksham - (2013-09-08)
  [4357] Seeing Christmas Coming to Melksham - (2014-12-20)
  [4701] Pretty at the station too - (2016-07-06)

H105 - PHP - Functions
  [96] Variable Scope - (2004-10-22)
  [223] There is a function in PHP to do that - (2005-02-21)
  [308] Call by name v call by value - (2005-05-11)
  [339] Passing information into and out of PHP functions - (2005-06-07)
  [340] Code and code maintainance efficiency - (2005-06-08)
  [409] Functions and commands with dangerous names - (2005-08-11)
  [421] Don't repeat code - use loops or functions - (2005-08-21)
  [775] Do not duplicate your code - (2006-06-23)
  [936] Global, Superglobal, Session variables - scope and persistance in PHP - (2006-11-21)
  [1021] PHP - static declaration - (2007-01-04)
  [1163] A better alternative to cutting and pasting code - (2007-04-26)
  [1202] Returning multiple values from a function (Perl, PHP, Python) - (2007-05-24)
  [1267] is there a lookup function in php? - (2007-07-15)
  [1357] Clean my plate, but keep my wine bottle. (PHP; Static) - (2007-09-18)
  [1380] Static variables in PHP - (2007-10-05)
  [1784] Global - Tcl, PHP, Python - (2008-09-03)
  [2488] A variable number of arguments in a PHP function - (2009-11-02)
  [2630] Static variables and ampersands in PHP - (2010-02-10)
  [2682] Adding extensions to PHP Open Source applications - callbacks - (2010-03-17)
  [2737] Improving your function calls (APIs) - General and PHP - (2010-04-24)
  [2929] Passing a variable number of parameters in to a function / method - (2010-08-20)
  [3026] Coding efficiency - do not repeat yourself! - (2010-11-02)

G100 - Well House Consultants - Introduction to Melksham
  [269] Free parking for short errands in Melksham - (2005-04-05)
  [291] Why are we no. 404 - (2005-04-25)
  [322] More maps - (2005-05-23)
  [517] An occasional chance, and reducing data to manageable levels - (2005-12-04)
  [1725] A future vision for Melksham - (2008-07-27)
  [2350] Ten years in Melksham - looking forward to ten more. - (2009-08-11)
  [2704] A walk within without - Melksham Without - (2010-04-02)
  [3344] Repost - some useful pages on our site - (2011-07-04)
  [3696] Melksham government and business organisations - (2012-04-14)
  [3932] River nearly bursting its banks in Melksham - (2012-11-23)


Back to
Catching the slope
Previous and next
or
Horse's mouth home
Forward to
Being sure to be positive in Perl
Some other Articles
Autumn comes to Wiltshire.
UNABLE TO ATTEND
Smoking, or no
Being sure to be positive in Perl
A lazy programmer is a good programmer
Catching the slope
Add to shopping cart - NO VACANCIES sign
Double and Triple equals operator in PHP
4 weeks to go
Ballooning from Devizes
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page
Hello. I'm Graham Ellis. If you have a question about the hotel, please ask me or

 

then book here

© WELL HOUSE CONSULTANTS LTD., 2021: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/866_A-la ... ammer.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb