PHP Imagick extension on Windows

Imagick is very nice PHP extension which allow to create or modify images in simpler way than GD. One of disadvantage of this extension is lack of ready dll for Windows. You have to compile it by yourself. In place where I work, no one was able to compile it with success (and as I read some other blogs, it is common problem). So is there any other way to use this extension in project and be able to develop it on Windows? Yes! Czytaj dalej PHP Imagick extension on Windows

CakePHP auto-complete in NetBeans

Most annoying thing, while coding projects using CakePHP framework in NetBeans is lack of auto-complete feature for models and components in controllers. You can find some solutions that help avoid this problem like adding to each controller new variables and special phpDoc or adding @property to class phpDoc. In my opinion second option is easier, as it do not require to change code of class itself. So I could add manually this tags to each class. But as a programmer I’m lazy person. So I create this simple tool, which add necessary phpDoc properties to code of each controller, model, component and behavior.
Czytaj dalej CakePHP auto-complete in NetBeans