Re: Words_Numbers Package Proposal

From: Date: Mon, 24 Jan 2011 22:12:52 +0000
Subject: Re: Words_Numbers Package Proposal
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54020@lists.php.net to get a copy of this message
On Mon, Jan 24, 2011 at 11:21 AM, Matthew Fonda <matthewfonda@gmail.com> wrote: > > On Sun, Jan 23, 2011 at 9:29 AM, Kevin Wang <kevmo314@uchicago.edu> wrote: > > Hello, > > > > Recently, I found the Numbers_Words package which converts numbers to words, > > such as (153 => one hundred and fifty-three), and was inspired to write a > > package that did the opposite. > > > > I would like to release it as a PEAR package, but I don't have any > > experience in doing so and what the requirements are.  Could someone point > > me in the right direction?  My current code can be downloaded from > > http://kevmo314.com/words_numbers.zip and I would gladly > > take any > > suggestions or cases that my code doesn't handle correctly. > > Hi Kevin, > > I'd like to make a few suggestions: >  * Please have a look over the PEAR coding standards and make sure > your code conforms. >  * PHP5 should be used >  * Numbers_Words is designed to allow multiple languages--this would > be a good feature for your package as well. >  * You'll want to write some unit tests. See for example the tests for > Numbers_Words >  * I think it may be better to get in contact with the Numbers_Words > developers and see if you could integrate this functionality into the > existing package instead of creating an entirely new package for it. > > Best regards, > --Matthew Thank you Till and Matthew, I'll reevaluate my code to ensure it conforms with PEAR standards. I've created a Google Code repository for this project as well, but I will attempt to contact the developer of Numbers_Words and see if he would like to merge the two projects. Thanks, --Kevin

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