We at FormaPro open sourced our messaging solution. It is based on JMS like interfaces https://github.com/formapro/fms. We tried to keep it as close as possible to JMS. Could be used as foundation for the standard.
there are two implementations: https://github.com/formapro/amqp-ext-transport, https://github.com/formapro/stomp-transport Here's the doc: https://github.com/formapro/message-queue-dev/blob/master/docs/index.md On Monday, March 28, 2016 at 6:38:20 PM UTC+3, Larry Garfield wrote: > > On 3/28/16 4:53 AM, Márk Sági-Kazár wrote: > > Hi all, > > > > For quite a few years now, the world goes towards distributed systems. > > It became very important for these systems to communicate with each > > other in an efficient way. > > > > Also, with domain driven design, CQS, CQRS, etc it became important to > > exchange messages within the application as well. > > > > Whether the message's destination is another software component or > > another external service, it doesn't matter. > > > > Therefore, I am suggesting to create a PSR for such messaging API. > > > > Java's JMS is quite impressing from my point of view: > > https://en.wikipedia.org/wiki/Java_Message_Service > > (although I am not sure whether it can easily be adopted to PHP) > > > > Existing PHP examples for some kind of messaging: > > Bernard also does some sort of messaging: > > https://github.com/bernardphp/bernard > > Simple Bus: https://github.com/SimpleBus/ > > Prooph: https://github.com/prooph > > > > What do you think? I have a fear that this topic is too big to be > > standardized, so I would really love to hear any ideas on this topic. > > > > Kind regards, > > Mark > > My initial thought is that "message passing" is indeed too big of a > topic for a single standard to address. It's too general, much like > "DI" or "ORM". A specific, focused subset of messages, maybe. Eg, > would queue services be standardizable? (Common interface for > Beanstalk, Amazon SQS, *MQ, etc.) Not being an expert in that area I've > no idea, but that's more the level that a good PSR would work, IMO. > > Focus on "as a consumer of some other service, can I abstract how I talk > to that service?" > > > -- > --Larry Garfield > > -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/7793b292-e5fe-412e-8b16-c86af029c57f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
