Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29347 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87747 invoked by uid 1010); 8 May 2007 18:59:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87732 invoked from network); 8 May 2007 18:59:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2007 18:59:40 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 207.210.105.50 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 207.210.105.50 analucia.asmallorange.com Received: from [207.210.105.50] ([207.210.105.50:45490] helo=analucia.asmallorange.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/9A-01189-898C0464 for ; Tue, 08 May 2007 14:59:37 -0400 Received: from c-24-20-30-252.hsd1.wa.comcast.net ([24.20.30.252]:65461 helo=[192.168.3.104]) by analucia.asmallorange.com with esmtpa (Exim 4.63) (envelope-from ) id 1HlUuM-0006Vi-5d; Tue, 08 May 2007 14:59:34 -0400 In-Reply-To: <8F6E78F4-9B53-43FA-8E7E-3460800F9AAD@wanderingknights.org> References: <97180F0D-CB4C-4071-A859-38059C0DD1FF@wanderingknights.org> <0DFF3A59-3419-4A25-B907-E0E71FD41360@wanderingknights.org> <462FD093.90402@zend.com> <462FDB7B.8000907@zend.com> <8F6E78F4-9B53-43FA-8E7E-3460800F9AAD@wanderingknights.org> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <4850AC0C-7268-4CE2-A192-771F459A2CB5@roshambo.org> Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Tue, 8 May 2007 11:59:18 -0700 To: Gwynne Raskind X-Mailer: Apple Mail (2.752.3) X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - analucia.asmallorange.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roshambo.org X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Documenting the Zend2 extension API From: philip@roshambo.org (Philip Olson) On May 5, 2007, at 6:47 PM, Gwynne Raskind wrote: > On Apr 25, 2007, at 6:51 PM, Antony Dovgal wrote: >>> I've been plugging around writing extensions long enough to have >>> some idea of the internals; more than once I've answered a >>> question by digging through the Zend sources for the internals >>> of some API. >> Great! >>> I'm willing to at least take a crack at this project; the worst >>> I can do is fail :). Would it make sense to ask for CVS karma on >>> the docs now or wait a bit? >> I believe the best way to get karma is to start sending patches. >> >> I would also recommend to establish the build environment for the >> docs (if you don't have one already), it's good idea to test >> patches before committing. >> This document should give you a good start: http://doc.php.net/php/ >> dochowto/index.php > > Hi all, just wanted to give you a heads-up that I'm still working > on this project; it took me awhile to get the tools properly set > up, but I'm plugging away at DocBook XML now, and I'll have a few > patches to send in soon, I think. Thanks for all the advice so far! Hello Gwynne, This is excellent news, and feel free to write the doc list if you have any questions and/or the IRC channels on efnet (#php.pecl and #php.doc). As far as information on the topic goes, let's start a list of the current landscape (with ideas to steal from): - The official docs: http://php.net/manual/internals - CodeGen_PECL: http://pear.php.net/package/codegen_pecl - A few tutorials: http://devzone.zend.com/public/view/tag/extension - The book: Extending and Embedding PHP by Sara Golemon - Many README files in php-src: http://cvs.php.net/viewvc.cgi/php-src/ - A few talks: http://talks.php.net/index.php/Internals - A nice talk: http://netevil.org/talks/furlong-golemon-extending- php.pdf - More talks: http://talks.somabo.de/ - A nice talk: http://talks.somabo.de/ 200610_zend_conf_php_extension_development.pdf - A few examples: http://people.apache.org/~nabeel/php/examples/ Also, let's create a FAQ section dedicated to the topic of extension writing. Regards, Philip