Generally when I use Zend_Config_Ini, I dump the whole thing to an array and save that array in session. Now, I also needed to be able to use constants in my INI file but Zend_Config_Ini does not seem to support this. I also worked with a JAVA team and decided to adopt their standard of [...]
So I need an array representation of a PHP object full of getter methods. I was too lazy to really go and build an array by typing all the protected properties out, so I opted for this little trick: $paging = array(); $reflection = new ReflectionClass($this); foreach ($reflection->getMethods(ReflectionMethod::IS_PUBLIC) as $method) { if (substr($method->name,0,3) == ‘get’) [...]
So after two weeks with the ipad, I’ve come across some surprises, and some frustrations that shouldn’t surprise me at all. First off, a bluetooth keyboard is a very valuable addition. I ordered a small keyboard from thinkgeek and, despite a few odd positions for some keys, it’s a great addition. It’s still a bit [...]
So, my Alienware m11 has started to fall apart, literally. The screen has started to come undone. Too bad because it was a nice laptop to travel with. Only 11in, and powerful. So I needed a new traveling computer and well. The iPad won. For what it’s capable of doing the price isnt terrible. Lightweight, [...]
