[sqlalchemy] Re: A question about best practices after the Object Relational Tutorial

2009-02-16 Thread Jessica Meyer
Thank you for your replies. With helper code I mean: I want the architecture of my program so: - There's a database - Only SQLAlchemy talks to the database - There is a function for every task that SQLAlchemy does So, I want to do something like this in the end: addCustomer

[sqlalchemy] A question about best practices after the Object Relational Tutorial

2009-02-15 Thread Jessica Meyer
Hi there I just completed the Object Relational Tutorial [1] and want to use that knowledge to start a little project of mine. So I have a customer table in my database, and I want a helper function that converts the password to a SHA1 hash and performs other things. This is just a simple