Neil Young Blog

Every now and again we put together a Facebook tab to promote various campaigns across various countries around the world. With the introduction of Facebook's business manager we are starting to properly localise our applications so we can use one application that handles multiple localisations with one Facebook developer application. Facebook passes two pieces of data via its signed request that we can use to achieve this. The country that the page is being viewed from and the users language that they select with they initially sign up. This provides us with enough information to appropriately display content based on their region. When we localise tab applications we normally use an XML document to hold all the content on the page and links to images etc... This allows us to pass on the XML document to people in the office so that it can be populated with the locale content accordingly. Obviously this can be achieved in other ways such as localised through a PHP page or different localised database tables.

Posted on March 26, 2015

Slack is a collaboration tool that allows teams to work closely together. We setup Slack recently after it became apparent that we needed to deeply integrate the service into our work flow. It also has some great little tools for developers like creating text and code snippets. You can even create posts straight out of the entry box!

Posted on March 20, 2015

After working on many responsive websites at Substance it was always in my mind to rebuild my website with a responsive first mentality. An important part of responsive web design is making sure that you build from mobile up. This will allow you to be able to set the minimum css rules and build on those as you hit each break point on your website.

Posted on March 05, 2015

Recently I have had to build a leaderboard that uses one MySQL table to store a list of users and another MySQL table to store a list of competition entries and their scores for each week of a 6 week quiz.

Posted on August 22, 2012

There is a time when you are building your website that will need to track a users social share activity. Whether it be a Google Analytics event or you just want to be able to increment a count in your database.

Posted on August 14, 2012

I have been working on a project and came across a feature in my website that would need to take YouTube embed code or even a url and extract the video id for storage in a database.

Posted on May 25, 2012