Categories
Programming & Web Development

HTML5 boilerplate for sectioning tags

I’ve seen a lot of confusion on the use of the new HTML5 sectioning tags <article> <section>, <nav>, <aside> and the role left for the old <div> element we used often in previous versions of HTML specifications. After reviewing the documentation and consulting several examples of usage, a basic practical skeleton for an HTML5 document […]

Categories
GNU/Linux Free Software & Open Source Programming & Web Development

10 PHP code quality tools to avoid a mess in your projects

When programming in any language there are certain common errors that everyone makes as they mature and evolve their programming skills. In the case of PHP, I’ve seen a lot of ugly and complicated code around, since the language is very permissive. To have a good and healthy PHP code base so it won’t resemble […]

Categories
GNU/Linux Free Software & Open Source Programming & Web Development

How to test your website on Internet Explorer with GNU/Linux and Virtualbox

As a web developer, you are always required to test your website code on Internet Explorer. And everyone knows how much of a pain that alone can be. But for GNU/Linux-only users the fun starts even before taking a look at your code on IE. The trouble starts with how are you going to run […]

Categories
GNU/Linux Free Software & Open Source Programming & Web Development

CSS3 columns in Internet Explorer and other unsupported browsers

Recently I’ve been working on a project for a client that makes use of CSS3 columns in its layout design. The problem with CSS3 columns is that it’s not supported by any stable version of Internet Explorer so far (surprised? no? good!). At the time of this writing IE9 is the latest version. Luckily there’s […]

Categories
Emacs GNU/Linux Free Software & Open Source Programming & Web Development

Easy CSS editing with Emacs

Editing CSS in Emacs is very easy since the standard CSS mode comes included by default. But developer Julien Danjou created this nice minor mode called rainbow-mode which will display the color of the code as the background of the code’s text. It is very useful to immediately see the colors right there in the […]

Categories
Bookmarks Programming & Web Development

From my reading links: HTML5 forms and Django, Google API playground and Python development tips

Making Forms fabulous with html5 Great introduction to the new HTML5 form input types and what you can do with them. HTML5 – Example Form validation and styling Form elements With the new HTML5 form input types and CSS3 properties, form validation is very quick and easy, as well as nice form element presentation. Head […]