It has been long over due. For those of you who have been waiting, thank you. To any new users who find this, I hope you enjoy. I planned to include more features than those of which are being released, but in lieu of some bugs introduced with WordPress 3.3 which render the 1.x branch [...]
Object and Array Casting
A few days ago, I posted about some interesting behavior when casting arrays to objects. I would like to take a look at some other interesting behavior. Lets start be creating a basic class Test with three properties each with a different visibility. [code]class Test { private $foo; protected $bar; public $bat; public function __construct() [...]
Sinatra on Ubuntu 11.04
The following guide is non-authoritative and probably will not work for you. It is simply the commands I use to reproduce a particular environment: Ruby 1.8.7 with Gems 1.8.10 and Sinatra (using Thin). Before we get started, here is some information about my system: [code]ubuntu@domU-12-31-38-04-6D-D7:~$ uname -a Linux domU-12-31-38-04-6D-D7 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 [...]