Re: [Proposal Sortof] Tools and Utilities::backPort

From: Date: Sat, 28 Jun 2003 08:56:32 +0000
Subject: Re: [Proposal Sortof] Tools and Utilities::backPort
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17809@lists.php.net to get a copy of this message
"Davey" <davey@php.net> a écrit dans le message de news:20030628053827.47835.qmail@pb1.pair.com... > Hey, > > I am just testing (and ultimately, bug fixing) a small framework which > allows for maximum backwards compatibility and portability of PHP > scripts. I've written this for my article on the subject thats going > into PHP Magazine (issue 5, deadline on July 1st, need to finish up soon!) *WoW* :-) > > The reason for this e-mail (and the reason its [Proposal Sortof] is that > I don't know whether you feel it has a place in PEAR or not, so, a yay > or nay on that would be nice, and votes too :D Yup, +1 > > Its works basically by doing this: > > Register Function with the framework > Add Dependency for that function > Dependencys are resolved > If the dependency falls through, a failsafe is put in place, or an error > is issued (thats upto the user). Nice > > However, its not just limited to functions, it also allows for classes > and extensions. Very nice > > to see a small script using the framework visit this link: > http://its-explosive.net/~davey/PEAR/backport.test.phps > > And the class itself: > http://its-explosive.net/~davey/PEAR/backport.class.phps - yes, > it needs > more work to make it PEAR CS (which is what PHP Magazine demenads anyhow) > Code looks fine. > I have only included a Function test in the test script as I thats the > only part that I have fully tested, and that works. I am going to finish > testing the classes and extensions stuff now. :) Finish it ! > > - Davey > nicos

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