Posts about programming

  • WordPress expert Mark Howells-Mead

    I ruminate on the advantages and disadvantages of using the WordPress Interactivity API.

  • WordPress expert Mark Howells-Mead

    Using Context in WordPress’ implementation of React.

  • Letter size comparison by Alexander Andrews @ Unsplash

    There are three main options for setting the size of text in the web using CSS. The font size can be set in “pixels”, in “EM”s or in ”REM”s. It can be a little difficult to understand where the differences lie, and which unit of measurement is correct.

  • The user experience nicety of a legible date string.

  • Four years after writing that BEM syntax in CSS indicates weak coding principles, it’s time for a retraction.

  • A stripped-back, simple WordPress theme for my personal website, which I can begin extending as and when I have the time.

  • There are many copy-and-paste examples of how to write your own functions and apply them through WordPress’ hooks and actions. But with a little simple knowledge of PHP’s namespace syntax, developers who regularly work on WordPress projects can make their lives a lot easier, whilst making their code much more robust, portable and secure. The first thing to…

  • Eleven years later, and Interlaken Town Council are still using the website I built for them. It may not be programmed for optimal use on mobile devices, pre-dating the iPhone by three years, but it still works flawlessly.

  • Holy moly. What a discussion we’ve gotten into over on Twitter about CSS specificity, BEM, and inheritance. I wrote yesterday that the idea is flawed and tries to work around problems which aren’t actually problems at all, but part of the language of CSS. As Duncan noted: the problem is actually, “people write bad CSS”. Dirk from…

  • I came across the BEM (Block, Element, Modifier) technique for CSS coding today. On reading half a dozen basic introductions to the technique, I saw immediately that the concept is based on weak coding principles, not code simplicity and reusability.

  • You start off with an idea, progress it to a concept, make a design, fiddle with it for too long, then turn it into a working prototype. If all goes well, then you’re in for a couple more rounds of revisions and improvements, then the site gets filled with content and you launch the site.…

  • Can I Use…?

    The most useful website I’ve found to use over the past year for front-end web development is “Can I Use” by Alexis Deveria.

  • The term “responsive design” refers to the fact that a website is suitable for viewing on any device, from a smartphone to a super-sized t.v. screen. But is it actually important, nearly four years after the requirement became prevalent, that this term is still applied when selling a project to a client?

  • If you’re like me, a web developer, and programme responsive web layouts using @media queries, you’ll often get lost knowing precisely which set of rules are currently applied to the page. Here’s a handy tip to make things easier.

  • The Six Year Itch

    I have finally been able to completely re-build this website from the ground up, using responsive design principles and many new features. This first technical post summarizes the reasons behind the need for a new version.

  • I re-discover the web technology podcast “Big Web Show” and look forward to hearing all of the back episodes.

  • While my main hobby in my private life is photography, I earn my living through programming websites. Since moving to !frappant back in April last year – has it really been a year already?! – I’ve been striving to learn as many new techniques as possible. It’s been a particular goal to get out of…

  • Flexible by default

    One of the great things about being responsible for the technical direction of a team of developers is that you get to bring your ideas to a project and, in many instances, try out new techniques which would otherwise only be seen on a personal website or blog. I wrote at the beginning of the…

  • Re-programming my online portfolio using the most up-to-date techniques possible.

  • After two and a half years with the Burson-Marsteller Crossmedia team in Bern, I’ve decided to return to my roots as a programmer and technical developer and I’m moving across town to work for web agency !frappant from 1st April 2011.

  • My biggest work project in 2010 was the re-building of the wide network of websites for the Europe, Middle East and Africa region of Burson-Marsteller.