Wednesday, February 22, 2012

Working with sqlobject

I have to get a little web application together for work and thought that I would use cherrypy and try out sqlobject for interacting with the database.  Last time I put one of these together, I used mysqldb.  That was pretty straightforward, as mysqldb uses sql statements, interacts with the db using a cursor object, etc.  sqlobject treats the db as a class and columns as attributes.  It does some neat things that make development faster, but the documentation is sort of spotty.  So far, though, I like it and will plow through.  Second time is always better, right?

No comments:

Post a Comment