Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.7.5

Request #13715 Running post install scripts
Submitted: 2008-04-18 10:55 UTC
From: lsolesen Assigned:
Status: Analyzed Package: PEAR_Frontend_Web (version 0.7.2)
PHP Version: 5.2.5 OS: Windows Vista
Roadmaps: (Not assigned)    
Subscription  


 [2008-04-18 10:55 UTC] lsolesen (Lars Olesen)
Description: ------------ In Greg Beavers book about the PEAR installer, he proposes to use the PEAR installer and the PEAR_Frontend_Web package to create a custom module plugin system for for instance a CMS system. However, it seems that the PEAR_Frontend_Web is not capable of running post scripts for the packages? If it is not, how will one be able to migrate the database for instance? Maybe it should be possible to run post install scripts from the web frontend?

Comments

 [2008-05-20 22:07 UTC] tias (Tias Guns)
Hi Lars, There is infrastructure in PEAR_Frontend_Web to run postinstallscripts. In fact if you install role_web then you see it at work, so it is there and it works at least for role_web.. What version of PEAR_Frontend_Web are you running ? I have faith in the idea of using PFW for a module system, in fact I started working on something like that with the guys from Geeklog, but at a certain point we both had other priorities... I'm still interested in doing something similar, in fact I should still have the changesets around that allow you to embed PFW in an existing website, and allow to set up package filters... g,T
 [2008-06-05 21:26 UTC] lsolesen (Lars Olesen)
I would be very interested in seeing the changesets that allow me to embed PFW in an existing website and allow to setup package filters, so it can be used for at module system.
 [2008-08-02 13:41 UTC] tias (Tias Guns)
Excellent ! I've packaged and documented the changes that were required to embed it in GeekLog. You can find it at: http://tias.ulyssis.org/patch/pear/frontweb/embedded_PFW_example.tar.gz Contact me by email if you're still interested in this.