Frameworks
After trying to rewrite my code using design patterns till 4:20 a.m. I thought, that someone already might have built a working collection of classes to do the same thing. It’s important to understand...
View ArticleZend Tutorial
I’ve been trying to set up my directories on the production server yesterday. Meanwhile I came across Rob Allen’s Blog. It features a nice tutorial including database access and forms. Rob doesn’t...
View ArticleDebugging on local Apache with PhpED
I’ve been working with PhpED for quite some time, but now that I’m using the Zend Framework I reached the point, where the integrated server isn’t good enough anymore. The main concern was mod_rewrite....
View ArticleFactory Design Pattern
Design Patters part 1. I built these samples on PHP design patterns a while ago to make some friends write better code. They ignored it, so I give it to you. I hope they are self-explanatory. If not:...
View ArticleParameterized Factory Desing Pattern
The parameterized factory design pattern is an extension to the factory design pattern as you might have guessed, but here we can make the factory create different objects depending on the parameter...
View ArticleSingleton Design Pattern
Issue no. 3 on design patterns: The singleton pattern. Whenever we need a place to save and retrieve data throughout a script without using globals the singleton pattern comes in handy. It allows only...
View Articlefritz!box call monitor with node.js
After two years: A new post. Yay! The fritz!box has an integrated call monitor that can be activated by dialling #96*5* (and deactivated by #96*4* …). With just a few lines of code we can use node.js...
View Article