<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">
<title>Horse&apos;s Mouth</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/horse/" />
<modified>2008-05-09T10:41:29Z</modified>
<tagline>Musing, events and thoughts from Graham Ellis</tagline>
<id>tag:www.wellho.net,2008:/horse/1</id>
<generator url="http://www.movabletype.org/" version="3.01D">Movable Type</generator>
<copyright>Copyright (c) 2008, gje</copyright>
<entry>
<title>What to do if the Home Page is missing</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001636" />
<modified>2008-05-09T10:41:29Z</modified>
<issued>2008-05-08T17:01:07Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1636</id>
<created>2008-05-08T17:01:07Z</created>
<summary type="text/plain">The Web Server Administrator has two choices as to what he / she should do when a content provider doesn&apos;t supply a home page (index.html or similar) in a directory - either he can generate an error such as a...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>The Web Server Administrator has two choices as to what he / she should do when a content provider doesn't supply a home page (index.html or similar) in a directory - either he can generate an error such as a 403 ("Forbidden") or 404 ("Not found"), or he can generate a directory listing, so that the web site visitor can access the content of the directory anyway.</p>

<p><b><font color=blue>Question</font> - How does the web site admin turn directory listing on and off?</b></p>

<p>The Web Server configuration file is usually called httpd.conf, though were you find it varies depending on your operating system and configuration. For a web server installed on a Linux server, as configured on our <a href=http://www.wellho.net/course/lwfull.html>Linux Web Server</a> and <a href=http://www.wellho.net/course/atfull.html>Deploying Apache httpd and Tomcat</a> courses, you'll be looking at /usr/local/apache2/conf. </p>

<p>Find the <b>Options</b> line for the directory in which the directory tree you're interesting in altering is located and add (or remove) <b>Indexes</b>. For example:</p>

<p><code>&lt;Directory "/home/www/htdocs"><br />
Options Indexes FollowSymLinks</code></p>

<p>allows web directories served from within /home/www/htdocs to display their contents, but</p>

<p><code>&lt;Directory "/home/www/htdocs"><br />
Options FollowSymLinks</code></p>

<p>will give anyone who tries a 400 series error.</p>

<p><b><font color=blue>Question</font> - can the web develop control this too?</b></p>

<p>Yes, if given such permission by the Web Site Admin.  The Web Site Admin need to allow overrides - if the httpd.conf file says</p>

<p><code>AllowOverride None</code></p>

<p>then the web developer has no control but it it says either of</p>

<p><code>AllowOverride Options</code></p>

<p>or<br />
<code>AllowOverride All</code></p>

<p>the it CAN be overridden by the web developer ... who would provide a file called <b>.htaccess</b> in the top level directory to which the automatic indeing should apply.  The line in that file would be either</p>

<p><code>Options Indexes </code></p>

<p>to allow Indexes (only) or</p>

<p><code>Options +Indexes </code></p>

<p>To turn indexes on in addition to options inherited from the directory above.</p>

<p>There may be other things in the .htaccess file too, and these files can exist in multiple places on the web site - here's an example of mine that allows a directory listing and turn off any page rewrites too:</p>

<p><code>RewriteEngine Off<br />
Options Indexes</code></p>

<p>and here's one which (by contrast) diverts all .html and .htm requests to a script with the undescriptive name 8.php, passing in the name of the page that was called up as a parameter.</p>

<p><code>RewriteEngine On<br />
RewriteRule ^(.*)\.htm 8.php?pagename=index&sharename=$1&%{QUERY_STRING}</code></p>

<p><br />
<b><font color=blue>Question</font> - is it a good idea to allow automatic indexes?</b></p>

<p>In general NO.  If you leave out the home page from a directory by mistake, you'll be exposing yourself to anyone who visits your web site.  When I go to a web site following a link to an obscure page on a domain I don't know, I often "research" the domain by cutting sections off the path.  By  disallowing, you stop people like me spying around, and perhaps finding backup files (e.g. copies of .php scripts that have a .bak extension) from which I could (but wouldn't!) break holes in your site.</p>

<p>But if you want to make a directory from which people can quickly and easily grab pictures and you're not too worried about it looking pretty, then in these LIMITED CIRCUMSTANCES it can be a good idea.</p>

<p>In fact I have turned in on for one of my directories today - <a href=http://www.wellho.net/brekkies/>here</a> where you can some some record shots of this morning's breakfast setup, and of <a href=http://www.wellho.net/share/devizes.html>Devizes</a> last night.</p>

<p><br />
<font color=brown>Note - than answers on this page apply to the Apache httpd web server, which is used to serve the majority of domains on the web. Options and configuration files differ for other servers.</font></p>]]>

