On Mar 27, 2006, at 8:39 PM, Michael Carter wrote:
On a side note, I'm pretty interested in the concepts behind SAs unit of work. I saw somewhere that you mentioned it was a pattern from Martin Fowler's book. Do you think I should take a look at the book or is enough apparent from your code?
*everyone* should read that book. what a life changer that was. as well as the good old GOF.
as far as the code, the unit of work is the most intense part of the whole thing. When theres a bug in calculating circular dependencies, it usually takes me half an hour just to wrap my head around that section of it again. Which is a little uncomfortable, ideally every small piece of code should be very clear. The UOW code went through many refactorings where it became clearer and clearer who the actors were and what theyre doing, but I wonder how much further it could go in that direction.
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users