Python + RDBM framework?

Discussion in 'Python' started by bukzor, Jun 14, 2008.

  1. bukzor

    bukzor Guest

    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
     
    bukzor, Jun 14, 2008
    #1
    1. Advertising

  2. bukzor

    bukzor Guest

    On Jun 14, 10:43 am, Larry Bates <`> 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 then Zope
    > is even more.  If I'm understanding your correctly what you want is ORM/  These
    > links should help:
    >
    > http://pythonnotes.blogspot.com/200.../www.sqlalchemy.org/http://www.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
     
    bukzor, Jun 14, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anatoly Volodko
    Replies:
    1
    Views:
    2,117
    Mattias Sjögren
    Aug 14, 2003
  2. Charles A. Lackman
    Replies:
    1
    Views:
    1,390
    smith
    Dec 8, 2004
  3. Mark
    Replies:
    4
    Views:
    1,728
    Juan T. Llibre
    Nov 17, 2005
  4. moi
    Replies:
    3
    Views:
    4,062
    quaiser_ali
    Sep 26, 2008
  5. Replies:
    2
    Views:
    9,316
    Darryl L. Pierce
    Sep 11, 2005
Loading...

Share This Page