Deploy websites using Git – the easy way

May 6, 2011
Thumbnail image for Deploy websites using Git – the easy way

After hours of playing around with ssh, sudo, user permissions etc. trying to deploy a PHP website from a Github repository, the best solution I could find was to not use Github at all. I am a big fan of Git and Github, but automatically deploying a website from a Github repository was very fiddly [...]

How to setup PayPal Express Checkout with SilverStripe

May 3, 2011
Thumbnail image for How to setup PayPal Express Checkout with SilverStripe

The SilverStripe Payment module is really handy, its useful to have a payment module completely separate from ecommerce because it gives you so much freedom. The Payment-Test module is an ideal example of this. I used Payment-Test to create a basic booking system for instance, its a really good example of how to hook up [...]

Interesting Video – HTML5, CSS3 and Browser Performance

April 25, 2011
Thumbnail image for Interesting Video – HTML5, CSS3 and Browser Performance

Just an interesting video about Javascript, HTML5, CSS3 and browser performance. I’m not sure where to find the slides and the links used in the slides etc. but the authors personal blog is loaded with lots of other useful front-end development info.

Pear, PHPUnit, MAMP and SilverStripe Unit Testing

April 20, 2011
Thumbnail image for Pear, PHPUnit, MAMP and SilverStripe Unit Testing

Installing PHPUnit using Pear on Mac OSX was such a process I have to write it down. If you want to get started with unit testing in SilverStripe you need PHPUnit installed. Installing Pear and PHPUnit If you have MAMP installed on Mac OSX 10.6, you probably have Pear installed already and just need to [...]

Submit SilverStripe User Forms via AJAX

March 6, 2011
Thumbnail image for Submit SilverStripe User Forms via AJAX

The User Forms SilverStripe module is super useful for creating forms. I often use it for contact page forms, recently I wanted to submit a contact form via AJAX which is pretty straight forward using SilverStripe’s extension class. Install User Forms module I won’t go through this process in detail, you download the module and [...]

A better way to add google maps to SilverStripe pages

January 28, 2011
Thumbnail image for A better way to add google maps to SilverStripe pages

Previously I had written a post about the method used to add a Google maps button to tinyMCE in SilverStripe. Its a fairly long winded process, a much better way is the neat little SilverStripe Addressable module. Created by the same team behind the memberships module, Addressable is similarly nicely written and straight forward to [...]

Add google maps to pages in SilverStripe

October 27, 2010
Thumbnail image for Add google maps to pages in SilverStripe

UPDATE: A better method of adding a google map to a page in SilverStripe can be found here. Adding google maps to a site using the SilverStripe CMS can be tricky, I often find that just adding the HTML for the google map iframe to a page does not work well – most of the [...]

SilverStripe Membership Module Tutorial

October 12, 2010
Thumbnail image for SilverStripe Membership Module Tutorial

This SilverStripe Membership Module by ajshort is one of the most useful and solid modules I’ve used on a SilverStripe install. Strangely this module is not listed on SilverStripe.org’s collection of modules, I stumbled upon it after performing a search for “SilverStripe Membership Module” and coming across a forum post where the github repository for [...]

Compare versions of a file in git

September 28, 2010
Thumbnail image for Compare versions of a file in git

Super quick tip because I’m always forgetting – if you want to compare an older version of a file with the most recent version in your git repository:

12 useful firefox plugins for web developers

September 24, 2010
Thumbnail image for 12 useful firefox plugins for web developers

Every day I use plugins to help me work, here are a dozen firefox plugins that I have found to be most useful. Some are indirectly related to web development but all of them have improved my development experience and are the main reason why I still do most of my development on firefox. Most [...]