</content>
</entry>
<entry>
<title>Spring in Devizes</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001635" />
<modified>2008-05-09T10:45:26Z</modified>
<issued>2008-05-08T15:38:02Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1635</id>
<created>2008-05-08T15:38:02Z</created>
<summary type="text/plain">Yesterday evening, Lisa and I got a breath of fresh air in Devizes - a beautiful Spring evening with leaves on the trees where 2 weeks ago there were just twigs. Moored at the wharf on the Kennet and Avon...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p><img src=http://www.wellho.net/pix/dvspr1.jpg align=left hspace=5 width=300>Yesterday evening, Lisa and I got a breath of fresh air in <a href=http://www.wellho.net/share/devizes.html>Devizes</a> - a beautiful Spring evening with leaves on the trees where 2 weeks ago there were just twigs. <br clear=all></p>

<p><img src=http://www.wellho.net/pix/dvspr2.jpg align=left hspace=5 width=300>Moored at the wharf on the <a href=http://www.wellho.net/share/canal.html>Kennet and Avon Canal</a> was a cluster of modern narrowboats (and what a wonder it is that my modern camera let me shoot this right into the sun!<br clear=all></p>

<p><img src=http://www.wellho.net/pix/dvspr3.jpg align=left hspace=5 width=300>Looking out towards Honey Street and <a href=http://www.wellho.net/share/pewsey.html>Pewsey</a>, "Unity" is moored up.  Now "Unity" is a famous name - a barge built in the days of commercial carrying, horse drawn, and operated by Robbins Lane and Pinnegar - a long established firm of carriers on the canal.  She looks beautiful - but is she original, or a reproduction?   And if she's original, just how much of the original boat remains?  Questions that I don't know answers to!<br clear=all></p>

<p><img src=http://www.wellho.net/pix/dvspr4.jpg align=left hspace=5 width=300>Questioning "Unity"s credentials is rather like questioning our credentials to describe our breakfast as "Continental" when we're certainly not on the mainland of Europe, and our breakfast products are sourced locally where possible. Not only do local products help us to support local businesses, but they also cut down on greenhouse gases from Transport, and they give distant visitors a local taste rather than the standard fayre from a worldwide chain.<br clear=all></p>

<p><img src=http://www.wellho.net/pix/dvspr5.jpg align=left hspace=5 width=300>Our niche at <a href=http://www.well-house-manor.co.uk>Well House Manor</a>, where we cater for business travelers to our <a href=http://www.wellho.net/course/indes.html>computer courses</a> and to other local businesses also allows us to provide products that would be out of the question at a more general hotel. The picture here shows the preparation of fruit which we allow guests to juice for themselves - bringing a true new meaning to FRESHLY squeezed orange juice - but it's something we couldn't entertain allowing if we were to accept bookings from children.<br clear=all></p>]]>

</content>
</entry>
<entry>
<title>Kiss and Book</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001634" />
<modified>2008-05-08T09:29:41Z</modified>
<issued>2008-05-07T12:22:41Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1634</id>
<created>2008-05-07T12:22:41Z</created>
<summary type="text/plain">The headline on our story reads &quot;We&apos;ve got a New Online Booking System for our Open Source courses&quot; ... but there&apos;s a story behind that headline. We pride ourselves in our flexibility - the ability to treat each customer as...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>The headline on our story reads <u><b>"We've got a <a href=https://lightning.he.net/~wellho/coursebooking/index.php>New Online Booking System</a> for our <a href=http://www.wellho.net/course/index.html>Open Source courses</a>"</b></u> ... but there's a story behind that headline.</p>

<p><b>We pride ourselves in our flexibility</b> - the ability to treat each customer as an individual and offer him a solution to meet his or her needs. And that means that we're likely to ask each and every delegate booking a course with us a whole string of questions - some to establish that he or she is booking on the right course (not something too advanced or basic), whether she or he prefers to work at a Linux system, with a Mac, or with Windows Vista, whether a station pickup is required and if there are any special dietary requirements, and whether a hotel room is wanted - if so, bath or shower preferred? <b>But our flexibility leads to the danger of a very complex online booking system!</b></p>

<p>"KISS" - "Keep it Simple, Stupid" ... a 4 letter acronym! A booking system needs to be simple and easy to use - and our new one is. </p>

<p>&bull; On the first page, simply fill in the names of the delegates you want to send on each course, and if necessary check a box if they don't want a hotel room.</p>

<p>&bull; On the second page, fill in the contact details of the person who's making the booking, and an order number.</p>

<p>&bull; And on the third page, tell us how you want to pay. If that's by credit or debit card, the whole of the booking system is using a secure site so you can enter the details.</p>

