Matthew and I actually spoke with Daniel Lo and Justin Plock about this very issue before the announcement. We decided to leave room in Zend_Queue for additional features because there was a lot of feedback on the Zend_Queue proposal calling for more message-oriented features.
As Matthew (Weier O'Phinney) points out, Zend_Cloud_Queue was designed specifically for simple queues in the cloud, like SQS. Features that aren't common to most of these queue service offerings will not be supported in Zend_Cloud_Queue. We're actually planning to have a Zend_Cloud_Queue_Adapter_ZendQueue (the naming can- and probably should- be tweaked) adapter. This will provide support for local queues through Zend_Queue, which is important for 'offline' development for the cloud. We will probably write direct adapters from Zend_Cloud_Queue to Zend_Service_Amazon_Sqs, however. As with all design decisions in the Simple Cloud API, we're open to new ideas. So if there is a better way to do this, throw it out there so we can discuss it. This is a great discussion, and we should make sure it is added to the commentary on the proposal. I'll paste this response in a comment there. I'd appreciate it if everyone responded on the proposal instead of on the list so we can track these discussions and keep them in a place that someone new to ZF can find them. ,Wil > -----Original Message----- > From: Matthew Weier O'Phinney [mailto:[email protected]] > Sent: Wednesday, October 07, 2009 8:14 AM > To: [email protected]; [email protected] > Subject: Re: [fw-general] Re: [zf-contributors] Re: [fw-general] > SimpleCloud API Proposals > > -- Matthew Ratzloff <[email protected]> wrote > (on Wednesday, 07 October 2009, 07:55 AM -0700): > > I think any queue class should follow the conventions set forth by > Zend_Queue > > (by extending or implementing the appropriate adapter class). This > looks like > > a major oversight in Zend_Cloud_Queue's API. > > Not necessarily. Cloud queues tend to be more simplified and offer > slightly fewer features than local queue systems. Trying to map the > conventions of Zend_Queue -- which offers support for a broader variety > of queue systems and hence features -- may not make sense. > > > > On Tue, Oct 6, 2009 at 7:44 AM, Matthew Weier O'Phinney > <[email protected]> > > wrote: > > > > -- Wil Sinclair <[email protected]> wrote > > (on Monday, 05 October 2009, 12:53 PM -0700): > > > On Sept. 22, Zend launched the Simple Cloud API project: > http:// > > > www.simplecloud.org > > > > > > This ambitious project makes cloud application services from > vendors such > > as > > > Amazon, Microsoft Azure, and Rackspace available through one > API, > > bringing the > > > platform portability that you expect from PHP to the cloud. > > > > > > I’m happy to announce that the proposals for > Zend_Cloud_Storage, > > > Zend_Cloud_Queue, and Zend_Cloud_Document are now ready for > review. > > > > > > Please take a look at the proposals and leave any feedback you > have. > > > > And for those who like to click links, you'll find them here: > > > > * Zend_Cloud_Document: > > http://framework.zend.com/wiki/display/ZFPROP/ > > Zend_Cloud_Document+-+Wil+Sinclair > > > > * Zend_Cloud_Storage: > > http://framework.zend.com/wiki/display/ZFPROP/ > > Zend_Cloud_Storage+-+Wil+Sinclair > > > > * Zend_Cloud_Queue: > > http://framework.zend.com/wiki/display/ZFPROP/ > > Zend_Cloud_Queue+-+Wil+Sinclair > > > > -- > > Matthew Weier O'Phinney > > Project Lead | [email protected] > > Zend Framework | http://framework.zend.com/ > > > > > > -- > Matthew Weier O'Phinney > Project Lead | [email protected] > Zend Framework | http://framework.zend.com/
