By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,588 Members | 1,089 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,588 IT Pros & Developers. It's quick & easy.

Python + RDBM framework?

P: n/a
It seems that whenever I have an application that uses a database
(MySQL) I end up writing a database framework from scratch. Is there
some accepted pre-existing project that has done this?

I see Django, but that seems to have a lot of web-framework that I
don't (necessarily) need. I just want to have my objects go in and out
of the database in a consistent manner without writing a ton of code.
Can you just use the database part without making a full-blow web app?

I see Zope, but that doesn't use MySQL (as far as I can tell), which
I've invested a lot of time learning to use and optimize. Also, my
manager wants to be able to log into a MySQL prompt and be able to
look at the data.

--Buck
Jun 27 '08 #1
Share this Question
Share on Google+
3 Replies

P: n/a
bukzor wrote:
It seems that whenever I have an application that uses a database
(MySQL) I end up writing a database framework from scratch. Is there
some accepted pre-existing project that has done this?

I see Django, but that seems to have a lot of web-framework that I
don't (necessarily) need. I just want to have my objects go in and out
of the database in a consistent manner without writing a ton of code.
Can you just use the database part without making a full-blow web app?

I see Zope, but that doesn't use MySQL (as far as I can tell), which
I've invested a lot of time learning to use and optimize. Also, my
manager wants to be able to log into a MySQL prompt and be able to
look at the data.

--Buck
Zope definitely has MySQL interface, but if you think Django is a lot then Zope
is even more. If I'm understanding your correctly what you want is ORM/ These
links should help:

http://pythonnotes.blogspot.com/2004...orm-tools.html
http://www.sqlalchemy.org/
http://www.sqlobject.org/

-Larry

Jun 27 '08 #2

P: n/a
On Jun 14, 10:43*am, Larry Bates <larry.ba...@websafe.com`wrote:
bukzor wrote:
It seems that whenever I have an application that uses a database
(MySQL) I end up writing a database framework from scratch. Is there
some accepted pre-existing project that has done this?
I see Django, but that seems to have a lot of web-framework that I
don't (necessarily) need. I just want to have my objects go in and out
of the database in a consistent manner without writing a ton of code.
Can you just use the database part without making a full-blow web app?
I see Zope, but that doesn't use MySQL (as far as I can tell), which
I've invested a lot of time learning to use and optimize. Also, my
manager wants to be able to log into a MySQL prompt and be able to
look at the data.
--Buck

Zope definitely has MySQL interface, but if you think Django is a lot thenZope
is even more. *If I'm understanding your correctly what you want is ORM/*These
links should help:

http://pythonnotes.blogspot.com/2004...sqlobject.org/

-Larry
Both of those would work. I have a lot of data-integrity checks to
make that would be impossible at the MySQL level and hard at the
python/MySQLdb level. This will help a lot. I'll probably use the
SQLAlchemy.

Thanks so much!
--Buck
Jun 27 '08 #3

P: n/a
bukzor wrote:
It seems that whenever I have an application that uses a database
(MySQL) I end up writing a database framework from scratch. Is there
some accepted pre-existing project that has done this?

I see Django, but that seems to have a lot of web-framework that I
don't (necessarily) need. I just want to have my objects go in and out
of the database in a consistent manner without writing a ton of code.
Can you just use the database part without making a full-blow web app?

I see Zope, but that doesn't use MySQL (as far as I can tell), which
I've invested a lot of time learning to use and optimize. Also, my
manager wants to be able to log into a MySQL prompt and be able to
look at the data.

--Buck
Not sure of your project but you might consider Dabo (www.dabodev.com).
John
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.