A few days ago I started the development of a new version of my CMS. In that case I also wrote an article about Test Driven Development (TDD) with the Zend Framework. But TDD is another topic. Today I’ll take a closer look on a special technique called “Nested Sets“. Nested sets are used to manage hierarchical data. Instead of walking through the results of a database in an recursive way nested sets providing the possibility to avoid recursive calls. Therefore the response time of an application can be increased extremely by using nested sets.
The journey can begin … yes, I’m starting test driven development using Zend Framework 1.10. I’m already a little advance with PHPUnit. With the Zend Framework I’m more experienced. While I was studying OnlineMedien at the Hochschule Furtwangen University I already taught my fellow students using the Zend Framework. At university I developed a tiny guest book to show the participants of my course how to use the Zend Framework.
Read the rest of this entry
A few days ago I need to compare two parts of one file. I know that a couple of applications provide split screen functionality. Because I’m working with Eclipse PDT I took a look at the net to find out how the split screen function in Eclipse PDT works. I was very surprised to read that this functionality is not provided. After two days being annoyed about that missing feature today I start my own research. And I was surprised to see that Eclipse PDT provides that functionality! Therefore here you’ll find a tutorial how to use the split screen functionality in Eclipse PDT.
One of my past mentors once said: “A fool with a tool, is still a fool!” No doubt, he’s right. Nevertheless, tools can simplify the life of a developer. At present I work on a project where I need to check host names. Concrete: I have to check whether the user provided a host name with or without the prefix http://.
A couple of days ago I started using PHPUnit. Even though I wrote a very small test case I guess I can image the strength of PHPUnit. Since month I’m planing to start unit testing my applications. I tried to install PHPUnit several times without any success. A few days ago I try it another time. And I was very surprised to see how easily it can be installed. I really have no idea what causes my problem during installing PHPUnit. Happily everything works fine now.