Playlab.net || Mark Rochefort

My name is Mark Rochefort and this is my website - a place where I like to play and learn. Are you still searching? I doubt you'll find it here but you might find some other guff - sometimes with photos.
Or you could try looking down here ↓

Twitter Weekly Updates for 2009-12-26 26Dec09

Filed under: Random

  • Starting to realise why parents keep the "father Christmas" thing going… Bribery #
  • How to Run a Meeting Like Google: http://bit.ly/YRkc3 <- some points worth taking on board here! #
  • Doing the #Lewes shuffle (#ice) #
  • UPDATE: #uksnow WC1 9/10 !!! #
  • A group of Hari Krishnas just went chanting past, below the office window, in the thick #uksnow WC1 6/10 #
  • RT @AndrewGrill: How to prevent your own “Eurostar moment” http://bit.ly/eurostarmoment #eurostar (via @bluhalo) #
  • Ditched the bike in favour of hiking boots this morning – too much #ice in #Lewes to bike to station. Feeling a tad over kitted in London! #
  • RT @bluhalo (via @AndrewGrill) » How to prevent your own “Eurostar moment” http://bit.ly/eurostarmoment #eurostar #
  • RT @This_Country: Via @jackbarnes http://twitpic.com/u74h6 This country. #
  • Blown away by michael caine – desert island discs #radio4. Some real surprises! #
  • Serious fireworks at Pelham House, #Lewes. Literally over our heads! Anyone know who/what for? Thx whoever u r – beautiful esp w snow #
  • RT @jowyang: Clever Matrix: Linux vs Windows vs Mac http://i.imgur.com/YRoqC.jpg Perception is everything. #
  • Am determined to answer every "why?" my son asks. Always seems to end up with me trying to explain the nature of existence. #

Twitter Weekly Updates for 2009-12-19 19Dec09

Filed under: Random

Twitter Weekly Updates for 2009-12-12 12Dec09

Filed under: Random

  • Struggling with the collective lie we tell our kids about father Christmas! #
  • 'Father Christmas' just reversed down our cul-de-sac, with a bunch of of middle aged men in reflective jackets collecting money in buckets. #
  • Letting the train take the strain for another swift mission to newcastle. Any suggestions while there? #

The Magic Number, Psychology and Website User Experience 07Dec09

Filed under: Random

This is the first post I have managed to type out in months, besides the regular amalgamations of various Twitterspheric streaming that this site has become. It must be because I’ve just read something that pushes my psychology / computer science / internet geek buttons just enough to warrant a little more rambling than the usual delicious tag or tweet. Jakob Nielson has published an article that cites the classic seven plus or minus two of short-term memory capacity (i.e. executive function) in the context of Website User Experience. Ooooh.

Twitter Weekly Updates for 2009-12-05 05Dec09

Filed under: Random

Twitter Weekly Updates for 2009-11-28 28Nov09

Filed under: Random

  • A week of great news @harvestdigital: Won that Newcastle pitch; Royal Shakespeare co = happy client; we're official google conversion pros #
  • Wow… A day full of good news. House stuff, work stuff, life and more all seeming to fit nicely into place. Something's up. What next? #
  • Newcastle for a pitch and back to Lewes in a day. Lots of train action #

Twitter Weekly Updates for 2009-11-14 14Nov09

Filed under: Random

  • At home today – 2 parcels delivered that I had forgotten about but not yet the one I've been waiting for… new #iphone w00t #

Twitter Weekly Updates for 2009-11-07 07Nov09

Filed under: Random

  • Things are cleaned up and back to normal in Lewes now – but my son still wants to wear his striped bonfire boy jumper again today. he he #
  • Lewes bonfire. Wont be druv. #
  • Badge night in lewes. Air full of misty bangs and anticipation. #
  • "Loose women" on day time TV is enough to make anyone get better quicker… overwhelming desire to shoot any middle aged women in the street #

Twitter Weekly Updates for 2009-10-31 31Oct09