<p>&bull; The final page isn't a form - it's a confirmation. Yes, it's that easy!  You'll get an automated email to let you know that your order is in the system.   </p>

<p>You'll also get a nice note from Lisa, thanking you for your booking and dealing with many of the things that we're very flexible about - and it will be personalised. Book from outside the UK and Lisa will ask you whether you need directions from the airport, or a taxi.  Book from one of our regular client companies, and she'll know how you PO system works .. or from a new company but requesting to pay on account, and she'll set that ball rolling.</p>

<p>Our conundrum of how to keep it straightforward, and yet provide the flexibility, isn't unique to us - in fact it's a common feature of most customer-aware businesses.  When I book a train ticket and I'm offered (as I was the other day) 37 different fares for the same journey on the same train, I take an object lesson and say "please let this be a reminder to me to make sure that our system NEVER gets like that".  </p>

<p>Go on - try it out ... why not <a href=http://www.wellho.net/course/index.html>find a course</a> and book it today!</p>]]>

</content>
</entry>
<entry>
<title>Changing a screen saver from a web page (PHP, Perl, OSX)</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001633" />
<modified>2008-05-07T11:06:10Z</modified>
<issued>2008-05-06T17:49:19Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1633</id>
<created>2008-05-06T17:49:19Z</created>
<summary type="text/plain">Here&apos;s a challenge. I want to change the screen saver on a mac mini, running OSX, from a browser anywhere in the world. You may well ask why ... the screen of the mac mini is to be visible at...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>Here's a challenge.  I want to change the screen saver on a mac mini, running OSX, from a browser anywhere in the world. </p>

<p><i>You may well ask why ... the screen of the mac mini is to be visible at <a href=http://www.wellhousemanor.co.uk>Well House Manor</a> where it will provide an information screen at the front door when it's not otherwise in use, and we want it to say things like "Sorry - no Vacancies" and "Welcome to the <a href=http://www.well-house-manor.co.uk/chamber.html>Chamber of Commerce</a>"</i></p>

<p><img src=http://www.wellho.net/pix/webdoorstatus.jpg align=left hspace=5 border=1>Task achieved!  Using PHP ... and Perl ... and Web2 technology.  With a smattering of OSX!</p>

<p>Here's the control widget on our web page ... the page is in PHP and this particular widget is only displayed to staff members who are logged in - if you look at our <a href=http://www.wellho.net/happens>Staff Resources Page</a> you won't see it.</p>

<p>And the <a href=http://www.phpcourse.co.uk>PHP</a> that's run when you press the update button:<br clear=all></p>

<p><code>if ($_POST[door] == 12) { // Door Status changed<br />
&nbsp;&nbsp;$ds = $_POST[doorst];<br />
&nbsp;&nbsp;$fho = fopen("door.txt","w");<br />
&nbsp;&nbsp;fputs ($fho,stripslashes($ds)."\n");<br />
&nbsp;&nbsp;fclose ($fho); // Host and Port changed for security<br />
&nbsp;&nbsp;$done = file("http://zzz.wellho.net:8080/cgi-bin/dodo.pl?$ds");<br />
&nbsp;&nbsp;}</code></p>

<p>That piece of viewing software was called a controller on the Mac - which is running as a Web Server on a port enabled on our firewall, and redirected with NATS to the Mac Mini.</p>

<p>The <a href=http://www.wellho.net/course/perl.html>Perl</a> software dodo.pl looks like this:</p>

<p><code>#!/usr/bin/perl<br />
print "content-type: text/html\n\n";<br />
print "Changing Page";<br />
`rm -rf /Users/lisaellis/FrontDoor`;<br />
`cp -r /Users/lisaellis/$ENV{QUERY_STRING} /Users/lisaellis/FrontDoor`;<br />
open (FH,"ps aux|");<br />
while (&lt;FH>) {<br />
&nbsp;&nbsp;if (/ScreenSaverEngine/) {<br />
&nbsp;&nbsp;@n = split;<br />
&nbsp;&nbsp;kill 9,$n[1];<br />
&nbsp;&nbsp;print "$n[1]&lt;br>";<br />
&nbsp;&nbsp;}<br />
}<br />
sleep 1;<br />
open (FH,'|/System/Library/Frameworks/ScreenSaver.framework/Versions'.<br />
'/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine' );<br />
close FH;<br />
print "Changing Page";</code></p>

<p>And there's also a standalone version <a href=http://www.wellho.net/resources/ex.php4?item=p258/change_screen.pl>here</a> if you want to download a copy for your own use.</p>

<p>You'll notice - typical use of PHP to front a web application, typical use of Perl as "glueware", and typical use of a Unix / Linux / OSX utility - in this case Mac's ScreenSaverEngine - to do the oddball job we needed.</p>]]>

