Archive > Category > Code
XHTML, CSS, PHP pure and other code related subjects are filed in here.
I am on a mission to get to grips with using the Zend Framework for building web applications. At MOO, the Zend Framework is used in it’s more toolkit-like component library capacity and I’m also pretty familiar with its structure from previous work with Magento (although that always seemed to over-complicate it). Using it as a full stack framework however, is a different challenge all together.
Having to include an entire PHP OAuth library every time I want to make a simple API request for some of my own data from a 3rd party app like Twitter really pisses me off. Perhaps this is unreasonable, but it’s a problem I ran into for the 4th or 5th time today when trying to help John O’Nolan fetch his status count for his blog.
Last year I published two parts of a three part tutorial (doh) on the YUI2 Carousel Widget. Since that time, a new couple of new versions of the YUI2: Carousel widget have been released, and it seems my examples do not work with the updated code. This post covers the issues, the reasons why they occur and how to resolve them.
Have you ever tried to parse, process or preg_replace some HTML? Ever tried to do it when the HTML is UTF-8 encoded? Getting rid of white space can be tricky, here’s a few tricks I’ve learned.
Yesterday I finally got around to sitting down with the Canvas and Processing.js tutorial in last month’s issue of .Net Magazine (Issue 202, page 82). I’ve been wanting to play with Canvas since the HTML5 special of the ExplicitWeb podcast we did back in March (subtle plug) and this tutorial seemed like a good way of getting started.
Welcome to Part 2 of my YUI Carousel series. If you haven’t read it, Part 1 is here. Part 2 uses class names to setup multiple carousel instances, and also drops the YUI CSS in favour of writing your own custom css. The final Part 3 will show you how to write your own completely custom navigation for the carousel.