Hi,
The proposal I wrote was guided in part by RoR's migrations and also
by a similar system I have written previously using ADODB. I'm not a
fan of making code look like config files, so I purposely didn't try
to use any magic tricks. Obviously, this is open to interpretation.
Certainly, there is lots of scope for flexibility. For example, Thomas
mentioned off-list to me that supporting different file formats such
as XML in addition to PHP classes would be an obvious improvement.
I'd like to the see the concept moved forward. Unfortunately, my free
time is zero atm and that's unlikely to change for the next few months.
Regards,
Rob...
On 29 Nov 2007, at 02:34, Wil Sinclair wrote:
In principal yes, although the code actually doing the migrations
looks much more ‘procedural’ than in RoR. That’s mainly because RoR
uses Ruby syntax tricks heavily in migrations to make them look more
like ‘config’ files. I’d assume Rails migrations were a big
inspiration for that proposal because of the similarities and the 2
references to RoR migrations in the reference section. ;)
This is a decent reproduction of Rails migrations AFAIC see, but I
think we could aim higher (or at least more flexible?) in ZF.
,Wil
From: Simon Mundy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 28, 2007 6:24 PM
To: Wil Sinclair
Cc: Sander van de Graaf; Zend Framework - General
Subject: Re: [fw-general] db migrations
I don't know RoR at all but is this similar to the proposal on the
wiki for Zend_Db_Schema_Manager? - http://framework.zend.com/wiki/display/ZFPROP/Zend_Db_Schema_Manager+-+Rob+Allen