Re: new proposal : PHP_Debug

From: Date: Thu, 30 Jun 2005 10:43:25 +0000
Subject: Re: new proposal : PHP_Debug
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38386@lists.php.net to get a copy of this message
Bonjour loïc, Sorry to answer so late ... True, such a package could be very usefull. You're far from pear cs, but that should not be a problem so long you stay in draft. Some mixed "raw" general remarks : * the pckg optionnally includes a ref to phpmyadmin (only mySql ?), * I did not understood where it was used ... as I saw only the main class. I think that should better be 2 separates files. * I'm very doubtfull about the main connection between main class Debug and class DebugLine built on a global object. I think the class structure could cope with that using references. * also, if I want to debug some classes, the only way I can use is to create a global debug object. Some static method could do it ? * you are mixing the data with the html presentation, I'm not sure it's wide usable for other "outputs" , at least a plain output could be nice. Perhaps some XML or even separate the production and the rendering ? * I've the feeling you intersect with the Benchmark and PHPUnit packages. Some integration could be perhaps envisaged ... * More generally, such system is usefull but necessitates an heavy around coding for each package/class to debug. I'm personnaly orienting (or trying to) Benchmark toward more automatization/tools (see my proposal Benchmark_Resource) . But ok, it's uneasy to define and implement ... er... let me know if my english is too bad, je peux traduire ... à+ bertrand "toggg" Gugger Loïc Vernet wrote:
Hi everyone, I have posted a new proposal, it is about debbugging and i'd like to have some comments about it. It is here : --> http://pear.php.net/pepr/pepr-proposal-show.php?id=260


« previous php.pear.dev (#38386) next »