RE: Package thoughts: XML_RSS_Publisher

From: Date: Mon, 17 Jan 2005 21:39:57 +0000
Subject: RE: Package thoughts: XML_RSS_Publisher
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35560@lists.php.net to get a copy of this message
A storage layer would be an optional datasource for the feed. In the application I am working on - there is a need for information to be derived from the database. But if you think it isn't worth the effort.. David -----Original Message----- From: Lukas Smith [mailto:lsmith@php.net] Sent: Monday, January 17, 2005 10:07 PM To: David Ashwood Subject: Re: Package thoughts: XML_RSS_Publisher David Ashwood wrote: > Cool - thanks for the prompt info Lucas, > > First - I gotta apologise for the excess messages - Outlook decided to throw > a Benny, things went pear shaped (pardon the pun) for a bit :( > > > The main processing engine would be use the XML_Serializer - that's what I'm > using at the moment - and why reinvent the wheel? > > Currently I'm building a hash of categories - either statically or via a > database. > The Database side of things uses a subclass of DB_DataObject and uses > defined links to pull extra items - if necessary. > > As nothing existed within PEAR already - I thought I'd wrap it up and define > an interface. I wouldnt force the use of any storage layer at all. To be honest in my opinion it seems to be like this is more of a sample of how to use PEAR. Which is obviously not a bad thing! However it seems to me like its going to end up being just a few lines of glue code with probably just as much config code. Turning this into a package itself is likely to be less flexibile or create too much overhead. regards, Lukas

« previous php.pear.dev (#35560) next »