schlitt.info - php, photography and private stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Tobias Schlitt :Date: Fri, 09 Jan 2009 12:34:32 +0100 :Revision: 2 :Copyright: CC by-nc-sa ============================================ Distributing your PHP applications with PEAR ============================================ :Description: I recently uploaded my slides from the workshop I held yesterday here on the PHP Conference in Frankfurt. This time I did not provide the *usual* introduction into PEAR, which I did for the last conferences, but a complete example how you can package complete PHP applications using the new features of PEAR 1.4. I recently uploaded my slides from the workshop I held yesterday here on the `PHP Conference in Frankfurt`__. This time I did not provide the *usual* introduction into PEAR, which I did for the last conferences, but a complete example how you can package complete PHP applications using the new features of `PEAR 1.4`__. .. __: http://www.php-conference.de .. __: http://pear.php.net/manual/en/guide-migrating.php You can download the package, including the presentation and example code `here`__. .. __: http://files.schlitt.info/misc/PEAR_distributing_PHP_Conf_2005_toby.tar.gz As the example application I used the Serendipity weblog system in version 0.9, and the example code manages installing the complete application through a PEAR package. I use features like custom file roles and post install scripts, so I hope the workshop presentation and the example code can give a good introduction to those features and how to utilize them. By now, the example installs S9Y well, but leaves out a lot of stuff (like upgrading facilities, a lot of customization configs,...), so it is not inteded for real life usage. But well, when I find time, I'll definitly finish the work and provide a PEAR package for Serendipity. Hope you like it, at least my attendees from yesterday seemed to be satisfied. .. Local Variables: mode: rst fill-column: 79 End: vim: et syn=rst tw=79 Trackbacks ========== Comments ======== - Garvin at Mon, 07 Nov 2005 18:26:29 +0100 Yay! If I were in Frankfurt, I'd spend an evening at the bar with you. Packaging s9y with PEAR is on my wishlist for ages - some people already made efforts to use the Pear_channeling facilities, but they all dropped out before having a breakthrough success. It would be great if a flexible PEAR-S9Y-connection could be made, especially for upgrading/plugin installations. Keep us posted. :-) Best regards, Garvin - Sebastian at Mon, 07 Nov 2005 19:15:11 +0100 I'll be on the conference from tomorrow on. We need to talk about this subject. - Toby at Tue, 08 Nov 2005 00:59:17 +0100 As Clay pointed out to me, he already made a Web_Role package containing a web_dir file role, which I already made for the workshop. If you want to create your own script, I'd recommend that one: [pearified/Web_Role http://pearified.com/index.php?package=Role_Web]