</content>
</entry>
<entry>
<title>Lua - a powerful, up and coming scripting language</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001632" />
<modified>2008-05-07T11:07:46Z</modified>
<issued>2008-05-05T10:57:56Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1632</id>
<created>2008-05-05T10:57:56Z</created>
<summary type="text/plain">Lua is a powerful, lightweight scripting language. It combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. It is ideal for configuration, scripting, and rapid prototyping. Lua has been used in many industrial...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>Lua is a powerful, lightweight scripting language.  It combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. It is ideal for configuration, scripting, and rapid prototyping. Lua has been used in many industrial applications, with an emphasis on embedded systems and games, and indeed is currently the leading scripting language in games.</p>

<p>Here's a quick <b>Download, build, install, test</b> procedure for Lua</p>

<p>&bull; Download from http://www.lua.org/ftp/ and save to disc. The file you choose is lua-5.1.3.tar.gz</p>

<p>&bull; unpack tar file and build</p>

<p><code>tar xzf lua-5.1.3.tar.gz<br />
cd lua-5.1.3<br />
make linux</code></p>

<p>&bull; Install (as root, into /usr/local)</p>

<p><code>su -<br />
cd ~trainee/lua-5.1.3<br />
make install<br />
exit</code></p>

<p>&bull; Test (as trainee, once again)</p>

<p><code>[trainee@holt ~]$ <b>lua</b><br />
Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio<br />
> <b>print "hello world"</b><br />
hello world<br />
> <br />
[trainee@holt ~]$</code></p>

<p>I've put a simple program - the next step beyond "Hello World" that shows some of the basics of the language <a href=http://www.wellho.net/resources/ex.php4?item=a350/hello>here</a>, and I would be delighted to spend a day or two going through the language with you ...  (Keywords - Lua Courses / Training / Classes!)</p>]]>

</content>
</entry>
<entry>
<title>Looking back through some photos</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001631" />
<modified>2008-05-07T11:11:58Z</modified>
<issued>2008-05-04T16:41:55Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1631</id>
<created>2008-05-04T16:41:55Z</created>
<summary type="text/plain"> A Sunday afternoon - and a Bank Holiday one at that. I&apos;m not sure why (suggestions of age and workload are probably along the right lines!) but I lay down just after lunchtime and dozed ... and, up again...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p><img src=http://www.wellho.net/pix/brg2.jpg align=right hspace=5> A Sunday afternoon - and a Bank Holiday one at that.   I'm not sure why (suggestions of age and workload are probably along the right lines!) but I lay down just after lunchtime and dozed ... and, up again now, I am starting to do some low key stuff including labeling up some old pictures.</p>

<p>Photoshop is, of course, a marvelous piece of software for adding art and zest to a dull picture such as this one of a steam engine at Bressingham, taken just a fortnight ago.   You may argue that the best place for this picture was the recycle bin - but, hey, I'm an amateur and an amateur will show you as many of his pictures as he possibly can. In fact - if you want to see the other ones that I have just been labeling up they are <a href=http://www.wellho.net/share/mimpix.html>here</a><br clear=all></p>

<p><img src=http://www.wellho.net/pix/bibu5.jpg align=right hspace=5> Another picture - from last Thursday, at Bibury. [<a href=http://www.wellho.net/pix/bibury.html>more pictures of Bibury</a>]. A certain timelessness, and an opportunity to take a rare picture - one that has no road, no vehicles, no signs of the 21st or even the 20th Century in it.  Or so one might think, but I do wonder as to just how similar (or otherwise) this scene might have been in 1908 rather than 2008.<br clear=all></p>

<p>And finally, a pair of pictures that lead me to start thinking just how European we have become in Great Britain - with photographs on the steps in Norwich and in Rome.</p>

<table width=100%><tr><td width=50% align=center><img src=http://www.wellho.net/pix/stepsatuea.jpg></td><td width=50% align=center><img src=http://www.wellho.net/pix/stepsinrome.jpg></td></tr></table>

<p><b>Stop Press</b> - Image search at <a href=http://www.wwuu.co.uk>http://www.wwuu.co.uk</a></p>]]>

</content>
</entry>
<entry>
<title>To provide external links, or not?</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001630" />
<modified>2008-05-04T17:30:01Z</modified>
<issued>2008-05-04T08:50:01Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1630</id>
<created>2008-05-04T08:50:01Z</created>
<summary type="text/plain">My email this morning brought me a report of a broken link on our web site. Which I investigated, and found to be within a blog entry I had written a year ago, and linked to someone else&apos;s site over...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>My email this morning brought me a report of a broken link on our web site. Which I investigated, and found to be within a blog entry I had written a year ago, and linked to someone else's site over which I have no control.</p>

