new C and PEAR extension for php (php-gmime)
| From: | Piotr Klaban | Date: | Mon, 17 Dec 2001 14:23:05 +0000 |
| Subject: | new C and PEAR extension for php (php-gmime) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-3505@lists.php.net to get a copy of this message | ||
I have created new php module - php-gmime.
It is binding for C gmime library with PEAR classes:
GMIME_message, GMIME_part etc. - MIME parsing, creation etc.
Such a module is necessary for any PHP MUA, and
when someone wants to create a mail with attachments easily.
BUT:
I have written perl modules before, but
it is my first php extension - I am sure I have done
many mistakes. Then I need some advice - from where to start.
My module is ready for use but in BETA stage.
RPM builds and sources are available at:
http://www.klaban.torun.pl/prog/gmime/
(page under construction).
And I have questions for now:
1. I have seen there is some kind of packaging system
- is there any reliable documentation on using it? Should I use it?
2. What name should my extension use?
The C library is called gmime (http://spruce.sourceforge.org/gmime/)
PHP module is then also called gmime.so,
and PEAR classes are called as stated above GMIME_*
3. What type of documentation should I use? There is
xmldoc like documentation now. I used phpdoc
inline comments, should I convert it or not?
My perl module is called MIME::Fast (would be
available on CPAN), but now I know
that it would be available as
Mail::Box::Parser::Gmime or something like that.
Should my php extension be available also as
submodule of PEAR Mail or something like similar?
Best regards,
--
Piotr Klaban