I’d say the pattern that this design most resembles is the Delegation pattern:
http://en.wikipedia.org/wiki/Delegation_pattern. We could call it
Zend_Tool_Delegator, which might be considered too bound to the implementation.
Then again, this part of the design is highly unlikely to change in future
versions, and the only people who would be interested in this class would be
command or manifest developers, who should understand the internals anyways.
,Wil
From: zf-tool@yahoogroups.com [mailto:zf-tool@yahoogroups.com] On Behalf Of
Matthew Ratzloff
Sent: Friday, October 17, 2008 9:20 AM
To: zf-tool@yahoogroups.com
Subject: Re: [zf-tool] Zend_Tool_Rpc?
Zend_Tool_Framework or Zend_Tool_CallMapper make the most sense to me.
-Matt
On Fri, Oct 17, 2008 at 8:59 AM, Ralph Schindler <ralph.schindler@...>
wrote:
My only concern is that "Callback" doesn't impress itself as the core of the
system, which is what it is. Â While I agree, RPC does little in that
department as well, it might seem like there is a better/bigger name we can
find for it.
I don't have any particular affinity towards RPC, so what we come up with
could be a suitable replacement would be fine provided it does a few things:
 - distinguishes itself from other namespaces (like like the front
controller)
 - is a name that is both abstract enough, yet descriptive enough to be
both a distinguishable and core component of the Zend_Tool suite
 - does not describe a particular implementation, but more of a pattern.
Other names I've pondered:
Zend_Tool_System - (too abstract)
Zend_Tool_CallSystem - (this might be ok)
Zend_Tool_Core - (too abstract)
Zend_Tool_Executor - (too technical?)
Zend_Tool_Extender - (?)
Zend_Tool_Framework - (PHPUnit does something similar, so this might make
sense)
-ralph
On 10/17/08 10:22 AM, "Matthew Weier O'Phinney" <matthew@...> wrote:
>
>
>
> -- Tobias Gies <tobiasgies@... <mailto:tobiasgies%40googlemail.com>
> > wrote
> (on Friday, 17 October 2008, 02:19 PM +0200):
>> good point. The first thing that came to my mind when thinking about your
>> message was calling the namespace "Zend_Tool_ProcedureCall" or just
>> "Zend_Tool_Call", because that's what describes best what it does. The
>> current
>> Endpoints of Zend_Tool_Rpc are all procedure calls, whether they are invoked
>> from a remote point or the CLI.
>
> Zend_Tool_Callback may make sense, as well -- because in essence, all
> executable items are PHP callbacks.
>
>> 2008/10/17 Wil Sinclair <wil@... <mailto:wil%40zend.com> >
>>
>>
>> Â Â There has been some disagreement on the ZF team at Zend about whether
>> Â Â Zend_Tool_Rpc is a good namespace. The following arguments have been
put
>> Â Â forth:
>>
>> Â Â Pro: It was modeled after an RPC interface and looks like an RPC
>> Â Â interface, therefore the namespace is appropriate.
>>
>> Â Â Con: While some endpoints may expose an RPC interface, not all do. Many
>> Â Â endpoints, such as CLI, would use the interface locally. The namespace
>> Â Â therefore may lead to confusion about the architecture of the system.
>>
>> Â Â We'd like to go with the name that is the representative and clear, so
>> Â Â we thought we'd run a small survey in this group. So what do y'all
>> Â Â think?
>>
>> Â Â ,Wil
>>
>>
>>
--
Ralph Schindler
Software Engineer   | ralph.schindler@...
Zend Framework     | http://framework.zend.com/
------------------------------------
Yahoo! Groups Links