Jump to Content

Articles

Negotiating RSS Headers with PHP

By Rob Tuley, 15-Sep-2007

RSS feeds typically consume large amounts of bandwidth as they are frequently polled for new content. This can be reduced by examining the request headers, and only sending the feed contents when it has been updated.

Highlighting PHP Source Code

By Rob Tuley, 23-Aug-2007

How to highlight PHP source code listings in semantic XHTML. When generating source code listings for documentation or articles, the source needs to be converted to highlighted and formatted XHTML. This article shows how this can be accomplished using the PHP tokenizer functions.

Minding Your PHP P's and Q's

By Rob Tuley, 07-Aug-2007

A gentle nudge in the direction of writing well-presented PHP code. Why is convention important? And why are developers so pendantic about spaces and braces? We discuss the benefits of coding to a standard, and what that standard might be for PHP.

If there is an article subject that you would particularly like to see covered, feel free to make a suggestion.

Who we are

Openknot is the web design agency of Rob Tuley. We specialise in creating visually clean, dynamic sites with PHP and MySQL.

Find out more

Find out what we do. Browse our previous work. Take a closer look at who we are. Enjoy our articles. We hope you'll see we are passionate about our work.

Get in touch

Want us to work for you? Have a question about what we do?