datamapper - What do you think is the best approach for creating a data mapping layer in python? -


i appreciate hearing opinions on best approach creating light-weight data mapping layer between python objects , postgres database. i'm using psycopg2 library, , plan use pgbouncer. looked @ this: http://codeinthehole.com/writing/domain-model-mapper-a-php-data-mapper-implementation/ basic idea, isn't clear how closing connection after queries. component i'm building similar forum in has familiar user, post, forum tables, etc.

the best approach not create new layer, use existing one. sqlalchemy full-featured, others good, such storm.

maybe explain why want write new one?


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -