It’s here, Symfony 2.0 Beta1 is now available to download and play with. You can Download Symfony 2.0 Standard Edition beta1, a good place to start is the quick tour, or the book, both of which should give you a good push in the right direction on how this new version of Symfony fits together. Continue reading Symfony2: Beta1 available!
Tag: development
iTerm2 – now available in BETA
A few months back I wrote about iTerm2 – well it’s now in BETA and a lot more finished then it was back in January.
They have a new site now and it’s full of information about this improved version or the old iTerm.
iTerm2 – the new alternative to Terminal for Mac OS
Almost all command line users on Mac should be familiar with iTerm – which is a free replacement to the standard terminal application. However this tool now has a big brother in the pipeline called iTerm2.
iTerm2 is a fork of the original iTerm project and for most part, they are the same, but iTerm2 has a considerable number of improvements over it’s predecessor.
Continue reading iTerm2 – the new alternative to Terminal for Mac OS
Ignore whitespace in a Subversion diff
It’s a common problem developers face – how can I see just the changes that have been made and ignore all the line ending changes? This tends to happen when you have members of your team committing changes when they have checked out the code onto different operating systems, be it Windows, Mac of Linux.
svn diff doesn’t really have a built in option for ignoring whitespace, but gnu diff does, and it is possible to use it within an svn diff command by using –diff-cmd
Pure CSS Icons (animated 3D Super Mario and IE Logo)
This morning I discovered that Andreas Jacob had created a childhood classic in CSS3. He’s created a CSS3 version of Mario from the days of the NES and 8-bit gaming.
In most CSS3 capable browsers the image renders in 2D however in Chrome 9 the image renders in 3D and rotates. Which is very cool. For the best effect I’d recommend you view the source link below in the latest version of Chrome. Firefox 3.6, Opera 10.6 & IE9 are not supported.
Continue reading Pure CSS Icons (animated 3D Super Mario and IE Logo)
Adobe demo new tool which can convert Flash into HTML5
Adobe’s John Nack showed off a new tool at Adobe’s MAX 2010 conference this week which allows developers to convert Flash projects into a combination of HTML5 and non-Flash based code. There has been no official word if the tool will become part of the next Adobe publishing suite or toolset, but is this the end of Flash? It does appear that Adobe are turning to non-Flash based code for devices that cannot support Flash (such as Apple iPhone, iPad and iPod touch).
Continue reading Adobe demo new tool which can convert Flash into HTML5
How to add facebook like to an InVision forums template
Adding facebook like to an InVision forums template turned out to be very easy, but it did take me over an hour to work out how. As a result I thought it best to share this code sample to save others hours of google’ing for the answer or banging their head against the table for as long as I did.
Initially I thought it would be as easy to add a short block of PHP to a template file so I tried to use:
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']) ?>&layout=standard&show_faces=false&width=450&action=like&font=arial&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
Continue reading How to add facebook like to an InVision forums template
Easy ways to create a 301 redirect in code
Since my post the other day on A simple way to correct the hostname for your website I’ve been thinking about ways to do the same in other languages so I thought I should share my findings with you. I’ll only cover the most common web languages and methods, but if you think I’ve missed any out then add them in the comment section below for the benefit of others.
Continue reading Easy ways to create a 301 redirect in code
CSS2 and CSS3 Help Sheets (Liquidicity)
Last week I posted a Vi Help Sheet I discovered on Smashing Magazine by Liquidicity, and this week they’ve released one for CSS2 and CSS3. Both are worth downloading and using for reference in my opinion. They are again, very clear and easy to read. They do not cover all CSS properties, simply because there are too many to fit onto 2 A4 sheets, but then contain most of the important ones.
A simple way to correct the hostname for your website
There are several ways to force the correct hostname on a website. Normally this is done with mod_rewrite within the vhost or within the .htaccess file (if allowed). However there is a very simple way to do it with PHP. All you need to do is check that the value of $_SERVER[‘HTTP_HOST’] matches the domain name you want your site to work under.
Continue reading A simple way to correct the hostname for your website