You are here:
Google Android - Little green man Google Android - Little green man

ColdFusion 8 with PHP and Ruby

yes you are reading this correctly!!

Remember the grief us ColdFusion guys always get from the PHP world about PHP being all things great and marvellous. Well PHP people we have an answer ColdFusion 8 will now allow you to run PHP functions and Ruby inside a CF template.

How is this possible?

ColdFusion 8 uses Java 6 which is turn has access to the javax.script package. Using a tool called Quercus (a Java port of PHP) you can then run PHP code inside a custom ColdFusion tag. Have a look at this post over at Sean Corfield’s Blog.