<p>I'm a great believer in providing a wide range of linked resources for our customers, and for other visitors to our web site.  With links to sites that we manage (and there are lots of them, from <a href=http://www.well-house-manor.co.uk>our company overview microsite</a> to <a href=http://www.savethetrain.org.uk>Save the Train</a> and from <a href=http://www.phpcourse.co.uk>our PHP course pages</a> through to <a href=http://www.wellho.info>image reuse details</a> via <a href=http://www.wellhousemnaor.co.uk>the hotel</a> and <a href=http://www.firstgreatwestern.info/coffeeshop>the First Great  Western customer page</a>), I know how likely (or otherwise) it is that the URLs will go away or change in the future (and can link accordingly), but with most external sites, <i>the best I can do is make an educated guess!</i></p>

<p>This is not an exact science ... so what can I suggest?</p>

<p>a) That links to the major pages of well established organisations are likely to remain substantially correct, as are links to pages that one's encouraged to link to</p>

<p>b) That links by IP address, to obscure URLs especially within blogs, forums and wikis, are likely to go out of date</p>

<p>It's regrettable that there's no way that you can register any links you add and get the people to whom you've linked to let you know when they take pages away ... but the good ones will replace pages they remove with "301" redirects rather than just abandoning you - as I found this morning - to a "404" not found.</p>

<p>There's another option. You can write a spider / script that will visit all the pages to which you have provided links from time to time, and update you on their status.  I have one of these somewhere in a dusty directory - written in Perl and using the LWP module, it trawled my own pages for external references, then visited each of those internal references in turn.  But I admit - it's years since I've looked back at it and I need a month of Sundays to catch up on such things.  </p>

<p>My current view is that external links within my main pages are very carefully selected, and will rarely go out of date - and I would typically know very quickly.  External links on blog articles and on forum answers - well - the <i>reasonable person</i> may expect them to go out of date over time, especially if they're something like an advert for an <a href=http://www.wellho.net/railfuture/>event in July</a>!</p>

<p><br />
</p>]]>

</content>
</entry>
<entry>
<title>A short introduction to our courses</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001629" />
<modified>2008-05-03T16:34:59Z</modified>
<issued>2008-05-03T16:29:52Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1629</id>
<created>2008-05-03T16:29:52Z</created>
<summary type="text/plain">Hotel guests and other visitors are often interested in the Computer Training we do at Well House Manor, but hitherto our sales and marketing material really hasn&apos;t included a handy single sheet to explain. There&apos;s a good reason for this...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>Hotel guests and other visitors are often interested in the Computer Training we do at Well House Manor, but hitherto our sales and marketing material really hasn't included a handy single sheet to explain.  There's a good reason for this - with niche course such as ours, our main market hasn't been a local one (and that's why we have the hotel, after all!)</p>

<p>However - in response to a request at last Friday's Staff meeting, I have put together a page, suitable for printing out on a single sheet, that pulls together the training and the hotel business.</p>

<p>See what you think <a href=http://www.well-house-manor.co.uk>here</a></p>]]>

</content>
</entry>
<entry>
<title>Gant charts - drawing them with a PHP script</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001628" />
<modified>2008-05-04T17:35:31Z</modified>
<issued>2008-05-03T15:47:28Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1628</id>
<created>2008-05-03T15:47:28Z</created>
<summary type="text/plain">I wrote a piece of project planning code - to generate GANT charts in PHP - when we were planning all the works on Well House Manor the best part of 2 years ago now. And although I did little...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>I wrote a piece of project planning code - to generate GANT charts in PHP - when we were planning all the works on Well House Manor the best part of 2 years ago now. And although I did little more that provide a screen capture here on "The Horse's Mouth", one of our popular hits has turned out to be that page.</p>

<p>So I've looked through the code and realised that I can publish it, and the sample data - and indeed I can have a running copy on our web server.  So here you are:</p>

<p><a href=http://www.wellho.net/demo/elligant.php>Example Gant chart (PHP)</a><br />
<a href=http://www.wellho.net/resources/ex.php4?item=h108/elligant.php>Source code for Gant Chart program</a><br />
<a href=http://www.wellho.net/resources/ex.php4?item=h108/pps>Sample Data file</a></p>

<p><i>Techniques such as these are covered on our new <a href=http://www.wellho.net/course/ptfull.html>PHP Techniques</a> course</i></p>]]>

</content>
</entry>
<entry>
<title>Amazing family members</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001627" />
<modified>2008-05-07T11:28:22Z</modified>
<issued>2008-05-02T08:53:28Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1627</id>
<created>2008-05-02T08:53:28Z</created>
<summary type="text/plain">Look around at your family, and you&apos;ll find some remarkable people - and look a little beyond your immediate group to slightly more distant relatives, and you&apos;ll find some people who amaze you. We knew her as &quot;Molly&quot; but by...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>Look around at your family, and you'll find some remarkable people - and look a little beyond your immediate group to slightly more distant relatives, and you'll find some people who amaze you.</p>

