The Definitive Guide to HTML5 Video

Aside

In the same series as Pro HTML 5 Programming review and related to The Essential Guide to HTML5 I will also be reviewing: The Definitive Guide to HTML5 Video.

The Definitive Guide to HTML5 Video is the first authoritative book on HTML5 Video, the new web standard that allows browsers to support audio and video elements natively.

You can expect a review of this book this month, on my website.

Time for uniform CSS3

Aside

When you are using CSS 3 you already know that most of the time you need to use settings in triplo (three times) or sometimes even four times!!!
With this I mean special codes for Firefox, Opera, Chrome and Safari/IE9.

I have included a little piece of code to illutrate;

-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;

This bit is compatible with all 5 browsers and needs 3 lines of the same thing!
There are tags around which you have to specify four times.

I think its time to stick to the standards.
Then my example above will look a bit shorter;

border-radius: 1px;

Why would you program everything multiple times? We all have better stuff to do. Like introducing more coffee breaks a day to celebrate that your working efficiencient. Why bother with things like CDN and minification if you still have to write good code multiple times.

I have found my WordPress Theme Framework

Aside

After playing with some WordPress theme frameworks I have found my match.

I tested the following frameworks:

But none of these compared to the easiness and beauty (as developer) as Studiopress` Genesis Framework.

I have developed a new theme in less than an hour, whereas it would be impossible with K2 and took me several hours in Thematic.
I will show you the theme soon, I hope.

How-to setup Fedora 13 as LAMP server

Aside

This short guide demonstrates how to setup Fedora 13 as a LAMP server containing Apache, PHP, Perl, Python, Ruby and MySQL.

yum install httpd
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-shout php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
yum install mysql mysql-devel mysql-server
yum install httpd-devel ruby ruby-devel
yum install mod_python
yum install mod_perl
yum install perl-HTML-Parser perl-DBI perl-Net-DNS perl-Digest-SHA1 perl-ExtUtils-AutoInstall perl-NetAddr-IP perl-Archive-Tar
/etc/init.d/httpd restart

Now you have got everything installed except for mod_ruby;

cd /tmp
wget http://modruby.net/archive/mod_ruby-1.3.0.tar.gz
tar zxvf mod_ruby-1.3.0.tar.gz
cd mod_ruby-1.3.0/
./configure.rb --with-apr-includes=/usr/include/apr-1
make
make install

/etc/init.d/httpd restart

You have to add mod_ruby by hand in /etc/httpd/conf.d/ruby.conf
By adding

LoadModule ruby_module modules/mod_ruby.so

Gallery2 performance boost

Aside

I had to convert a Gallery v1.5 photoalbum containing over 250 sub-albums and over 10.000 photo`s to Gallery 2.

While converting I noticed several thing`s weren`t going according to plan.

I added the following lines to the .htaccess file to make things run smooth;

php_value max_execution_time 0
php_value post_max_size 32M
php_value upload_max_filesize 32M
php_value memory_limit 64M

Within Gallery 2 changes the following settings:

  • Graphics Toolkits: GD
  • Performance: Max Acceleration

I also disabled thumbnail generating at import; I will do it at the end when everything is converted.