A print stylesheet formats a web page so when printed, it automatically prints in a user-friendly format. Print stylesheets have been around for a number of years and have been written about a lot. Yet so few websites implement them, meaning we’re left with web pages that frustratingly don’t properly print on to paper.
January 2008
There’s always a bridge between textbook knowledge of programming – syntax, procedure etc. – and the real world knowledge that you get from actually developing real applications. Here are five things every PHP developer should be familiar with before they begin developing web applications in PHP. 1. Frameworks Frameworks are arguably one of the most [...]
Code reuse: a great boon for web development. With large repositories of PHP code out there, from snippet archives to class databases, PHP is arguably one of the best languages when it comes to existing reusable code. Of course, it isn’t nearly that simple. Everyone writes code differently; different naming conventions, different approaches to achieving [...]
Opening documents such as PDFs in a new window should be automated using JavaScript for the following reasons. Users will often close the web browser when a PDF is opened, mistakenly believing the document has been opened in Adobe Reader, the attribute historically used to open a new window, target, has been removed from the HTML 4.01 Strict specification (it’s now deprecated), opening a new window is a behaviour and should be moved to the behavioural layer.
For 2008 we decided we would aim to be more helpful and more useful than ever. One of the things we decided on was adding a blog covering not only coding and design but other important webmaster related topics. So without further ado we welcome you to the Developer Tutorials Webmaster Blog and look forward [...]

Web development is a world of rapid code modifications, instant deployment and immediate updates. Of course, maintaining the product of this web development can be as hectic as the web development is agile; with manual backups, quick database edits and tedious data migration and re-entry. In this tutorial, I’ll show you how to use PHP-CLI, the command line interface for PHP, to get your maintenance under control using the technologies you’re already familiar with. By the time you’ve finished this tutorial, you’ll be able to build human-assisted backup systems, automatic report generators.

MySQL provides a built-in data replication functionality for maintaining identical copies of its data to one or more backend servers, thus providing a simple High Availability mechanism. On the other hand, the Open Source community has several projects to implement failover techniques, being one of them Heartbeat.



