I just found an amazing article about how to protect your Zend Framework application from CSRF (Cross-Site Request Forgery) on Good Computing Tips. It’s not an article about CSRF in specific but in form handling using the Zend Framework in general. Nevertheless I found it worth to share. Furthermore on Good Computing Tips you’ll find a couple of tricks regarding the Zend Framework such as using Zend_Navigation.
Most of the modern web applications are based on OOP (Object Oriented Programming). On one hand this is a very nice concept, because it helps developers to structure the source code in a better way as well as to reuse developed fragments. On the other hand it can be the worst nightmare if developers don’t understand the concept of OOP at all. Extensive usage of instances for example can really slow an application down. Therefore man has developed the so called Singleton Pattern.
The Singleton Pattern ensures that only one instance of a specific class can be created. For example if you run an web application using an application controller. Every visitor should see the same results. Therefore it’s clever to use just one instance instead of a couple.
Since my study at the Hochschule Furtwangen University I’m using Eclipsse PDT. And what can I say? I really love it. But even within a fantastic IDE like Eclipse sometimes problems appear. Today I got such a problem. I was working on a PHP project and I was wondering why the auto complete function was not working. This article should answer the question “How to change default project into PHP project in Eclipse“.
A few day ago my colleague ask me to help him with a CSS problem. Even though he specified one element precisely the style definition takes no affect. I told him that CSS is based on a mathematical system. At the time I didn’t know that this underlaying layer is called CSS Specificity. Within this article I will take a closer look on that system.
As a developer is sometimes necessary to manipulate all (or respectively most) of the entries of a given array. Within this post I’ll explain the almight array_map function in detail.