Filed under: Random

  • Olympic kerfuffles begin already. Just biked past them setting up for hand over at buckingham palace. #
  • been playing with Google Wave for a couple of weeks now & still not convinced. Only having a handful of people to chat w prob not helping #

Twitter Weekly Updates for 2009-10-24 24Oct09

Filed under: Random

  • Blue skies, Apple Fest yesterday and a cracking bike ride today sees the last full weekend of BST '09 off with a glorious autumnal glow #

Twitter Weekly Updates for 2009-10-17 17Oct09

Filed under: Random

  • wow! check out that sunset… #
  • expecting non-stop boyzone to be played on jukebox at work tomorrow #

Twitter Weekly Updates for 2009-10-10 10Oct09

Filed under: Random

  • Thank you fellow harvest people for a refreshingly outdoors-y weekend away! The best one yet imho :-) #

Twitter Weekly Updates for 2009-09-26 26Sep09

Filed under: Random

  • Office move back into proper soho. Happy about that. #
  • RT @greg_a – Spot on: "Why front-end developers are so important to the future of businesses on the web" http://bit.ly/foR0 #
  • RT @monkchips open source is now dead on the web. Microsoft WebsiteSpark lets you use their stuff for free for 3 years- http://bit.ly/FvCVh #

Twitter Weekly Updates for 2009-09-05 05Sep09

Filed under: Random

  • bbc r4 – v gd #
  • Uke club at the george. Brilliant. #
  • Toasting the last of the summer with a pint (or two) of Harvey's best… #

Twitter Weekly Updates for 2009-08-29 29Aug09

Filed under: Random

  • My son and the sunshine means we're up in time to catch Adam & Joe, back from their hols. We are Black Squadron today. Oh yes. #
  • loving this @lewesnewschool! Changes – Lewes New School
    http://bit.ly/a4FL7
    #lewesnewschool #lewes #

Twitter Weekly Updates for 2009-08-22 22Aug09

Filed under: Random

  • Ok. Not totally unplugged – just seen a piece about the Lewes pound on al jazeera tv! #

Twitter Weekly Updates for 2009-08-15 15Aug09

Filed under: Random

  • Unplugging for the next four days… #
  • Right – who has Facefeed.com or Friendbook.com? Bah! I never properly got into FF anyway ;) http://bit.ly/ff_fb #
  • Collected Tamiflu for our boy this morning. But what's this? More media-led confabulation? http://news.bbc.co.uk/1/hi/health/8193012.stm #
  • Tamiflu collected. But thinking that possible side effects are worse than our boy's symptoms. Waiting… http://bit.ly/vDoSa #
  • According to the online test, piggy flu has come knocking on our house. Eek. Not much we can do at this time of night but wait i guess. #

Twitter Weekly Updates for 2009-08-08 08Aug09

Filed under: Random

  • hunter s thompson biog followed by goldie docu, on the train – i'm loving bbc iplayer downloads! #

Twitter Weekly Updates for 2009-08-01 01Aug09

Filed under: Random

  • Last year's Nunney Street Fayre looks rather different! http://bit.ly/cBjDO #
  • Another washout weekend in the west country :( Heading down to the Nunney Street Fayre for some wet bacon sarnies all the same! nunney.org #
  • Heading into the office after a great weekend at Camp Bestival. #

Twitter Weekly Updates for 2009-07-25 25Jul09

Filed under: Random

  • RT @willmcinnes Sussex, I fucking love your green bosomy hills and your horses and nature and shit. :) #

Twitter Weekly Updates for 2009-07-18 18Jul09

Filed under: Random

Twitter Weekly Updates for 2009-07-11 11Jul09

Filed under: Random

  • Real time images of the fire related events happening outside in Soho – http://picfog.com/search/soho #
  • I wondered why it was smelling of bonfires in the office here in soho – http://bit.ly/1QG1s
    – hope everyone's ok… #
  • A little bit of rain and chaos at victoria station. All entrances closed. Beer anyone? #

Twitter Weekly Updates for 2009-07-04 04Jul09

