> I am very aware of the difference, in fact I was talking about different 
proposals, while starting from a baseline abstraction.

Well, still, I'm not sure how these two different concepts may have the 
same "baseline abstraction".
Even if interfaces for command message and for CLI command would 
*accidentally* look identically, they are not related.
They are very different domains and trying to find "baseline abstraction" 
for non-related domains is weird idea for me.

"*The purpose of abstraction is not to be vague, but to create a new 
semantic level in which one can be absolutely precise*".
And generic CommandInterface w/o context (CLI, Command message pattern, GoF 
Command pattern, ...) is vague interface, hence wrong abstraction.

> I never suggested conflating commands with business logic, where did you 
get that from?
Sorry for this confusion, second part of my message was directed 
to participants above.

On Saturday, July 9, 2016 at 4:23:42 PM UTC+3, Stefano Torresi wrote:
>
>
>
> Il giorno sab 9 lug 2016 alle ore 14:43 Daniel Plainview <
> [email protected] <javascript:>> 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 [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/0899872e-e718-4e37-8ed1-1922ef9e7797%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to