separation events

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ghido

    #1

    separation events

    Hi all, i'm writing a software with python and wxpython for manage the
    quality/environmental/security system for the my factory. I want to
    separate the gui structure from the events and database operations for
    obtain a very modular software, for this reason i start to use
    sqlalchemy. Unfortunately i don't understand if is possibile to have a
    file with only the gui structure and another file with the database
    operations and the events of the gui. It is possibile? the use of
    sqlalchemy is a good thing?
    Thanks a lot

    Ghido

  • Bruno Desthuilliers

    #2
    Re: separation events

    Ghido wrote:[color=blue]
    > Hi all, i'm writing a software with python and wxpython for manage the
    > quality/environmental/security system for the my factory. I want to
    > separate the gui structure from the events and database operations for
    > obtain a very modular software, for this reason i start to use
    > sqlalchemy. Unfortunately i don't understand if is possibile to have a
    > file with only the gui structure and another file with the database
    > operations and the events of the gui. It is possibile?[/color]

    You may want to look for MVC (Model/View/Controller).
    [color=blue]
    > the use of
    > sqlalchemy is a good thing?
    > Thanks a lot
    >
    > Ghido
    >[/color]


    --
    bruno desthuilliers
    python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
    p in 'onurb@xiludom. gro'.split('@')])"

    Comment

    Working...