Il giorno sab 9 lug 2016 alle ore 14:43 Daniel Plainview < daniel.pla...@gmail.com> ha scritto:
> > like a generic CommandBus rather than a CLI specific one > Please, don't mix up things. CommandBus has nothing to do with CLI > Command. > I am very aware of the difference, in fact I was talking about different proposals, while starting from a baseline abstraction. > CLI Command is just UI detail exactly like HTTP controllers. > They are not place for business logic. > This problem is already known as > https://en.wikipedia.org/wiki/Magic_pushbutton anti-pattern. > This has nothing to do with my suggestion. Again, I was suggesting to start with a simple interface. I never suggested conflating commands with business logic, where did you get that from? > Thus, it's better to ask sane API (decoupled from UI) from mentioned > vendors (Doctrine and others) in order to make things > instead of asking abstract CLI commands. > I'm not sure I understand. All there is to a PSR is a specification document and a set of interfaces. This *is* about abstractions. -- 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 php-fig+unsubscr...@googlegroups.com. To post to this group, send email to php-fig@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CAFojS1uSzYOdZMdu_OW%3DOKWjqrYLP_kPeK0WCTKNFu%2BthT-qDA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.