I slogged through ActiveMapper today, as I had a spare hour. I
haven't done
all that I wanted by a longshot, but I did accomplish some things.
Here is
the commit message for those who care:
Got the unit tests running again, apart from the two that were not
working in the first place. The changes to process_relationships
and to
sqlachemy itself were causing a double 'assign_mapper' call to
cause
issues. Now, we basically defer calling assign_mapper until
process_relationships in cases where there are defined
relationships.
Also, I moved ActiveMapper to always use the default engine, as
there
were a lot of hacks inside ActiveMapper to allow for engine
swapping. The
use of the default engine and the "global_connect" functionality
significantly improves the usability of ActiveMapper.
ActiveMapper will be getting a bit of a refactor/cleanup at some
point in
the nearish future, as it has drifted a bit in complexity with the
addition of some features. For now, this should do the trick!
At some point in the next two weeks, I am planning on spending some
time on
a full refactor of the ActiveMapper code to clean it up, comment it,
and get
rid of some of the more unattractive parts of the code. I also am
hoping to
have a much larger unit test suite.
I hope this change will hold people over until I have a couple of
days to
really focus on making ActiveMapper great.
--
Jonathan LaCour
http://cleverdevil.org
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users