Re: New package: Functional PHP
| From: | Lars Strojny | Date: | Fri, 10 Jun 2011 14:01:03 +0000 |
| Subject: | Re: New package: Functional PHP | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8351@lists.php.net to get a copy of this message | ||
Hi Pierre,
Am 10.06.11 15:53 schrieb "Pierre Joye" unter <pierre.php@gmail.com>:
>I like the concept :)
Thanks :)
>About the structure of the code. I'm not sure how to deal with package
>with a non standard source tree structure. I wonder if it could be
>better to put the exts in the root and keep the PHP code in
>subdirectories, doing so will avoid us the work to support every 2nd
>directory structure one would like to have (pecl website and automatic
>builds of extensions). It should also be possible to put only the
>config.* in the root.
I will use the weekend to think come up with a structure which allows
automatic build with „pecl install <ext>“.
>The 2nd possible is phpunit for the extension itself, would it be
>possible to implement the tests using phpt instead? No dependency,
>standard at php.net and easy to automate testing on our various
>platforms.
What I plan to do here is to have more verbose tests written with PHPT
(parameter parsing, reflection, etc.). As I’ve started with the userspace
implementation, PHPUnit was a natural choice and I would like to keep the
tests but add additional once for the C implementation written with PHPT.
With regards,
Lars