<p>We knew her as "Molly" but by birth she was Mary O'Loughlin White;  Dad's cousin who we met from time to time, and who passed away towards the end of last month. "I haven't seen an obituary this long ..." said the priest who officiated at her funeral yesterday, and indeed she had been an accomplished journalist on the staff of the Witney Gazette, which he had in his hand. </p>

<p>But how many of us have (or will) learn to fly - to get a pilot's license - in our 50s?   How many of us will fly with the RAF's heavy lift aircraft, and helicopters from other nations too, for famine relief in Ethiopia?  And write <a href=http://www.antiqbook.co.uk/boox/eme/93056.shtml>"The Foodbirds"</a> - a book on her experiences too.</p>]]>

</content>
</entry>
<entry>
<title>Early May - a short chance to regroup and improve</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/05/index.html#001626" />
<modified>2008-05-02T14:52:56Z</modified>
<issued>2008-05-01T08:40:11Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1626</id>
<created>2008-05-01T08:40:11Z</created>
<summary type="text/plain">Welcome to May. A mad busy April gives way to a quiet week next week - perhaps caused in a part by the fact that I&apos;ve simply not had the time to go out marketing courses, and in part by...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>Welcome to May.  A mad busy April gives way to a quiet week next week - perhaps caused in a part by the fact that I've simply not had the time to go out marketing courses, and in part by the fact that it's another Bank Holiday week, and in part by the fact that whenever there's a major  turbulence in the news or the economy, company's first reaction is to freeze expenditure on training until it blows over ... or until they realise that life is going on anyway.  We saw it with regard to 9/11, we saw it when Iraq was invaded, and we have sensed a cut in training bookings in the current financial climate.</p>

<p>I predict that this quietness won't last;  companies need to invest in their staff and, once they're sure where they're going the quieter times are an excellent opportunity to catch up on training and backroom work so that they can hit the ground running as things accelerate forward again.   We're certainly taking that opportunity.</p>

<p>In a month, it will be two years since we took over <a href=http://www.wellhousemanor.co.uk target=pix>Well House Manor</a> and now is a good time for us to take stock and move onwards and upwards.</p>

<p>And on the training course side, with the ongoing popularity and growth of <a href=http://www.phpcourse.co.uk target=pix>PHP</a> we've added our <a href=http://www.wellho.net/course/ptfull.html target=pix>PHP Techniques workshop</a> to our regular <a href=http://www.wellho.net/course/phfull.html target=pix>PHP programming</a> and <a href=http://www.wellho.net/course/pofull.html target=pix>OO Programming with PHP</a> courses.  <b>PHP Techniques are critical to the success of a web based application, and they're what our new course covers. A user friendly, flexible, easily maintained site that hides the complexity from the customer and is secure is <font color=brown>critical</font> to a web campaign's success - but is often overlooked.  This course will be a really good investment for anyone who knows the principles of PHP programming but wants tips, techniques and help as to how to make best use of them.</b> But it is going to be a hard one for people to "sell" to their bosses ...</p>

<p>It's been brought home to me in the last few days just how effective an online application can be ... looking as an example at our <a href=http://www.savethetrain.org.uk/pledge.html target=pix>Save the Train pledge page</a>.  Over 350 people - with over 90% of them from Wiltshire and the local area - have signed up on the page I wrote on Easter Monday, and I hear the "whisper" that the interest that it has generated has been noted in the high places that matter with regards to decisions on whether we'll see a more appropriate train service next year across Wiltshire, or a continuation of the current travesty.</p>

<p>* If you've not signed up to support the train yet, please click <a href=http://www.savethetrain.org.uk/pledge.html target=pix>here</a></p>

<p>* If you've not booked for PHP Techniques on 15th / 16th May - please click <a href=http://www.wellho.net/course/ptfull.html target=pix>here</a> for a description - and if you book by email (<a href=mailto:graham@wellho.net>graham@wellho.net</a>) for that first course, we'll give you a &pound;100.00 introductory discount.</p>]]>

