5 May 2008 16:16
Re: Propel event handler
Ron Rademaker <r.rademaker <at> virtualbuilding.nl>
2008-05-05 14:16:33 GMT
2008-05-05 14:16:33 GMT
Hi all, I picked up on the mail below again (which I've send to the list last November) last week and today. I actually got the first handler (which creates backups when changing db records) working in a very limited test. I don't think it would be a good idea to commit this to 1.3 because I expect this first version to still be quite buggy (and getting 1.3 into RC would be nice) . However, from the looks of it trunk is pretty old right now (and the event handler thing requires the commit I did this morning) and nobody probably uses trunk so it wouldn't get tested anyway. Where should I commit this stuff? Ron Ron Rademaker wrote: > Hi all, > > Last week I told you about my idea to create a backup function in > propel based on sql triggers. I've been working on this a bit this > week only to find out sql triggers and procedures have some very > annoying properties. This would result in having to redefine all > triggers whenever you change your schema, and often no errors if you > forget to do this (and I *know* I would something forget it and I > would be *very* surprised if the other developers here wouldn't). I > don't think this is a good idea so I've come up with a different, much > more flexible, database independent solution. The only drawback I see > is that performance would be better if the backup functionality was > implemented in sql. > > The basic idea is that you can add event to tables and columns (and(Continue reading)
RSS Feed