Search the web
Sign In
New User? Sign Up
zf-tool · ZFTool
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Zend Tool CLI: Include Path Autoloader   Message List  
Reply | Forward Message #60 of 73 |
Re: Zend Tool CLI: Include Path Autoloader

Again me,

this is for ralph mainly, further ideas and questions:

1.) why not make the actions of providers use "return $output" to
proxy to the response object, instead of the lengthy
ZendL_Tool_Endpoint_Registry::getInstance()->reponse->append() function.

This is especially important if you think that a webservice might be
the Endpoint (relevant for Zend Studio or any other non-php
application which probably will communicate with Zend Tool via
SOAP/WSDL), where the returning of information out of service fascade
objects is the way Zend_Soap/Rest/XmlRpc/Json go, they could currently
not be used with the providers.

maybe also fetch all that is outputed to STDOUT within an provider
action and append it to response if in CLI Mode.

2.) The dispatching process seems a bit overhead, its current
functionality can easily be integrated back into class
"ZendL_Tool_Rpc_Endpoint_Abstract". Since all endpoints inhert from
the abstract they can additionally offer specialized "dispatching"
based on their requirements via abstract or overridable methods.

3.) Maybe i am just not finding the right point, but how are options
from the commandline like -m --major or somewhat parsed and returned
to the dispatched provider action? for example if i had a Provider
My_Provider_Form with a generate action. How would i signalize, that
"-m|--model", "-d|--doctrine" are allowed options for this one?

4.) How are project relevant provider (i.e. add controller/action)
linked from the commandline to a specific project?

In Django for example there is a global django tooling command
"django-admin" (like zf.sh and so on), whereas for each project there
is an additional "manage" script, that has a connection to the
projects definition files (zfproject.xml in our case).




Sat Oct 18, 2008 10:27 pm

beberlei84
Offline Offline
Send Email Send Email

Forward
Message #60 of 73 |
Expand Messages Author Sort by Date

Hello Ralph (and everyone), i played with the CLI endpoint today and had some problems. Personally my include path is a bunch of symlinked libraries. Its way...
beberlei84
Offline Send Email
Oct 18, 2008
9:42 pm

Since the Tooling client in CLI will be a "final" product not something to be extended i guess its ok that most methods in ZendL_Tool_Rpc_Endpoint_Abstract are...
beberlei84
Offline Send Email
Oct 18, 2008
9:47 pm

Again me, this is for ralph mainly, further ideas and questions: 1.) why not make the actions of providers use "return $output" to proxy to the response...
beberlei84
Offline Send Email
Oct 18, 2008
10:28 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help