Re: Image_QRCode package
| From: | till | Date: | Sat, 02 Jan 2010 10:11:48 +0000 |
| Subject: | Re: Image_QRCode package | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53183@lists.php.net to get a copy of this message | ||
Hey,
On Thu, Dec 31, 2009 at 4:05 AM, Michael Gauthier <mike@silverorange.com> wrote:
> On Tue, 2009-12-29 at 14:08 +0000, Rich Sage wrote:
>> Hi all,
>>
>> Re. Image_QRCode package proposal - the vote result indicated the package
>> was accepted, but I'm aware that there were a couple of conditional votes
>> based on adding tests and some refactoring. I've now added some tests and
>> refactored the main method in the class, but I'd like to get "approval" from
>> pear-dev before I proceed with the process of adding the package to PEAR..
>>
>> The code, as per the original proposal, is at
>> http://code.google.com/p/pearqrcode - I'd be grateful
>> if any of you had some
>> time to just review this before I continue!
>>
> Hi Rich,
>
> Sorry I didn't have time to review the code earlier during the vote.
> I've had a look over your revised version and it looks good to me.
> You've addressed pretty much all of the conditions requested by Till and
> Bill.
+1 ;-)
> Changing the set*() methods to return $this as suggested by Till would
> still be nice, but for now I'd say go ahead and create the proper PEAR
> package. You've certainly shown that you considered and understood the
> feedback during the voting process.
>
> Cheers,
>
>
> Mike
Yeah, fluent interfaces allow you to do funky stuff like:
$image = new Image_QRCode;
$image->setFoo('foo')->setBar('bar')->setFoobar('foobar');
But of course, I agree with Mike!
Great contribution, Rich!
Happy new year,
Till