Re: RabbitMQ Extension Naming
| From: | Pieter de Zwart | Date: | Sat, 03 Apr 2010 18:41:35 +0000 |
| Subject: | Re: RabbitMQ Extension Naming | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-7130@lists.php.net to get a copy of this message | ||
After doing some research, our extension is fully compatible with the AMQP spec. As such, I propose
that the extension project be named "amqp" instead of rabbitmq, and use the current class
names AMQPConnection, etc.
Any dissenters?
Thanks,
Pieter
----- Original Message -----
From: Pierre Joye <pierre.php@gmail.com>
To: Pieter de Zwart
Cc: PECL Announce <pecl-dev@lists.php.net>
Sent: Thu Apr 01 16:26:32 2010
Subject: Re: [PECL-DEV] RabbitMQ Extension Naming
hi,
rabbitmq as name sounds like an obvious choice for the extension itself.
About the classes/functions name, if they implement a standard and are
fully compatible with possible other alternatives then I don't think
it should be a problem to keep what you have now.
On Thu, Apr 1, 2010 at 10:18 PM, Pieter de Zwart
<pdezwart@rubiconproject.com> wrote:
> Hey guys,
>
> I am going through the motions of getting the RabbitMQ PHP Extension listed
> in PECL. Now that I have an account (thank you Pierre,) the next item is
> naming. The project is currently named php-rabbit on Google Code for obvious
> reasons, and for reasons just as obvious, that name will not work as part of
> the PECL directory.
> Since the extension is currently compiled into rabbit.so/rabbit.dll,
> ³rabbit² or ³rabbitmq² seem like good potential names. Feedback?
>
> There is one caveat: because RabbitMQ implements the AMQP standard, the
> classes provided by this extension are: AMQPConnection, AMQPQueue, etc... Is
> that a problem? Should they become RabbitConnection, or RabbitMQConnection
> depending on the chosen name?
>
> Thanks,
> Pieter
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org