</content>
</entry>
<entry>
<title>Box from end to end</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/04/index.html#001625" />
<modified>2008-04-29T16:39:55Z</modified>
<issued>2008-04-29T16:28:10Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1625</id>
<created>2008-04-29T16:28:10Z</created>
<summary type="text/plain">My picture of a train bursting out of the West portal of Box Tunnel - taken a year or two back - come up as one of the top hits on Google. But Box tunnel has two ends ... and...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p><img src=http://www.wellho.net/pix/boxtrain.jpg width=300 align=left hspace=5>My picture of a train bursting out of the West portal of <a href=http://www.wellho.net/share/box.html>Box</a> Tunnel - taken a year or two back - come up as one of the top hits on Google.<br clear=all><br />
<img src=http://www.wellho.net/pix/corshamend.jpg width=300 align=right hspace=5> But Box tunnel has two ends ... and this morning when I visited my dentist who practises there (<a href=http://www.wellho.net/share/corsham.html>Corsham</a>), I drove over the road near to it and stopped.   A little in the distance - but see the train in the tunnel, and indeed you can see right through!<br clear=all><br />
It is said that on Brunel's Birthday, the rising sun shines right through .. I don't know about that, but the story's a nice one.</p>

<p><i>See more recent images <a href=http://www.wellho.net/share/apr0801.html target=pix>here</a> and <a href=http://www.wellho.net/share/apr0802.html target=pix>here</a></i></p>]]>

</content>
</entry>
<entry>
<title>From Freddie the fallow</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/04/index.html#001624" />
<modified>2008-04-28T09:45:49Z</modified>
<issued>2008-04-27T21:32:16Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1624</id>
<created>2008-04-27T21:32:16Z</created>
<summary type="text/plain"> Hi, I&apos;m Freddie the fallow deer and I would like to introduce you to my home at Dyrham Park. Some of the older trees in the park have fallen and newer trees have been planted ... and there&apos;s plenty...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p><img src=http://www.wellho.net/pix/dyr69.jpg></p>

<p>Hi, I'm Freddie the fallow deer and I would like to introduce you to my home at Dyrham Park.</p>

<p><img src=http://www.wellho.net/pix/dyr68.jpg></p>

<p>Some of the older trees in the park have fallen and newer trees have been planted ... <i>and there's plenty of grass for me and my friends to eat!</i></p>

<p><img src=http://www.wellho.net/pix/dyr66.jpg></p>

<p>Avenues of new trees disappear over the horizon <i> and there's plenty of grass for me and my friends to eat - I repeat that because it's important to us!</i></p>

<p><img src=http://www.wellho.net/pix/dyr67.jpg></p>

<p>The quiet winter is over, the summer season is coming, and the stalkers are out.  But we feel safe here as they only shoot us with cameras!</p>]]>

</content>
</entry>
<entry>
<title>PHP Techniques - a workshop</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/04/index.html#001623" />
<modified>2008-04-27T14:21:27Z</modified>
<issued>2008-04-26T21:10:33Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1623</id>
<created>2008-04-26T21:10:33Z</created>
<summary type="text/plain">So many people know the basis of PHP - the language constructs themselves and how they work individually - but could really benefit from learning how to make the best of those elements. And these techniques for putting the elements...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>So many people know the basis of PHP - the language constructs themselves and how they work individually - but could really benefit from learning how to make the best of those elements. <b>And these techniques for putting the elements together are so important that they should not be crammed onto the end of a "PHP Programming" course, but rather should be tackled afresh, with time, after you've had a little practise with the basics.</b></p>

<p>If you can already code PHP but you're looking to make good use of databases (and get the joins right), to make secure code, to write applications which recognise the country your visitor is from (or whether your page is being visited by a spider), to write code which is easy to modify as your customer's needs change, to handle uploaded images, or which can have a new look-and-feel applied without reprogramming, our <a href=http://www.wellho.net/course/ptfull.html>PHP Techniques Workshop</a> will be what you're looking for.</p>

<p>Why a Workshop?   Because for this type of learning, a small group is ideal.   Interaction with other delegates and the tutor, working on projects that are relevant to you so you go away with a practical experience and not just the result of book-learned theory.</p>

<p>We describe this as a two day workshop - but it's a full two days and we encourage you to arrive the evening before at our <a href=http://www.wellhousemanor.co.uk>Melksham, Wiltshire hotel and training centre</a>.  On that lead in evening, you'll get a chance to get on line (we provide server and client laptops, but you are welcome to bring your own and connect them in), to meet your fellow delegates, and to be prepared for a fresh start early the following morning.</p>

<p>This year (2008) arrive on Wednesday, 14th May ... on Sunday, 20th July, on Sunday 14th September or on Wednesday, 5th November, for the following two days.  The &pound;720.00 + VAT rate includes 2 evening meals, 2 breakfasts, 2 lunches, and two nights accommodation, high quality rooms. Let us know if you'll be arriving in Melksham by train and we'll meet you at the station too. And, yes, we have plenty of free parking.</p>

