Zend Framework 2: Authentication + Acl using EventManager

This is a first try to implement Zend Authentication with Zend Acl under ZF2. I used the EventManager to catch the MVC preDispatch Event so that I can evaluate if the user has or not permission for the requested page.

[ad name=”Responsive Inline Post”]

Read more... (1912 words, estimated 7:39 mins reading time)

Git Over HTTP (git-http-backend)


I found really annoying that all Git guides I found talked about using Git over SSH, thats because I googled until I found that Git now comes with git-http-backend, which lets you to configure your webserver to serve git over HTTP/HTTPS.

[ad name=”Responsive Inline Post”]

Read more... (292 words, estimated 1:10 mins reading time)

SimpleXML vs XMLWriter vs DOM


I have done a little Performance test for the 3 different methods available in PHP for XML generation. For this test I wrote a little script which generates the same XML File using the different methods.

Read more... (376 words, 4 images, estimated 1:30 mins reading time)

Eclipse/ZendStudio custom username for Code Templates

At work we started using Zendstudio, as the installation on our Linux Boxes is global, we can’t edit the ZendStudio.ini, and the only way to specify our custom username for Code Templates is using the commandline arguments. The easiest way is to create a shell script to start ZendStudio:

Read more... (251 words, estimated 1:00 mins reading time)

Google +1 for Sharedaddy

Google published on 01 June the possibility to add Google +1 to your page, which is a great service to add to the existing sharing services.

Im using where to buy viagra online singapore, and I will not install another extra plugin to support Google +1 and the Sharedaddy option to add a custom service is not prepared for dynamic services like this one. That’s because I looked to integrate the service into Sharedaddy avoiding to change to much the plugin.

Read more... (985 words, estimated 3:56 mins reading time)