cvs: pearweb /weeklynews 20030202.en.html 20030202.fr.html
| From: | Arnaud Limbourg | Date: | Sun, 02 Feb 2003 17:37:55 +0000 |
| Subject: | cvs: pearweb /weeklynews 20030202.en.html 20030202.fr.html | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8687@lists.php.net to get a copy of this message | ||
arnaud Sun Feb 2 12:37:55 2003 EDT
Added files:
/pearweb/weeklynews 20030202.fr.html
Modified files:
/pearweb/weeklynews 20030202.en.html
Log:
* sync to en
Index: pearweb/weeklynews/20030202.en.html diff -u pearweb/weeklynews/20030202.en.html:1.6 pearweb/weeklynews/20030202.en.html:1.7 --- pearweb/weeklynews/20030202.en.html:1.6 Sun Feb 2 06:22:13 2003 +++ pearweb/weeklynews/20030202.en.html Sun Feb 2 12:37:55 2003 @@ -1,5 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<!-- $Id: 20030202.en.html,v 1.6 2003/02/02 11:22:13 tuupola Exp $ --> +<!-- $Id: 20030202.en.html,v 1.7 2003/02/02 17:37:55 arnaud Exp $ --> <html> <head> <title>x</title> @@ -8,152 +8,151 @@ <p> <i> <small> - by - <a href="http://www.appelsiini.net/~tuupola/">Mika Tuupola</a> (tuupola@appelsiini.net), + by + <a href="http://www.appelsiini.net/~tuupola/">Mika Tuupola</a> (tuupola@appelsiini.net), <a href="http://pear.php.net/account-info.php?handle=pajoye">Pierre-Alain Joye</a> (paj@pearfr.org) </small> </i> </p> <p> -<p> - Starting this week, we introduce a new "Package of the week" section - in the PEAR weekly news. This week focuses on APD from + Starting this week, we introduce a new "Package of the week" section + in the PEAR weekly news. This week focuses on APD from <a href="http://pear.php.net/account-info.php?handle=gschlossnagle">George Schlossnagle</a>, a full-featured profiler/debugger. </p> <p> It has been a moderately quiet week in the mailinglists. Consequently - there has been more CVS traffic and more releases than usual. As a + there has been more CVS traffic and more releases than usual. As a time of writing total number of new PEAR releases this week is 14. </p> <p> This weeks news include details on <a href="#3">error handling</a> in - constructors, new <a href="#4">phpDocumentor features</a>, + constructors, new <a href="#4">phpDocumentor features</a>, another <a href="#2">Mac OS X tutorial</a> and <a href="#5">seven new proposed packages</a>. </p> -<hr> +<hr /> <!-- SECTION --><a name="1"></a> <h2>Package of the week</h2> <h3>George Schlossnagle's APD, a fullfeatured profiler/debugger</h3> <h3>Who's George Schlossnagle ?</h3> <p> - George started working on UNIX systems 12 years ago, writing numerical - partial-differential analysis routines in FORTRAN. He started playing - with the web 8 years ago and has been doing it professionally for 5 - years. He is currently a principal consultant at <a href="http://www.omniti.com/">OmniTI Computer - Consulting</a>, a technology consulting firm + George started working on UNIX systems 12 years ago, writing numerical + partial-differential analysis routines in FORTRAN. He started playing + with the web 8 years ago and has been doing it professionally for 5 + years. He is currently a principal consultant at <a href="http://www.omniti.com/">OmniTI Computer + Consulting</a>, a technology consulting firm specializing in building and managing scalable web and email systems. </p> <h3>What is the pros/cons of publishing your work under PEAR/PECL ?</h3> <p> - I think my only regret about publishing apd under PECL is that I didn't - do so sooner. From a code/version management standpoint I working in - PECL is equivalent to working on a locally manged project. The PEAR - release management system makes rolling and pushing a new version - incredibly simple. Also I see are increased visibility and interest - from the PHP community. Finding out that apd installed cleanly under - 4.3 via the PEAR installer (with no effort from me to make it do so), + I think my only regret about publishing apd under PECL is that I didn't + do so sooner. From a code/version management standpoint I working in + PECL is equivalent to working on a locally manged project. The PEAR + release management system makes rolling and pushing a new version + incredibly simple. Also I see are increased visibility and interest + from the PHP community. Finding out that apd installed cleanly under + 4.3 via the PEAR installer (with no effort from me to make it do so), was very cool. </p> <h3>What do you hope for the future of PEAR/PECL ?</h3> <p> - I think PEAR and PECL are the future of php extension and package - management. By decoupling PHP versions from extension versions, we can - hopefully increase the speed, quality and frequency of PHP releases. I - would personally like to see an increase use of unit testing in PEAR - and PECL packages (my own packages being incredibly in need of this) - Adding unit tests should make refactoring easy and reduce developers - hesitation to improve other extensions/packages for fear of - unintentionally breaking things. As unit testing in the php build - process continues to mature and more extensions are moved into PECL, I - hope to see an improvement in cross-version compatibility for many + I think PEAR and PECL are the future of php extension and package + management. By decoupling PHP versions from extension versions, we can + hopefully increase the speed, quality and frequency of PHP releases. I + would personally like to see an increase use of unit testing in PEAR + and PECL packages (my own packages being incredibly in need of this) + Adding unit tests should make refactoring easy and reduce developers + hesitation to improve other extensions/packages for fear of + unintentionally breaking things. As unit testing in the php build + process continues to mature and more extensions are moved into PECL, I + hope to see an improvement in cross-version compatibility for many PECL'd extensions. </p> <h3>APD, can you describe this package ?</h3> <p> - apd is a zend_extension which adds profiling and debugging abilities to - the Zend Engine. apd had humble beginnings. My former colleague Dan - Cowgill was very frustrated with the lack of full backtrace capability - (this was back in 4.1 days, well before debug_backtrace() was - available.) After the backtrace capabilities where added, it became - obvious that the engine we developed provided a excellent interface to + apd is a zend_extension which adds profiling and debugging abilities to + the Zend Engine. apd had humble beginnings. My former colleague Dan + Cowgill was very frustrated with the lack of full backtrace capability + (this was back in 4.1 days, well before debug_backtrace() was + available.) After the backtrace capabilities where added, it became + obvious that the engine we developed provided a excellent interface to generate profiling information for scripts. </p> <p> - This profiling ability was incredibly valuable to the work I was doing - at that time, which involved performance tuning the production - environment for some sites with a million-line code base. Without - profiling capabilities tuning scripts was largely a matter of guess - work. With the pre-0.1 version of apd running, we were able to get + This profiling ability was incredibly valuable to the work I was doing + at that time, which involved performance tuning the production + environment for some sites with a million-line code base. Without + profiling capabilities tuning scripts was largely a matter of guess + work. With the pre-0.1 version of apd running, we were able to get 500% performance gains on a number of pages within a day. </p> <p> - Early after the initial release, Thies Arntzen made a feature request - that the profile information not be human readable text, but instead be - something similar to what the utility gprof can read. It took a while, - but starting with version 0.3 'pprof' output became the standard - format, and a utility 'pprofp' was bundled to read the files. This was - a big step, as it allowed for easy and robust post-trace processing - (displaying call graphs, ordering by a number of different execution + Early after the initial release, Thies Arntzen made a feature request + that the profile information not be human readable text, but instead be + something similar to what the utility gprof can read. It took a while, + but starting with version 0.3 'pprof' output became the standard + format, and a utility 'pprofp' was bundled to read the files. This was + a big step, as it allowed for easy and robust post-trace processing + (displaying call graphs, ordering by a number of different execution time metrics, etc.) </p> <p> - apd has a number of additional features as well. Most notably is the - full interactive debugger support that Alan Knowles added. This allows - an ide to do a step-by-step execution of a script, and has the ability - to not only display variables at every step, but to modify them as - well. The only ide I know which supports this fully is Alan's - magnificent phpMole, which I would recommend to anyone interested in a + APD has a number of additional features as well. Most notably is the + full interactive debugger support that Alan Knowles added. This allows + an ide to do a step-by-step execution of a script, and has the ability + to not only display variables at every step, but to modify them as + well. The only ide I know which supports this fully is Alan's + magnificent phpMole, which I would recommend to anyone interested in a php ide. </p> <p> - Some features which are seldom used, but cool nonetheless include the - rename_function() and override_function() functions, which allow you to - replace an existing function in the symbol table with one of your own - creation. It would be nice to see functions similar to these - integrated into the Zend Engine. Other features will likely we - deprecated over time. The backtrace commands have been supplanted by - the debug_backtrace and debug_print_backtrace commands and the symbol + Some features which are seldom used, but cool nonetheless include the + rename_function() and override_function() functions, which allow you to + replace an existing function in the symbol table with one of your own + creation. It would be nice to see functions similar to these + integrated into the Zend Engine. Other features will likely we + deprecated over time. The backtrace commands have been supplanted by + the debug_backtrace and debug_print_backtrace commands and the symbol table introspection functions are not terribly useful. </p> <h3> What do you actually need from the community ?</h3> <p> One billion dollars... mwahaha!<br /> -Seriously though, when I started writing open source software in 1999, -I mistakenly thought that I could create a project and have people -flock to it to add features that I wanted. That is simply not the way -it works. In fact, I (like most open source programmers I know), spend -at least as much time implementing features that other people want as I -do implementing things that I am interested in personally. My goal in -writing apd was primarily to create a tool that helped me in my job, -and next to help others executing similar tasks. If apd helps people -write faster and better code, then this has been a successful project +Seriously though, when I started writing open source software in 1999, +I mistakenly thought that I could create a project and have people +flock to it to add features that I wanted. That is simply not the way +it works. In fact, I (like most open source programmers I know), spend +at least as much time implementing features that other people want as I +do implementing things that I am interested in personally. My goal in +writing apd was primarily to create a tool that helped me in my job, +and next to help others executing similar tasks. If apd helps people +write faster and better code, then this has been a successful project to me.<br/><br/> -I would like to thank the apd user community for:<br/><br/> +I would like to thank the apd user community for:<br /><br /> -<li />Consistently submitting good bug reports that make bug-fixing easy</li> -<li />Being understanding when fixes take a while</li><br/> +<li>Consistently submitting good bug reports that make bug-fixing easy</li> +<li>Being understanding when fixes take a while</li><br /> -With that disclaimer, if people are interested, here is my personal -TODO list for apd, which I always accept help with:<br/><br/> +With that disclaimer, if people are interested, here is my personal +TODO list for apd, which I always accept help with:<br /><br /> -<li />Improving memory usage statistics. I'm not sure if this is -possible, but it's a standing feature request and I am unhappy with the +<li>Improving memory usage statistics. I'm not sure if this is +possible, but it's a standing feature request and I am unhappy with the current implementation.</li> -<li />A full port to windows. Markus Fischer did this in v0.1, but the +<li>A full port to windows. Markus Fischer did this in v0.1, but the profiling changes broke his work and I am not a windows programmer.</li> -<li />Integrating the profiling information into an IDE.</li> +<li>Integrating the profiling information into an IDE.</li> <br /> -Finally, it is always nice to hear about people's success stories. At -PHP-Con 2002, I found out that Yahoo! was using apd internally for -script profiling. What a boost! Knowing that people are using the +Finally, it is always nice to hear about people's success stories. At +PHP-Con 2002, I found out that Yahoo! was using apd internally for +script profiling. What a boost! Knowing that people are using the software and are happy with it makes it all worthwhile. </p> <br /> @@ -164,8 +163,8 @@ <p> The Mac OS X tutorial mentioned in a previous issue is now also published in - <a href="http://www.macdevcenter.com/pub/a/mac/2003/01/21/pear_macosx.html">MacDevCenter</a>. - Since this site is part of + <a href="http://www.macdevcenter.com/pub/a/mac/2003/01/21/pear_macosx.html">MacDevCenter</a>. + Since this site is part of <a href="http://www.oreillynet.com/">O'Reilly Network</a> PEAR will get nice coverage from this article. </p> @@ -173,7 +172,7 @@ <hr> <p> If you come accross PEAR related article article feel free to -send (<a href="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</a>) us the references +send (<a href="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</a>) us the references and they will be added to the weekly news. </p> @@ -185,19 +184,19 @@ <h3>Error handling in constructors?</h3> <p> There was a short discussion on what is the recommended way of handling - errors in constructors. The answer is really simple: Even though - it is possible to set $this to be an instance of PEAR_Error it is + errors in constructors. The answer is really simple: Even though + it is possible to set $this to be an instance of PEAR_Error it is discouraged to use this undocumented feature. This behaviour will be changed in PHP5. A better aproach is to avoid all failing logic in - constructor and use a separate method for calls which need to be + constructor and use a separate method for calls which need to be able to return an error. A good example of such method would be - any factory method. + any factory method. </p> <!-- SECTION --><a name="4"></a> <h3>New phpDocumentor features</h3> <p> - <a href="http://phpdocu.sourceforge.net/">phpDocumentor</a> - development team has implemented support for new + <a href="http://phpdocu.sourceforge.net/">phpDocumentor</a> + development team has implemented support for new tags in their documentation tool. These include such tags as @source, @internal, @filesource, @example and @internal. For more info please see the <a href="http://phpdocu.sourceforge.net/Release-1.2.0beta2">release @@ -247,21 +246,21 @@ <h3>SearchEngine_Mnogosearch</h3> <p> Bertrand Mansion proposed his SearchEngine_Mnogosearch package, which - is a PHP frontend for the popular + is a PHP frontend for the popular <a href="http://www.mnogosearch.org/">mnoGoSearch</a> searchengine. </p> <h2>Development</h2> <p> Active on CVS this week have been: - HTML_Template_Flexy, Cache_Lite, PECL::Radius, PEAR, DBA, + HTML_Template_Flexy, Cache_Lite, PECL::Radius, PEAR, DBA, DBA_Relational, HTTP_Header, MDB, Net_SMTP, Mail, Log, File, I18N, SpreadSheet_Excel_Writer, MDB_QueryTool, Payment_Clieop, - PECL::bcompiler, Tree, DB_QueryTool, HTML_Template_Xipe, + PECL::bcompiler, Tree, DB_QueryTool, HTML_Template_Xipe, DB_DataObject, HTML_QuickForm, PECL::imagick, Auth, SearchEngine_Mnogosearch, Net_URL, HTTP_Request and PECL::apd. - + </p> </body> -</html> +</html> \ No newline at end of file Index: pearweb/weeklynews/20030202.fr.html +++ pearweb/weeklynews/20030202.fr.html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- $Id: 20030202.fr.html,v 1.1 2003/02/02 17:37:55 arnaud Exp $ --> <html> <head> <title>x</title> </head> <body> <p> <i> <small> by <a href="http://www.appelsiini.net/~tuupola/">Mika Tuupola</a> (tuupola@appelsiini.net), <a href="http://pear.php.net/account-info.php?handle=pajoye">Pierre-Alain Joye</a> (paj@pearfr.org), <a href="http://pear.php.net/account-info.php?handle=arnaud">Arnaud Limbourg</a> (arnaud@limbourg.com), </small> </i> </p> <p> Dès cette semaine, nous introduisons une nouvelle section appelée "Package de la semaine". APD de <a href="http://pear.php.net/account-info.php?handle=gschlossnagle">George Schlossnagle</a> est à l'honneur, il sagit d'un debugger/profiler très complet. </p> <p> La semaine a été modérément calme, avec comme conséquence d'avoir un traffic CVS important et plus de sorties qu'habituellement. Au moment de la rédaction 14 sorties ont pu être constatée. </p> <p> Vous trouverez cette semaine des détails sur la <a href="#3">gestion des erreurs</a> dans les constructeurs, les nouvelles fonctionnalitées de <a href="#4">phpDocumentor</a>, un nouveau <a href="#2">tutoriel Mac OS X</a>, ainsi que sept propositions de packages. </p> <hr> <!-- SECTION --><a name="1"></a> <h2>Package de la semaine</h2> <h3>APD de George Schlossnagle, un profiler/debugger très complet</h3> <h3>Qui est George Schlossnagle ?</h3> <p> George a commencé à travailler sur les systèmes UNIX il y a 12 ans, écrivant des fonctions d'analyses numériques partielles- différencielle en FORTRAN. Ces débuts avec le web ont commencés il y a 8 ans et de maniè professionnelle il y a 5 ans. Il travaille actuellement chez <a href="http://www.omniti.com/">OmniTI Computer Consulting</a>, une société de conseils technologiques spécialisée dans la mise en place et la gestion de systèmes mails et web "scalable". </p> <h3>Quels sont les avantages et inconvénients d'avoir publié ton travail dans PEAR/PECL ?</h3> <p> Je pense que mon seul regret à propos de la publication d'APD sous PECL est de ne pas l'avoir fait plus tôt. D'un point de vue de la gestion du code ou des versions, travailler avec PECL est équivalent à un système local. Le système de release de PEAR rend la création et la publication d'une nouvelle "release" incroyablement simple. Je vois aussi une visibilité et un intérêt croissants de la communauté. Ayant aussi trouvé que l'installation d'APD sous php 4.3 avec l'installeur PEAR s'est faite proprement (sans effort de ma part pour que celà se passe ainsi). </p> <h3>Qu'espères-tu pour le futur de PEAR/PECL ?</h3> <p> Je pense que PEAR et PECL sont le futur de la gestion des packages et des extensions. En séparant les versions de PHP des versions des extensions, nous pouvons envisager d'accroitre la vitesse, la qualité et la fréquence des releases PHP. Personnellement, j'aimerais voir une augmentation de l'utilisation des tests unitaires dans les packages PEAR et PECL (mes propres packages ayant incroyablement besoin de çla). Ajouter des tests unitaires devrait rendre le "refactoring" (ndt: qqn a une traduction?) plus aisé et réduirait les hésitations des dévelopeurs à améliorer d'autres extensions/ packages par peur de cré des dysfonctionnement de manière non intentionnelle. Comme les tests unitaires dans la construction de php continuent à mûrir et que de plus en plus d'extensions migrent vers PECL, j'espère voir une amélioration de la compatibilité entre plusieurs versions pour beaucoup d'extension PECL. </p> <h3>APD, peux-tu décrire ce package ?</h3> <p> APD est une extension zend, laquelle ajoute des possibilités de profiling et de debuggages au moteur Zend. APD a eût un début humble. Mon ancien collègue Dan Cowgill &ecute;tait très frustré par le manque de possibilités complète de backtrace (celà se passait durant la p&ecute;riode 4.1, avant que debug_backtrace() ne soit introduit). Après que le backtrace ait &ecute;t&ecute; ajout&ecute;, il est devenu évident que notre système fournissait une excellente interface pour générer des informations de profiling pour des scripts. </p> <p> Le profiling s'est révélé tr&eagrave;s précieux dans mon travail de l'époque qui consistait à optimiser les performances d'un site web d'environ un million de lignes de code. Sans possibilité de faire du profiling l'optimisation de scripts tenait plus du hasard qu'autre chose. Avec la version pre-0.1 d'APD nous avons pu gagner 500% de rapidité en plus sur plusieurs scripts en un jour. </p> <p> Apr&eagrave;s la premi&eagrave;re sortie Thies Arntzen demanda que les informations de profiling ne soit pas du type lisibles par l'être humain, mais plutôt d'un type similaire à celui utilisé par avec l'utilitaire gprof. Cela pris un certain temps mais la version 0.3 a introduit le format 'pprof' qui devint le format standard. L'utilitaire 'pprof' est fournit afin de lire les fichiers au format pprof. Cela fut un grand pas et permis de simplifier et rendre robuste l'étude apr&eagrave;s-éxecution d'un script (affichage de graphiques d'appels, trier selon différents crit&eagrave;res de temps d'éxecution, etc.). </p> <p> APD dispose aussi de fonctionnalités additionnelles. La plus notable est le debugger interactif ajouté par Alan Knowles. Cela permet d'effectuer un éxecution pas à pas d'un script, permettant non-seulement d'afficher les variables mais aussi de modifier leur valeur. Le seul EDI que je connaisse intégrant cette fonctionnalité est l'éditeur d'Alan phpMole, que je recommande à quiconque est intéressé par un éditeur php. </p> <p> Quelques fonctionnalités sont rarement utilisées mais sont tout de même cool. Cela inclut les fonctions rename_function() et override_function() qui vous autorise à remplacer une fonction existante dans la table des symboles par l'une de vos créations. Il serait souhaitable de voir ces fonctions similaires intégrées dans le moteur Zend. D'autres fonctionnalités seront surement rendues obsol&eagrave;tes avec le temps. La commande backtrace à été supplantée par la commande debug_backtrace et debug_print_backtrace et les fonctions permettant d'étudier la table des symboles ne sont pas tellement utiles. </p> <h3>De quoi avez-vous besoin de la part de la communauté ?</h3> <p> Un milliard de dollars... mouahaha!<br /> Sérieusement, lorsque j'ai commencé à écrire des logiciels open source en 1999 j'ai malheureusement cru que nombre de personnes joindrait le projet et ajouterais les fonctionnalités dont j'avais envie. Ca ne fonctionne tout simplement pas de cette fa&ccdil;on. En fait, je passe autant de temps à implémenter les fontionnalités demandées par d'autres personnes qu'à implémenter celles qui m'intéressent personnellement (cela se passe ainsi pour beaucoup de projets open-source à ma connaissance). Mon but premier avec APD était de créer un programme qui pouvait m'aider dans mon travail et d'autres ayant les mêmes besoins que moi. Si APD permet aux développeurs d'écrire du code plus rapide et de meilleure qualité alors ce projet aura atteint son but à mon sens. <br /><br /> J'aimerais remercier la communauté des utilisateurs APD pour : <br /><br /> <li />L'envoi de rapports de bugs cohérents facilitant leurs corrections</li> <li />Etre compréhensifs quand les corrections prennent du temps</li><br /> Avec cette annonce voici ma liste de choses à faire pour APD, pour laquelle j'accepte toute aide :<br /><br /> <li>Améliorer les statistiques sur l'utilisation de la mémoire. Je ne sais pas si cela est possible mais c'est une demande assez ancienne et je ne suis pas satisfait de l'implémentation actuelle.</li> <li>Un portage sous Windows. Markus Fischer avait effectué ce portage avec la version 0.1 mais les changements subséquents ont cassés sont travail et je ne suis pas un programmeur Windows.</li> <li />Intégration des informations de profiling dans un EDI.</li> <br /> Enfin, il est toujours appréciable d'entendre les succ&eagrave;s d'autres personnes. A la conférence PHP-Con 2002, j'ai appris que Yahoo! utilisait APD en interne pour "profiler" les scripts. Quelle accélérateur! Savoir que des gens utilisent le logiciel donne tout son sens à un tel projet. </p> <br /> Merci à George pour cette interview. <h2>Dans la presse</h2> <!-- SECTION --><a name="2"></a> <h3>PEAR sur Mac OS X revisité</h3> <p> Le tutoriel indiqué lors du précedent numéro est aussi publiée sur le <a href="http://www.macdevcenter.com/pub/a/mac/2003/01/21/pear_macosx.html">MacDevCenter</a>. Ce site faisant partie d' <a href="http://www.oreillynet.com/">O'Reilly Network</a> PEAR aura une bonne couverture grâce à cet article. </p> <hr> <p> Si jamais vous lisez un article sur PEAR n'hésitez pas à nous en faire part, envoyer un message (sur <a href="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</a>) avec les références et cela sera ajouté à la lettre hebdomadaire. </p> <hr> <h2>Trafic de la liste de diffusion PEAR-DEV</h2> <!-- SECTION --><a name="3"></a> <h3>Gestion des erreurs dans le constructeur?</h3> <p> Une courte discussion à eu lieu sur la bonne fa&ccdil;on de gérer les erreurs dans le constructeur. La réponse est simple: même s'il est possible d'affecter $this comme une instance de classe PEAR_Error il est fortement découragé d'utiliser cette fonctionnalité non-documentée. Ce comportement sera modifié dans PHP5. Une meilleure approche consiste à éviter la logique d'échec dans le constructeur et d'utiliser une méthode séparée pour les appeles nécessitant le retour d'une erreur. Un bon exemple d'une telle méthode est le design pattern Fabrique (ou "factory"). </p> <!-- SECTION --><a name="4"></a> <h3>Nouvelles fonctionnalités pour phpDocumentor</h3> <p> L'équipe de développement de <a href="http://phpdocu.sourceforge.net/">phpDocumentor</a> à implémenté le support de nouvelles balises. Cela inclue les balises @source, @internal, @filesource, @example and @internal. Pour plus d'informations veuillez lire les notes accompagnant la sortie de la <a href="http://phpdocu.sourceforge.net/Release-1.2.0beta2">beta2</a>. </p> <h3>Bugs et Corrections</h3> <p> Merci à ces personnes pour avoir trouvé et corrigé des bugs: Ondrej Jombik, Andres Käver, Patrick O'Lone, Bruno Pedro and Samuli Tuomola </p> <hr> <h2>Propositions et nouveaux packages</h2> <!-- SECTION --><a name="5"></a> <h3>MDB_QueryTool</h3> <p> Lorenzo Alberton à porté DB_QueryTool de Wolfram Kriesing pour MDB. <p> <!-- SECTION --><a name="6"></a> <h3>Net_UserAgent_Mobile</h3> <p> Kubo Atsuhiro à proposé Net_UserAgent_Mobile qui permet de récupérer les caractéristiques d'affichage des keitai (téléphones portables). Les syst&eagrave;mes supportés incluent NTT DoCoMo's i-mode, KDDI's EZweb and J-PHONE's J-Sky. </p> <!-- SECTION --><a name="7"></a> <h3>Auth_Container_POP3</h3> <p> Yavor Shahpasov à proposé un nouveau container pour Auth permettant de s'authentifier contre un serveur POP3. </p> <!-- SECTION --><a name="8"></a> <h3>Auth_RADIUS, Auth_Container_Radius, Crypt_CHAP</h3> <p> Michael Bretterklieber, le mainteneur de PECL::radius, à proposé plusieurs packages en rapport avec l'authentification. Auth_RADIUS est un wrapper pour PECL::radius. Crypt_CHAP est utilisé pour la génération de paquets CHAP pour les différentes de CHAP. Auth_Container_Radius est un nouveau container pour Auth. </p> <!-- SECTION --><a name="9"></a> <h3>SearchEngine_Mnogosearch</h3> <p> Bertrand Mansion à proposé SearchEngine_Mnogosearch package, un frontend pour le populaire moteur de recherche <a href="http://www.mnogosearch.org/">mnoGoSearch</a>. </p> <h2>Development</h2> <p> Ont été actif sur le CVS cette semaine : HTML_Template_Flexy, Cache_Lite, PECL::Radius, PEAR, DBA, DBA_Relational, HTTP_Header, MDB, Net_SMTP, Mail, Log, File, I18N, SpreadSheet_Excel_Writer, MDB_QueryTool, Payment_Clieop, PECL::bcompiler, Tree, DB_QueryTool, HTML_Template_Xipe, DB_DataObject, HTML_QuickForm, PECL::imagick, Auth, SearchEngine_Mnogosearch, Net_URL, HTTP_Request and PECL::apd. </p> </body> </html>
Index: pearweb/weeklynews/20030202.en.html diff -u pearweb/weeklynews/20030202.en.html:1.6 pearweb/weeklynews/20030202.en.html:1.7 --- pearweb/weeklynews/20030202.en.html:1.6 Sun Feb 2 06:22:13 2003 +++ pearweb/weeklynews/20030202.en.html Sun Feb 2 12:37:55 2003 @@ -1,5 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<!-- $Id: 20030202.en.html,v 1.6 2003/02/02 11:22:13 tuupola Exp $ --> +<!-- $Id: 20030202.en.html,v 1.7 2003/02/02 17:37:55 arnaud Exp $ --> <html> <head> <title>x</title> @@ -8,152 +8,151 @@ <p> <i> <small> - by - <a href="http://www.appelsiini.net/~tuupola/">Mika Tuupola</a> (tuupola@appelsiini.net), + by + <a href="http://www.appelsiini.net/~tuupola/">Mika Tuupola</a> (tuupola@appelsiini.net), <a href="http://pear.php.net/account-info.php?handle=pajoye">Pierre-Alain Joye</a> (paj@pearfr.org) </small> </i> </p> <p> -<p> - Starting this week, we introduce a new "Package of the week" section - in the PEAR weekly news. This week focuses on APD from + Starting this week, we introduce a new "Package of the week" section + in the PEAR weekly news. This week focuses on APD from <a href="http://pear.php.net/account-info.php?handle=gschlossnagle">George Schlossnagle</a>, a full-featured profiler/debugger. </p> <p> It has been a moderately quiet week in the mailinglists. Consequently - there has been more CVS traffic and more releases than usual. As a + there has been more CVS traffic and more releases than usual. As a time of writing total number of new PEAR releases this week is 14. </p> <p> This weeks news include details on <a href="#3">error handling</a> in - constructors, new <a href="#4">phpDocumentor features</a>, + constructors, new <a href="#4">phpDocumentor features</a>, another <a href="#2">Mac OS X tutorial</a> and <a href="#5">seven new proposed packages</a>. </p> -<hr> +<hr /> <!-- SECTION --><a name="1"></a> <h2>Package of the week</h2> <h3>George Schlossnagle's APD, a fullfeatured profiler/debugger</h3> <h3>Who's George Schlossnagle ?</h3> <p> - George started working on UNIX systems 12 years ago, writing numerical - partial-differential analysis routines in FORTRAN. He started playing - with the web 8 years ago and has been doing it professionally for 5 - years. He is currently a principal consultant at <a href="http://www.omniti.com/">OmniTI Computer - Consulting</a>, a technology consulting firm + George started working on UNIX systems 12 years ago, writing numerical + partial-differential analysis routines in FORTRAN. He started playing + with the web 8 years ago and has been doing it professionally for 5 + years. He is currently a principal consultant at <a href="http://www.omniti.com/">OmniTI Computer + Consulting</a>, a technology consulting firm specializing in building and managing scalable web and email systems. </p> <h3>What is the pros/cons of publishing your work under PEAR/PECL ?</h3> <p> - I think my only regret about publishing apd under PECL is that I didn't - do so sooner. From a code/version management standpoint I working in - PECL is equivalent to working on a locally manged project. The PEAR - release management system makes rolling and pushing a new version - incredibly simple. Also I see are increased visibility and interest - from the PHP community. Finding out that apd installed cleanly under - 4.3 via the PEAR installer (with no effort from me to make it do so), + I think my only regret about publishing apd under PECL is that I didn't + do so sooner. From a code/version management standpoint I working in + PECL is equivalent to working on a locally manged project. The PEAR + release management system makes rolling and pushing a new version + incredibly simple. Also I see are increased visibility and interest + from the PHP community. Finding out that apd installed cleanly under + 4.3 via the PEAR installer (with no effort from me to make it do so), was very cool. </p> <h3>What do you hope for the future of PEAR/PECL ?</h3> <p> - I think PEAR and PECL are the future of php extension and package - management. By decoupling PHP versions from extension versions, we can - hopefully increase the speed, quality and frequency of PHP releases. I - would personally like to see an increase use of unit testing in PEAR - and PECL packages (my own packages being incredibly in need of this) - Adding unit tests should make refactoring easy and reduce developers - hesitation to improve other extensions/packages for fear of - unintentionally breaking things. As unit testing in the php build - process continues to mature and more extensions are moved into PECL, I - hope to see an improvement in cross-version compatibility for many + I think PEAR and PECL are the future of php extension and package + management. By decoupling PHP versions from extension versions, we can + hopefully increase the speed, quality and frequency of PHP releases. I + would personally like to see an increase use of unit testing in PEAR + and PECL packages (my own packages being incredibly in need of this) + Adding unit tests should make refactoring easy and reduce developers + hesitation to improve other extensions/packages for fear of + unintentionally breaking things. As unit testing in the php build + process continues to mature and more extensions are moved into PECL, I + hope to see an improvement in cross-version compatibility for many PECL'd extensions. </p> <h3>APD, can you describe this package ?</h3> <p> - apd is a zend_extension which adds profiling and debugging abilities to - the Zend Engine. apd had humble beginnings. My former colleague Dan - Cowgill was very frustrated with the lack of full backtrace capability - (this was back in 4.1 days, well before debug_backtrace() was - available.) After the backtrace capabilities where added, it became - obvious that the engine we developed provided a excellent interface to + apd is a zend_extension which adds profiling and debugging abilities to + the Zend Engine. apd had humble beginnings. My former colleague Dan + Cowgill was very frustrated with the lack of full backtrace capability + (this was back in 4.1 days, well before debug_backtrace() was + available.) After the backtrace capabilities where added, it became + obvious that the engine we developed provided a excellent interface to generate profiling information for scripts. </p> <p> - This profiling ability was incredibly valuable to the work I was doing - at that time, which involved performance tuning the production - environment for some sites with a million-line code base. Without - profiling capabilities tuning scripts was largely a matter of guess - work. With the pre-0.1 version of apd running, we were able to get + This profiling ability was incredibly valuable to the work I was doing + at that time, which involved performance tuning the production + environment for some sites with a million-line code base. Without + profiling capabilities tuning scripts was largely a matter of guess + work. With the pre-0.1 version of apd running, we were able to get 500% performance gains on a number of pages within a day. </p> <p> - Early after the initial release, Thies Arntzen made a feature request - that the profile information not be human readable text, but instead be - something similar to what the utility gprof can read. It took a while, - but starting with version 0.3 'pprof' output became the standard - format, and a utility 'pprofp' was bundled to read the files. This was - a big step, as it allowed for easy and robust post-trace processing - (displaying call graphs, ordering by a number of different execution + Early after the initial release, Thies Arntzen made a feature request + that the profile information not be human readable text, but instead be + something similar to what the utility gprof can read. It took a while, + but starting with version 0.3 'pprof' output became the standard + format, and a utility 'pprofp' was bundled to read the files. This was + a big step, as it allowed for easy and robust post-trace processing + (displaying call graphs, ordering by a number of different execution time metrics, etc.) </p> <p> - apd has a number of additional features as well. Most notably is the - full interactive debugger support that Alan Knowles added. This allows - an ide to do a step-by-step execution of a script, and has the ability - to not only display variables at every step, but to modify them as - well. The only ide I know which supports this fully is Alan's - magnificent phpMole, which I would recommend to anyone interested in a + APD has a number of additional features as well. Most notably is the + full interactive debugger support that Alan Knowles added. This allows + an ide to do a step-by-step execution of a script, and has the ability + to not only display variables at every step, but to modify them as + well. The only ide I know which supports this fully is Alan's + magnificent phpMole, which I would recommend to anyone interested in a php ide. </p> <p> - Some features which are seldom used, but cool nonetheless include the - rename_function() and override_function() functions, which allow you to - replace an existing function in the symbol table with one of your own - creation. It would be nice to see functions similar to these - integrated into the Zend Engine. Other features will likely we - deprecated over time. The backtrace commands have been supplanted by - the debug_backtrace and debug_print_backtrace commands and the symbol + Some features which are seldom used, but cool nonetheless include the + rename_function() and override_function() functions, which allow you to + replace an existing function in the symbol table with one of your own + creation. It would be nice to see functions similar to these + integrated into the Zend Engine. Other features will likely we + deprecated over time. The backtrace commands have been supplanted by + the debug_backtrace and debug_print_backtrace commands and the symbol table introspection functions are not terribly useful. </p> <h3> What do you actually need from the community ?</h3> <p> One billion dollars... mwahaha!<br /> -Seriously though, when I started writing open source software in 1999, -I mistakenly thought that I could create a project and have people -flock to it to add features that I wanted. That is simply not the way -it works. In fact, I (like most open source programmers I know), spend -at least as much time implementing features that other people want as I -do implementing things that I am interested in personally. My goal in -writing apd was primarily to create a tool that helped me in my job, -and next to help others executing similar tasks. If apd helps people -write faster and better code, then this has been a successful project +Seriously though, when I started writing open source software in 1999, +I mistakenly thought that I could create a project and have people +flock to it to add features that I wanted. That is simply not the way +it works. In fact, I (like most open source programmers I know), spend +at least as much time implementing features that other people want as I +do implementing things that I am interested in personally. My goal in +writing apd was primarily to create a tool that helped me in my job, +and next to help others executing similar tasks. If apd helps people +write faster and better code, then this has been a successful project to me.<br/><br/> -I would like to thank the apd user community for:<br/><br/> +I would like to thank the apd user community for:<br /><br /> -<li />Consistently submitting good bug reports that make bug-fixing easy</li> -<li />Being understanding when fixes take a while</li><br/> +<li>Consistently submitting good bug reports that make bug-fixing easy</li> +<li>Being understanding when fixes take a while</li><br /> -With that disclaimer, if people are interested, here is my personal -TODO list for apd, which I always accept help with:<br/><br/> +With that disclaimer, if people are interested, here is my personal +TODO list for apd, which I always accept help with:<br /><br /> -<li />Improving memory usage statistics. I'm not sure if this is -possible, but it's a standing feature request and I am unhappy with the +<li>Improving memory usage statistics. I'm not sure if this is +possible, but it's a standing feature request and I am unhappy with the current implementation.</li> -<li />A full port to windows. Markus Fischer did this in v0.1, but the +<li>A full port to windows. Markus Fischer did this in v0.1, but the profiling changes broke his work and I am not a windows programmer.</li> -<li />Integrating the profiling information into an IDE.</li> +<li>Integrating the profiling information into an IDE.</li> <br /> -Finally, it is always nice to hear about people's success stories. At -PHP-Con 2002, I found out that Yahoo! was using apd internally for -script profiling. What a boost! Knowing that people are using the +Finally, it is always nice to hear about people's success stories. At +PHP-Con 2002, I found out that Yahoo! was using apd internally for +script profiling. What a boost! Knowing that people are using the software and are happy with it makes it all worthwhile. </p> <br /> @@ -164,8 +163,8 @@ <p> The Mac OS X tutorial mentioned in a previous issue is now also published in - <a href="http://www.macdevcenter.com/pub/a/mac/2003/01/21/pear_macosx.html">MacDevCenter</a>. - Since this site is part of + <a href="http://www.macdevcenter.com/pub/a/mac/2003/01/21/pear_macosx.html">MacDevCenter</a>. + Since this site is part of <a href="http://www.oreillynet.com/">O'Reilly Network</a> PEAR will get nice coverage from this article. </p> @@ -173,7 +172,7 @@ <hr> <p> If you come accross PEAR related article article feel free to -send (<a href="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</a>) us the references +send (<a href="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</a>) us the references and they will be added to the weekly news. </p> @@ -185,19 +184,19 @@ <h3>Error handling in constructors?</h3> <p> There was a short discussion on what is the recommended way of handling - errors in constructors. The answer is really simple: Even though - it is possible to set $this to be an instance of PEAR_Error it is + errors in constructors. The answer is really simple: Even though + it is possible to set $this to be an instance of PEAR_Error it is discouraged to use this undocumented feature. This behaviour will be changed in PHP5. A better aproach is to avoid all failing logic in - constructor and use a separate method for calls which need to be + constructor and use a separate method for calls which need to be able to return an error. A good example of such method would be - any factory method. + any factory method. </p> <!-- SECTION --><a name="4"></a> <h3>New phpDocumentor features</h3> <p> - <a href="http://phpdocu.sourceforge.net/">phpDocumentor</a> - development team has implemented support for new + <a href="http://phpdocu.sourceforge.net/">phpDocumentor</a> + development team has implemented support for new tags in their documentation tool. These include such tags as @source, @internal, @filesource, @example and @internal. For more info please see the <a href="http://phpdocu.sourceforge.net/Release-1.2.0beta2">release @@ -247,21 +246,21 @@ <h3>SearchEngine_Mnogosearch</h3> <p> Bertrand Mansion proposed his SearchEngine_Mnogosearch package, which - is a PHP frontend for the popular + is a PHP frontend for the popular <a href="http://www.mnogosearch.org/">mnoGoSearch</a> searchengine. </p> <h2>Development</h2> <p> Active on CVS this week have been: - HTML_Template_Flexy, Cache_Lite, PECL::Radius, PEAR, DBA, + HTML_Template_Flexy, Cache_Lite, PECL::Radius, PEAR, DBA, DBA_Relational, HTTP_Header, MDB, Net_SMTP, Mail, Log, File, I18N, SpreadSheet_Excel_Writer, MDB_QueryTool, Payment_Clieop, - PECL::bcompiler, Tree, DB_QueryTool, HTML_Template_Xipe, + PECL::bcompiler, Tree, DB_QueryTool, HTML_Template_Xipe, DB_DataObject, HTML_QuickForm, PECL::imagick, Auth, SearchEngine_Mnogosearch, Net_URL, HTTP_Request and PECL::apd. - + </p> </body> -</html> +</html> \ No newline at end of file Index: pearweb/weeklynews/20030202.fr.html +++ pearweb/weeklynews/20030202.fr.html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- $Id: 20030202.fr.html,v 1.1 2003/02/02 17:37:55 arnaud Exp $ --> <html> <head> <title>x</title> </head> <body> <p> <i> <small> by <a href="http://www.appelsiini.net/~tuupola/">Mika Tuupola</a> (tuupola@appelsiini.net), <a href="http://pear.php.net/account-info.php?handle=pajoye">Pierre-Alain Joye</a> (paj@pearfr.org), <a href="http://pear.php.net/account-info.php?handle=arnaud">Arnaud Limbourg</a> (arnaud@limbourg.com), </small> </i> </p> <p> Dès cette semaine, nous introduisons une nouvelle section appelée "Package de la semaine". APD de <a href="http://pear.php.net/account-info.php?handle=gschlossnagle">George Schlossnagle</a> est à l'honneur, il sagit d'un debugger/profiler très complet. </p> <p> La semaine a été modérément calme, avec comme conséquence d'avoir un traffic CVS important et plus de sorties qu'habituellement. Au moment de la rédaction 14 sorties ont pu être constatée. </p> <p> Vous trouverez cette semaine des détails sur la <a href="#3">gestion des erreurs</a> dans les constructeurs, les nouvelles fonctionnalitées de <a href="#4">phpDocumentor</a>, un nouveau <a href="#2">tutoriel Mac OS X</a>, ainsi que sept propositions de packages. </p> <hr> <!-- SECTION --><a name="1"></a> <h2>Package de la semaine</h2> <h3>APD de George Schlossnagle, un profiler/debugger très complet</h3> <h3>Qui est George Schlossnagle ?</h3> <p> George a commencé à travailler sur les systèmes UNIX il y a 12 ans, écrivant des fonctions d'analyses numériques partielles- différencielle en FORTRAN. Ces débuts avec le web ont commencés il y a 8 ans et de maniè professionnelle il y a 5 ans. Il travaille actuellement chez <a href="http://www.omniti.com/">OmniTI Computer Consulting</a>, une société de conseils technologiques spécialisée dans la mise en place et la gestion de systèmes mails et web "scalable". </p> <h3>Quels sont les avantages et inconvénients d'avoir publié ton travail dans PEAR/PECL ?</h3> <p> Je pense que mon seul regret à propos de la publication d'APD sous PECL est de ne pas l'avoir fait plus tôt. D'un point de vue de la gestion du code ou des versions, travailler avec PECL est équivalent à un système local. Le système de release de PEAR rend la création et la publication d'une nouvelle "release" incroyablement simple. Je vois aussi une visibilité et un intérêt croissants de la communauté. Ayant aussi trouvé que l'installation d'APD sous php 4.3 avec l'installeur PEAR s'est faite proprement (sans effort de ma part pour que celà se passe ainsi). </p> <h3>Qu'espères-tu pour le futur de PEAR/PECL ?</h3> <p> Je pense que PEAR et PECL sont le futur de la gestion des packages et des extensions. En séparant les versions de PHP des versions des extensions, nous pouvons envisager d'accroitre la vitesse, la qualité et la fréquence des releases PHP. Personnellement, j'aimerais voir une augmentation de l'utilisation des tests unitaires dans les packages PEAR et PECL (mes propres packages ayant incroyablement besoin de çla). Ajouter des tests unitaires devrait rendre le "refactoring" (ndt: qqn a une traduction?) plus aisé et réduirait les hésitations des dévelopeurs à améliorer d'autres extensions/ packages par peur de cré des dysfonctionnement de manière non intentionnelle. Comme les tests unitaires dans la construction de php continuent à mûrir et que de plus en plus d'extensions migrent vers PECL, j'espère voir une amélioration de la compatibilité entre plusieurs versions pour beaucoup d'extension PECL. </p> <h3>APD, peux-tu décrire ce package ?</h3> <p> APD est une extension zend, laquelle ajoute des possibilités de profiling et de debuggages au moteur Zend. APD a eût un début humble. Mon ancien collègue Dan Cowgill &ecute;tait très frustré par le manque de possibilités complète de backtrace (celà se passait durant la p&ecute;riode 4.1, avant que debug_backtrace() ne soit introduit). Après que le backtrace ait &ecute;t&ecute; ajout&ecute;, il est devenu évident que notre système fournissait une excellente interface pour générer des informations de profiling pour des scripts. </p> <p> Le profiling s'est révélé tr&eagrave;s précieux dans mon travail de l'époque qui consistait à optimiser les performances d'un site web d'environ un million de lignes de code. Sans possibilité de faire du profiling l'optimisation de scripts tenait plus du hasard qu'autre chose. Avec la version pre-0.1 d'APD nous avons pu gagner 500% de rapidité en plus sur plusieurs scripts en un jour. </p> <p> Apr&eagrave;s la premi&eagrave;re sortie Thies Arntzen demanda que les informations de profiling ne soit pas du type lisibles par l'être humain, mais plutôt d'un type similaire à celui utilisé par avec l'utilitaire gprof. Cela pris un certain temps mais la version 0.3 a introduit le format 'pprof' qui devint le format standard. L'utilitaire 'pprof' est fournit afin de lire les fichiers au format pprof. Cela fut un grand pas et permis de simplifier et rendre robuste l'étude apr&eagrave;s-éxecution d'un script (affichage de graphiques d'appels, trier selon différents crit&eagrave;res de temps d'éxecution, etc.). </p> <p> APD dispose aussi de fonctionnalités additionnelles. La plus notable est le debugger interactif ajouté par Alan Knowles. Cela permet d'effectuer un éxecution pas à pas d'un script, permettant non-seulement d'afficher les variables mais aussi de modifier leur valeur. Le seul EDI que je connaisse intégrant cette fonctionnalité est l'éditeur d'Alan phpMole, que je recommande à quiconque est intéressé par un éditeur php. </p> <p> Quelques fonctionnalités sont rarement utilisées mais sont tout de même cool. Cela inclut les fonctions rename_function() et override_function() qui vous autorise à remplacer une fonction existante dans la table des symboles par l'une de vos créations. Il serait souhaitable de voir ces fonctions similaires intégrées dans le moteur Zend. D'autres fonctionnalités seront surement rendues obsol&eagrave;tes avec le temps. La commande backtrace à été supplantée par la commande debug_backtrace et debug_print_backtrace et les fonctions permettant d'étudier la table des symboles ne sont pas tellement utiles. </p> <h3>De quoi avez-vous besoin de la part de la communauté ?</h3> <p> Un milliard de dollars... mouahaha!<br /> Sérieusement, lorsque j'ai commencé à écrire des logiciels open source en 1999 j'ai malheureusement cru que nombre de personnes joindrait le projet et ajouterais les fonctionnalités dont j'avais envie. Ca ne fonctionne tout simplement pas de cette fa&ccdil;on. En fait, je passe autant de temps à implémenter les fontionnalités demandées par d'autres personnes qu'à implémenter celles qui m'intéressent personnellement (cela se passe ainsi pour beaucoup de projets open-source à ma connaissance). Mon but premier avec APD était de créer un programme qui pouvait m'aider dans mon travail et d'autres ayant les mêmes besoins que moi. Si APD permet aux développeurs d'écrire du code plus rapide et de meilleure qualité alors ce projet aura atteint son but à mon sens. <br /><br /> J'aimerais remercier la communauté des utilisateurs APD pour : <br /><br /> <li />L'envoi de rapports de bugs cohérents facilitant leurs corrections</li> <li />Etre compréhensifs quand les corrections prennent du temps</li><br /> Avec cette annonce voici ma liste de choses à faire pour APD, pour laquelle j'accepte toute aide :<br /><br /> <li>Améliorer les statistiques sur l'utilisation de la mémoire. Je ne sais pas si cela est possible mais c'est une demande assez ancienne et je ne suis pas satisfait de l'implémentation actuelle.</li> <li>Un portage sous Windows. Markus Fischer avait effectué ce portage avec la version 0.1 mais les changements subséquents ont cassés sont travail et je ne suis pas un programmeur Windows.</li> <li />Intégration des informations de profiling dans un EDI.</li> <br /> Enfin, il est toujours appréciable d'entendre les succ&eagrave;s d'autres personnes. A la conférence PHP-Con 2002, j'ai appris que Yahoo! utilisait APD en interne pour "profiler" les scripts. Quelle accélérateur! Savoir que des gens utilisent le logiciel donne tout son sens à un tel projet. </p> <br /> Merci à George pour cette interview. <h2>Dans la presse</h2> <!-- SECTION --><a name="2"></a> <h3>PEAR sur Mac OS X revisité</h3> <p> Le tutoriel indiqué lors du précedent numéro est aussi publiée sur le <a href="http://www.macdevcenter.com/pub/a/mac/2003/01/21/pear_macosx.html">MacDevCenter</a>. Ce site faisant partie d' <a href="http://www.oreillynet.com/">O'Reilly Network</a> PEAR aura une bonne couverture grâce à cet article. </p> <hr> <p> Si jamais vous lisez un article sur PEAR n'hésitez pas à nous en faire part, envoyer un message (sur <a href="mailto:pear-dev@lists.php.net">pear-dev@lists.php.net</a>) avec les références et cela sera ajouté à la lettre hebdomadaire. </p> <hr> <h2>Trafic de la liste de diffusion PEAR-DEV</h2> <!-- SECTION --><a name="3"></a> <h3>Gestion des erreurs dans le constructeur?</h3> <p> Une courte discussion à eu lieu sur la bonne fa&ccdil;on de gérer les erreurs dans le constructeur. La réponse est simple: même s'il est possible d'affecter $this comme une instance de classe PEAR_Error il est fortement découragé d'utiliser cette fonctionnalité non-documentée. Ce comportement sera modifié dans PHP5. Une meilleure approche consiste à éviter la logique d'échec dans le constructeur et d'utiliser une méthode séparée pour les appeles nécessitant le retour d'une erreur. Un bon exemple d'une telle méthode est le design pattern Fabrique (ou "factory"). </p> <!-- SECTION --><a name="4"></a> <h3>Nouvelles fonctionnalités pour phpDocumentor</h3> <p> L'équipe de développement de <a href="http://phpdocu.sourceforge.net/">phpDocumentor</a> à implémenté le support de nouvelles balises. Cela inclue les balises @source, @internal, @filesource, @example and @internal. Pour plus d'informations veuillez lire les notes accompagnant la sortie de la <a href="http://phpdocu.sourceforge.net/Release-1.2.0beta2">beta2</a>. </p> <h3>Bugs et Corrections</h3> <p> Merci à ces personnes pour avoir trouvé et corrigé des bugs: Ondrej Jombik, Andres Käver, Patrick O'Lone, Bruno Pedro and Samuli Tuomola </p> <hr> <h2>Propositions et nouveaux packages</h2> <!-- SECTION --><a name="5"></a> <h3>MDB_QueryTool</h3> <p> Lorenzo Alberton à porté DB_QueryTool de Wolfram Kriesing pour MDB. <p> <!-- SECTION --><a name="6"></a> <h3>Net_UserAgent_Mobile</h3> <p> Kubo Atsuhiro à proposé Net_UserAgent_Mobile qui permet de récupérer les caractéristiques d'affichage des keitai (téléphones portables). Les syst&eagrave;mes supportés incluent NTT DoCoMo's i-mode, KDDI's EZweb and J-PHONE's J-Sky. </p> <!-- SECTION --><a name="7"></a> <h3>Auth_Container_POP3</h3> <p> Yavor Shahpasov à proposé un nouveau container pour Auth permettant de s'authentifier contre un serveur POP3. </p> <!-- SECTION --><a name="8"></a> <h3>Auth_RADIUS, Auth_Container_Radius, Crypt_CHAP</h3> <p> Michael Bretterklieber, le mainteneur de PECL::radius, à proposé plusieurs packages en rapport avec l'authentification. Auth_RADIUS est un wrapper pour PECL::radius. Crypt_CHAP est utilisé pour la génération de paquets CHAP pour les différentes de CHAP. Auth_Container_Radius est un nouveau container pour Auth. </p> <!-- SECTION --><a name="9"></a> <h3>SearchEngine_Mnogosearch</h3> <p> Bertrand Mansion à proposé SearchEngine_Mnogosearch package, un frontend pour le populaire moteur de recherche <a href="http://www.mnogosearch.org/">mnoGoSearch</a>. </p> <h2>Development</h2> <p> Ont été actif sur le CVS cette semaine : HTML_Template_Flexy, Cache_Lite, PECL::Radius, PEAR, DBA, DBA_Relational, HTTP_Header, MDB, Net_SMTP, Mail, Log, File, I18N, SpreadSheet_Excel_Writer, MDB_QueryTool, Payment_Clieop, PECL::bcompiler, Tree, DB_QueryTool, HTML_Template_Xipe, DB_DataObject, HTML_QuickForm, PECL::imagick, Auth, SearchEngine_Mnogosearch, Net_URL, HTTP_Request and PECL::apd. </p> </body> </html>