Re: Where to start?
| From: | Johannes Schlüter | Date: | Fri, 10 Feb 2012 16:42:09 +0000 |
| Subject: | Re: Where to start? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-9117@lists.php.net to get a copy of this message | ||
Hi,
On Tue, 2012-02-07 at 21:55 +0100, Ayoze Roberto Bernardo wrote:
> I've been reading this mail list for a time, and now I some ideas I want to
> develop as a PHP extension... could anybody please tell me a point to start
> developing one of them?
First thing is having an idea and some motivation :-)
for getting started, well there are different sources. first of all the
PHP source and looking at other PECL modules. Many functions in there
are quite trivial and learning the structure is quite useful as copying
from other extensions usually is a good way to solve issues.
But well, starting from source is a bit complicated, so you probably
need something to read. Resources I suggest are
http://php.net/internals2
Work in progress manual
http://talks.somabo.de/200903_montreal_php_extension_writing.pdf
Slides about extending PHP
Golemon, Sara: Extending and embedding PHP (ISBN 978-0672327049)
A book about this topic, from 5.2 times but still useful
Once you have more precise questions feel free to ask here or join
#php.pecl on EFnet IRC.
Hope that helps,
johannes