Monthly Archives for January 2010

A case for table-based design - Evert Pot

"A topic that has been beaten to death."

Standards advocates have been largely against the use of the <table> tag. The idea is that it's used for positioning and design, while it really should only be used for real tabular data. html should be a document with semantic data, and not contain any presentation information.

So the response is that all kinds of new techniques are devised to easily make stretchable designs. I just got handed a template that uses one of these techniques, along with a couple of others. Here's a snippet:

I can't say I blame the author of this code. He's always been told <table>'s are evil, and I have no doubts many 'experts' will suggest techniques like this.

There's no doubt this could be made much simpler even without using the <table>, but there's no way we can expect every junior frontend developer to memorize "1001 css hacks to make divs behave as a table".

The truth is, very little html documents are parsed by anything else but browsers and search engines. If an application's data is also consumed by other clients it will almost always be done through some kind of API or standard xml/json document. Even if html was used as a transport format, it will most likely be a specialized format.

Keeping html pure for data and CSS for presentation is a bit of a pipedream that never worked out. Even if you look at a relatively simple application such as Wordpress, every theme will have it's own html template, and not just a separate css stylesheet.

The point of my story is: html is read by browsers and developers. If you can make a brilliant html document and still keep pixel precision more power to you, but please keep things legible for the future developer that might need to fix a bug.

The upshot

CSS3 has support for multiple backgrounds, which will eliminate the need a lot of these problems. Safari has already supported this for a while, and Firefox will get it with the 3.6 release, and opera in 10.5. This leaves the browser that shall not be named.

Community News: Dutch PHP Conference Call for Papers Announced

For those wanting to submit their ideas to for this year's Dutch PHP Conference, you'd better hurry! Their Call for Papers has officially opened and will close at the end of the month, January 31st 2010.

Good news! The Call for Papers for DPC (Dutch PHP Conference) 2010 is now open! [...] This year we're excited about many different topics, perhaps the best way to describe it is to say that if its related to PHP and you are excited about, then we want to hear it! It doesn't matter who you are, this event is all about the technologies. DPC has an established reputation as the best place to expand a developer's skill set and improve existing practice and that remains our focus for this year.

TO submit your ideas, stop off at their Call for Papers page and submit your contact information and the abstract for your talk!

Homo Universalis – You ARE Jack of all Trades

Through a story from the 15th century, this article tries to show “Jack of all Trades” in a different light – in the light of humanism and renaissance, Leonardo da Vinci and Michaelangelo Buonarotti and how it reflects to present.

Visit Source.