Archive for March, 2008

Here is a good description how to use XDebug and PHPUnit to measure coverage of your codebase with unit-tests. In my case it gave me motivation to write more and even better tests in order to reach somewhere near 100% coverage. Visit Matthew Weier O’Phinney’s Blogpost and complete your test suites. My first shot looked [...]

You can not consider yourself a geek if you do presentations with PowerPoint! Here is a very nice alternative: S5 from Eric Meyer. Build slideshows in XHTML and CSS and then just simply double-click on index.html in your favorite browser to start it. It includes all basic features you need to present your stuff (basic [...]

Webcheck is a nice tool written in Python 2.4. Given a URL to a website it crawls the whole site and generates a nice HTML report. I use it to… … get the structure of a site. … check if a site would index well with search engines. … track down broken links. … list [...]

An introduction to the changes in PHP 5.3 by Ilia Alshanetsky. Check the slides: http://ilia.ws/files/phpquebec_php53.pdf

If profiling of applications is something you already heard of but never played with, here is what I learned from starting to dig into this topic: (1) Install XDebug (if dou do not already have it on your Dev-System). If not, please refert to the XDebug-Docs. The procedure is very well documented there. I used [...]

Linux and Open-Source news. http://www.linuxbasement.com

When you do a lot of concentrated work (if you are privileged to be in an environment where this is possible), it is good to do something completely different at times. I discovered that when I switch my mindset to someting else more relaxing like leafing through impesssing images, some of the previously unanswered questions [...]

grep -R “<rec_lang>de<\/rec_lang>” /var/repository/000/023/* Show all files that contain a the string <rec_lang>de</rec_lang> find . -name ‘*.php’ | xargs perl -pi -e ‘s/this->type/this->beanType/g’ Find the string ‘this->type’ and replace it with ‘this->beanType’ in all *.php-files in and under the current working directory. Thanks to Darren and Reto!

“37signals used the unconventional Getting Real process to launch five successful web-based applications (Basecamp, Campfire, Backpack, Writeboard, Ta-da List), and Ruby on Rails, an open-source web application framework, in just two years with no funding, no debt, and only 7 people.” From the book you learn how they are working. Make also sure to check [...]

Here is a nice idea to present yourself as freelancer: http://www.vermeersch.ca (click ‘Explore’)

Nice real-life code metric: “WTFs per minute”: Found on http://www.osnews.com/comics