[pLog-svn] Branch plog-1.1-ben - callgraph 1.1-ben

Oscar Renalias phunkphorce at gmail.com
Tue Apr 5 07:48:56 GMT 2005


I'm getting more and more convinced that php is not suitable for this
kind of heavily OOP-(over?)designed PHP apps. It runs ok but we keep
bumping into all this sort of issues that don't really leave a good
taste in your mouth... You try to design a nice API to make your
development easier and it turns out that spaghetti code will always
run much faster than your architecture. I mean, is really PHP/Zend
encouraging proper development techniques? Can't they really decrease
the penalty/overhead resulting from creating classes, calling parent
constructors and in general, making method calls? I really don't get
it.

On the other hand, let's see what we can do to fix it. Reorganizing
the includes is a first good step (though I would pay for an improved
"new" operator that loads classes dynamically based on something like
a CLASSPATH) and probably we'll have to find a few more tricks like
this. Also, how about giving up our nice hierarchy where everything
inherits from Object? We could remove that inheritance requirement and
only extend if really necessary. (only in cases like Action, or View,
etc) I am sure it would help.

I'm open to more ideas...

Oscar

On Apr 4, 2005 11:33 PM, Benjamin Krause <ork at orkland.de> wrote:
> and 1.1-ben
> 
> the percentages represent the percentages the parser needed to complete
> this part of the code :)
> 
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
> 
> 
>



More information about the pLog-svn mailing list