<table cellspacing=3 cellpadding=2 bgcolor=#FFFFDD border=0> <tr><th colspan=2>The Arrival Evening</th></tr> <tr><td>up to 21:00</td><td>Arrive (any time from mid-afternoon), settle in, get on line</td></tr> <tr><td>20:00 </td><td>Buffet available</td></tr> <tr><th colspan=2>First Full Day</th></tr> <tr><td>07:00 </td><td>Breakfast</td></tr> <tr><td>07:30 - 09:00</td><td>PHP Revision - the basics <a href=http://www.wellho.net/resources/H300.html>[details]</a></td></tr> <tr><td>09:15 - 12:30</td><td>Sticky Fields and Sessions <a href=http://www.wellho.net/resources/H301.html>[details]</a><br>MVC, 4 Layer Model and templating <a href=http://www.wellho.net/resources/H302.html>[details]</a></td></tr> <tr><td>12:45</td><td>light lunch</td></tr> <tr><td>13:30 - 17:15</td><td>Long and short term cookies and security <a href=http://www.wellho.net/resources/H303.html>[details]</a><br>DDA, Style, image handling (inc capture) <a href=http://www.wellho.net/resources/H304.html>[details]</a></td></tr> <tr><td>Evening</td><td>Tips and Techniques Clinic <a href=http://www.wellho.net/resources/H312.html>[details]</a></td></tr> <tr><td>20:00</td><td>evening meal</td></tr> <tr><th colspan=2>Second Full Day</th></tr> <tr><td>07:00</td><td>Breakfast</td></tr> <tr><td>07:30 - 09:00</td><td>mod rewrite techniques, Recognising browsers, countries and referers <a href=http://www.wellho.net/resources/H306.html>[details]</a></td></tr> <tr><td>09:15 - 12:30</td><td>Web2 and caching,  <a href=http://www.wellho.net/resources/H307.html>[details]</a><br>Searches, 404s and Search Engines,  <a href=http://www.wellho.net/resources/H308.html>[details]</a><br>Maps, Graphics and Geographics <a href=http://www.wellho.net/resources/H309.html>[details]</a></td></tr> <tr><td>12:45</td><td>light lunch</td></tr> <tr><td>13:30 - 17:15</td><td>Putting it Together <a href=http://www.wellho.net/resources/H310.html>[details]</a></td></tr></table>

<p>We'll offer you a lift back to the station at the end of the second day, or if you prefer to stay a further evening you're welcome to book your room for just &pound;60.00 + VAT and check out the next morning.</p>]]>

</content>
</entry>
<entry>
<title>An extra step - victory from defeat</title>
<link rel="alternate" type="text/html" href="http://www.wellho.net/archives/2008/04/index.html#001622" />
<modified>2008-04-25T11:59:50Z</modified>
<issued>2008-04-25T01:37:09Z</issued>
<id>tag:www.wellho.net,2008:/horse/1.1622</id>
<created>2008-04-25T01:37:09Z</created>
<summary type="text/plain">No-one can get everything they do 100% right every time - things will go wrong, even in the most carefully assessed circumstances where all practical steps have been taken to reduce the risk. I feel secure, and fully knowledgeable of...</summary>
<author>
<name>gje</name>

<email>graham@wellho.net</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.wellho.net/horse/">
<![CDATA[<p>No-one can get everything they do 100% right every time - things will go wrong, even in the most carefully assessed circumstances where all practical steps have been taken to reduce the risk. I feel secure, and fully knowledgeable of the line below which the quality of service that I get at the particular hotel chain that I've been staying at this week. And for the first time that I can recall, I was let down by one particular, but serious, error and subsequent security lapse. I am not, by nature, one to go marching over to the front desk ... but in this case I did.</p>

<p>Of course, I have one leg in either camp - customer and hotelier.</p>

<p><img src=http://www.wellho.net/pix/compliments.jpg align=left hspace=5>Top marks to the reception staff for their handling of this livid man - and confirmation to me that our policy at <a href=http://www.wellhousemanor.co.uk>Well House Manor</a> of going "one step beyond" is the right one.  I was looking for an explanation, duly given. I was anticipating (for what it was worth) an apology, which I got. I was hoping for a step or two to be taken to avoid the same thing happening to another guest.  That was promised and probably followed through. I wasn't anticipating the complimentary tray, delivered to my room as I had an evening of work to do.</p>

<p>I try never to turn away from a well-liked supplier based on one unfortunate incident, so it's unlikely I would have given this chain a miss in the future even if I had been given a "don't care" type brushoff.  But actually the whole has cemented by brand loyalty - victory from the jaws of potential defeat, if you like.  Someone - please remind me to tell this story at our next staff meeting, and to remind our team (who know it anyway) to go that extra step.<br clear=all></p>]]>

</content>
</entry>

</feed>