tips

 

Client.Management. Development. Code

February 22nd, 2011

I worked in big environments as well as in small companies.  Management doesn’t care about code quality. They want it, but don’t really care about it. They care about respecting deadlines. There is nothing more to stay.
For once I want to see a client flexible (and with budget generous) enough  to trust a development team [...]

Read full article | No Comments »

Versioning. For lazy people.

January 26th, 2010

I am a pretty lazy guy and therefore I want to do all things with as little trouble as possible. Usually , I don’t plan a certain methodology for my projects, instead , I use an organic approach. If things are needed, they will be added to my ‘methodology’.
One of the most important issues [...]

Read full article | No Comments »

Using a decorator for caching purposes

November 18th, 2009

In my previous post I  gave some examples on  how caching can evolve.   However , what annoys  me in the  second and third approach is that I have some extra code and  dependencies  which are not really related to my class.  The examples bellow detail how you can use a decorator to cache another class.

class [...]

Read full article | 6 Comments »

Three simple php caching tehniques

November 10th, 2009

No talking . Just examples
class Foo
{
private static $_bar = null;

private function getBar()
{
if ( null == self::$_bar) {
//very expensive operation
[...]

Read full article | 4 Comments »