Re: [fw-general] zf tool: no way to delete yet?

2009-11-21 Thread ja9ae


To return to the other part of the question, what would be the correct
manual process to remove an unwanted controller and keep the xml files tidy?

AJ.
-- 
View this message in context: 
http://n4.nabble.com/zf-tool-no-way-to-delete-yet-tp662776p717918.html
Sent from the Zend Framework mailing list archive at Nabble.com.


Re: [fw-general] zf tool: no way to delete yet?

2009-09-09 Thread David Mintz
On Tue, Sep 8, 2009 at 11:55 PM, Ralph Schindler
ralph.schind...@zend.comwrote:

 Hey David,

 [delete] functionality is slated for 1.10.  It was left out of the 1.8 and
 1.9 release for a couple of good reasons.  Since deleting is a pretty
 irreversible action, and sometimes is also a recursive action- we wanted to
 ensure that the console/cli interface at least had the capability to ask the
 user if deleting is OK, in other words confirming the decision to delete
 something.  This way, people will not accidentally delete things they will
 not be able to recover.


I wonder -- how hard is it to implement? I ask because I might like to
contribute, but if you guys are black belts, I am like, a yellow belt --
maybe green on a good day -- so don't know if I am equal to the task.


-- 
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness


Re: [fw-general] zf tool: no way to delete yet?

2009-09-09 Thread Benjamin Eberlei

Don't underestimate yourself :-) We are always happy for any help
and ralph would probably mentor you through the process if you would
dedicate yourself to implementing this (and he hasn't started yet).

If you seperate the Provider and the actual deletion, you can probably get
this working by writing some tests for all the possible cases you can up
with without too many problems.

You should check out the Trunk documentation on Writing Providers it got
several updates that should help you with some of the details on how
to write a provider. I am thinking about updating it further to include
details on the Project specific provider options.

Anyhow, if you ask on IRC #zftalk.dev you probably get all the details
you need much faster on how you can help.

greets,
Benjamin

On Wed, 9 Sep 2009 09:30:24 -0400, David Mintz da...@davidmintz.org
wrote:
 On Tue, Sep 8, 2009 at 11:55 PM, Ralph Schindler
 ralph.schind...@zend.comwrote:
 
 Hey David,

 [delete] functionality is slated for 1.10.  It was left out of the 1.8
 and
 1.9 release for a couple of good reasons.  Since deleting is a pretty
 irreversible action, and sometimes is also a recursive action- we wanted
 to
 ensure that the console/cli interface at least had the capability to ask
 the
 user if deleting is OK, in other words confirming the decision to delete
 something.  This way, people will not accidentally delete things they
 will
 not be able to recover.


 I wonder -- how hard is it to implement? I ask because I might like to
 contribute, but if you guys are black belts, I am like, a yellow belt --
 maybe green on a good day -- so don't know if I am equal to the task.


Re: [fw-general] zf tool: no way to delete yet?

2009-09-09 Thread David Mintz
On Wed, Sep 9, 2009 at 10:13 AM, Benjamin Eberlei kont...@beberlei.dewrote:


 Don't underestimate yourself :-) We are always happy for any help
 and ralph would probably mentor you through the process if you would
 dedicate yourself to implementing this (and he hasn't started yet).

 If you seperate the Provider and the actual deletion, you can probably get
 this working by writing some tests for all the possible cases you can up
 with without too many problems.

 You should check out the Trunk documentation on Writing Providers it got
 several updates that should help you with some of the details on how
 to write a provider. I am thinking about updating it further to include
 details on the Project specific provider options.


First noob question:  when you say check out the trunk documentation, you
mean svn checkout http://framework.zend.com/svn/framework/standard/trunk, cd
into documentation/manual/your_language  and build as per the README.
Right?

-- 
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness


Re: [fw-general] zf tool: no way to delete yet?

2009-09-09 Thread Benjamin Eberlei
On Wednesday 09 September 2009 06:47:49 pm David Mintz wrote:
 On Wed, Sep 9, 2009 at 10:13 AM, Benjamin Eberlei 
kont...@beberlei.dewrote:
  Don't underestimate yourself :-) We are always happy for any help
  and ralph would probably mentor you through the process if you would
  dedicate yourself to implementing this (and he hasn't started yet).
 
  If you seperate the Provider and the actual deletion, you can probably
  get this working by writing some tests for all the possible cases you can
  up with without too many problems.
 
  You should check out the Trunk documentation on Writing Providers it got
  several updates that should help you with some of the details on how
  to write a provider. I am thinking about updating it further to include
  details on the Project specific provider options.

 First noob question:  when you say check out the trunk documentation, you
 mean svn checkout http://framework.zend.com/svn/framework/standard/trunk,
 cd into documentation/manual/your_language  and build as per the README.
 Right?

yes, but its only in EN right now, so your_language=en.

-- 
Benjamin Eberlei
http://www.beberlei.de


Re: [fw-general] zf tool: no way to delete yet?

2009-09-09 Thread Ralph Schindler

Hey David,

Are you on zftalk.dev? Both Benjamin and myself are typically in the 
room and I'd be more than happy to help you start tooling around with 
zend_tool in order to both become productive to it as well as extend and 
enhance it.  Delete is actually probably pretty easy to implement and 
would love to see people start contributing all sorts of functionality 
and features.


-ralph

David Mintz wrote:



On Tue, Sep 8, 2009 at 11:55 PM, Ralph Schindler 
ralph.schind...@zend.com mailto:ralph.schind...@zend.com wrote:


Hey David,

[delete] functionality is slated for 1.10.  It was left out of the
1.8 and 1.9 release for a couple of good reasons.  Since deleting is
a pretty irreversible action, and sometimes is also a recursive
action- we wanted to ensure that the console/cli interface at least
had the capability to ask the user if deleting is OK, in other words
confirming the decision to delete something.  This way, people will
not accidentally delete things they will not be able to recover.


I wonder -- how hard is it to implement? I ask because I might like to 
contribute, but if you guys are black belts, I am like, a yellow belt -- 
maybe green on a good day -- so don't know if I am equal to the task.



--
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness


Re: [fw-general] zf tool: no way to delete yet?

2009-09-08 Thread Ralph Schindler

Hey David,

This functionality is slated for 1.10.  It was left out of the 1.8 and 
1.9 release for a couple of good reasons.  Since deleting is a pretty 
irreversible action, and sometimes is also a recursive action- we wanted 
to ensure that the console/cli interface at least had the capability to 
ask the user if deleting is OK, in other words confirming the decision 
to delete something.  This way, people will not accidentally delete 
things they will not be able to recover.


-ralph

David Mintz wrote:
Suppose you created controller foo with the cli tool but then you 
changed your mind. I don't suppose there's way to 'zf delete controller 
foo'  so that .zfproject.xml will stay in sync with reality. Or is 
there? Meanwhile... delete it manually and don't worry about 
.zfproject.xml? Or... bleh... update it by hand?


--
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness