English Brazilian Portuguese

Facebook Manage Pages Changes

02/11/2010

Facebook have made yet another change in how Business Pages are edited. You still have to through the same few screens in order to reach the business page. Once you have logged onto the account click on manage pages and then select the appropriate page and once you have reached that page click on edit page under the Avatar picture and this will then lead you to the new Facebook screen. The layout...

Tags: Facebook How to...

Continue reading...

Multiple Inheritance in PHP - a workaround

27/08/2010

It is well known that PHP doesn't offer multiple inheritance, instead it provides interfaces. Altough the interfaces are something very good they can not fully replace the multiple inheritance. Of course some people voice opinions that if you need multiple inheritance then the design of the application is wrong - this will not be covered here. Instead we will investigate what are the...

Tags: How to... PHP 5.3 PHP General Tips and Tricks

Continue reading...

Mirror, mirror, on the wall… what is this Reflection for?

11/08/2010

In PHP 5.0 the Reflection extension was introduced. It is not kind of the usual extensions for manipulating or retreiving some sort of data, it is not adding support for a new protocol, it is something much more different and much more important (which is reflected in its documentation being placed under “Variables and Type Related Extensions“). This extension gives the possibility php code...

Tags: How to... PHP General

Continue reading...

Proper singleton implementation with php 5.3

27/07/2010

PHP 5.3 permits a proper singleton implementation. But before giving any examples using the new functionality provided by PHP 5.3 lets first explore our possiblities with PHP 5.2. This is a simple example of a singleton implementation: This example works but is far from being comfortable to use because for each singleton class you will have redundant code (the get_instance() method). It would be...

Tags: How to... PHP 5.3

Continue reading...