What Bill is talking about is Zend Framework's 80/20 policy. The goal
is to provide easy solutions for 80% of problems (the most commonly used
80% for web applications), while allowing for extensibility to solve the
remaining 20% of development needs. I think that (as you said)
savepoint is an advanced use case, thus falling in the 20%. I'd assume
you could extend the framework to handle it, but I doubt it will handle
it natively (at least not in the near future).
Hopefully that explains it.
Olivier Lépine wrote:
Well, I respectfully disagree :)
It sounds a bit to me like "don't bother to grow organic food, people
love their greasy potato chips". ;)
I agree with you that savepoint is an advanced use case but it is
nonetheless quite a handy functionnality when it comes to dealing with
critical data integrity and large transactions.
Thanks,
Olivier
Bill Karwin a écrit :
No, there is no plan currently to support savepoints in Zend_Db.
Honestly most PHP developers have never used explicit transactions at
all, and rely on autocommit in 99% of cases. Savepoints is really an
advanced use case.
Regards,
Bill Karwin
-----Original Message-----
From: Olivier Lépine [mailto:[EMAIL PROTECTED] Sent: Tuesday,
September 11, 2007 2:42 PM
To: Zend Framework General
Subject: [fw-general] Support for SAVEPOINT syntax in Zend_Db
Hello List,
Is there any plan to add support to the SAVEPOINT and ROLLBACK TO
SAVEPOINT syntax in Zend_Db ?
I looked for this in the list archive and the wiki but didn't find
anything.
Thanks,
Olivier