Month: November 2009

  • Clean URLs in PHP Yii Framework

    Here is a quick tip to save some trouble. The goal here is to get clean urls like http://localhost/site/test/5 or http://localhost/site/contact without having a query string variable and also not having the filename index.php show up. My configuration: EasyPHP (apache/php/mysql combo for windows) Yii PHP framework In the Yii main.php configuration file you need: Inside…

  • Setting Up Netbeans and Ruby

    I’ve been considering some development with Ruby and Rails. As I’ve used the Netbeans IDE before and liked it, I downloaded the Ruby version to give it a try. The main benefit here is that you can do a lot of things without the console. I can add models, scaffolds, migrate databases, and such with…