Filed under: Random

  • Loving the new Sustrans bike route mapping app – http://www.sustrans.org.uk/map. Nice one @rosiepoes! #
  • Beautiful bike ride across the #sussex downs last night. Surprised to see a young deer in a barley field as I climbed the hill from #lewes #

Twitter Weekly Updates for 2009-06-27 27Jun09

Filed under: Random

  • waiting for the onslaught of poor taste #mj jokes to start circulating the office today #
  • In wimbledon for a meeting. Tourists happily snapping pics of "centre court", the shopping centre… #
  • Waiting to see the fall out from http://fixoutlook.org/ when @msofficeus wakes up #

A thing called Phing 04Mar09

Filed under: Technology

Agile web app deployment with svn, rsynch, phing and more…

We are a small development team, at Harvest Digital, handling multiple tasks throughout the day, across different environments and projects. It makes for an exciting challenge. Our roles/ skills are clearly defined and our small size means we can react quickly to change, with little margin for communication errors and so on (see Getting Real and Less is more: Jumpstarting Productivity with Small Teams). But, when it comes to deploying to a staging or production server, I am ashamed to admit that we had often introduced a huge potential for human error by doing much of the work manually. Each project is different and so there is no consistent deployment process across the board.

Deployment is often the last step in the process to get any attention and it is one that can be unnecessarily tedious and prone to error. With more agile development projects, where deployments may be required several times a day, we obviously cannot afford the time nor the potential mistakes that may be made by manually deploying a project.

At its simplest level, deployment may just involve making sure that the target server (i.e. staging or production) has the latest revision of files from the project’s source control repository (we use SVN). But factor in tests and database migration and you can see how easily things can go wrong. Especially if you are deploying several times a day. You need to automate as many steps in the process as possible, thereby eliminating any manual tasks that introduce potential error and duplication.

Whenever we reach a point in a project where the code can be considered stable, we should tag it in SVN as a release. This gives you the ability to deploy a particular release based on its tag, instead of just the latest revision in the repository. By convention you never create revisions in the tag folder – tags are simply named snapshots of the source repository. We typically use version numbers as tags with some scheme based on feature-set or milestone and release date that can be ordered alpha-numerically e.g. “rel_belfast_2.04″. This allows us to say with certainty what is deployed at any one time, without having to scan logs etc. Tags give context to a release name (you can easily associate the release with project milestones) that revision numbers and timestamps do not. Tags are usually kept in a ‘tags’ subfolder, in the top level of the repository.

For a while now at Harvest, we’ve been working with symfony – an excellent PHP framework – that includes a few tools to help simplify the deployment process (such as Pake). These tools allow for remote syncronisation of files with rsync (the benefits of synchronisation over standard FTP are much touted elsewhere) via SSH (with the shell command: e.g. symfony sync staging) and semi-automate the build process (including database schema changes, data dumps etc: e.g. symfony propel-build-all myApp) by using Pake on the target machine.

But there is still a lot of room for improvement, particularly when it comes to database migrations and SVN integration. Plus, symfony is not our only set-up. We need an automated deployment process that can be applied across all our projects. This is where I’ve previously seen shell scripts being used but Phing can do much of this heavy lifting work for us, as it has many standard deployment tasks built-in to it. According to the Phing blurb:

Features include file transformations (e.g. token replacement, XSLT transformation, Smarty template transformations), file system operations, interactive build support, SQL execution, CVS operations, tools for creating PEAR packages, and much more.

Phing (PHing Is Not GNU make) is a project build system based on Apache Ant and is available through the PEAR installer. If you use --alldeps on Phing, it’ll grab, funnily enough, all the dependencies. But most are good packages (e.g. PHPUnit, PHPdoc and VersionControl_SVN). It can be used in a multitude of ways, including unit testing, creating docs, running SQL – which allows us to keep database schema changes in version control. The beauty of Phing is everything can be configured easily through the build.xml file (and then further with properties files) – so that the project’s deployment configuration can be kept in version control too.

In short, we love this thing called Phing!

For more detail on advanced tasks such as database migration take a look at these posts from Federico Cargnelutti and Dave Marshall.