Re: New Package Proposal
| From: | Philippe Jausions | Date: | Wed, 08 Jun 2005 21:06:31 +0000 |
| Subject: | Re: New Package Proposal | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38035@lists.php.net to get a copy of this message | ||
Aeden Jameson wrote:
Hi: My Comments are belowSo, this is a kind of active process flow "chart". I'm not sure if that doesn't fall into the framework type of package... -Philippe.. to contribute a port of the Jakarta Projects Digester package.Did you take a look at http://www.php-tool.net/patConfiguration. It's similar to Digester, but the rules are simpler to create (and they can only be created using XML).I didn't see much resemblence between this tool and Digester. I didn't see where the package provided for the trigger of some processing when a XML element is encountered. For example, when a transcoding server finishes a job another system receives the XML fragment ..... <media type="mpeg" filename="video.mpeg" archive="true" .../> .... I would like to initiate the archive process upon encountering the archive="true" Digester provides the common plumbing, in the form of Rules objects, for scenarios like the one above. Without Digester I would have to code these steps1) Get the value of the archive attribute using a XML parser or patConfig 2) Test the value 3) Construct the argument signature; retrieve other values, ifneeded, for theargument signature of the method that initiates the archival process. 4) Call the method 5) Do some post-processing on return values if need.