Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project structure for desktop applications using SQLAlchemy and wxPython

I want to create a desktop application using SQLAlchemy and wxPython, but I'd like to structure the project in a way similar to django projects, using django app-like packages (related models, views and tests in the same package) and settings and main module in the root directory.

I'd like to know if that is a good structure and how to do that minimizing coupling between packages.

like image 985
Ezer Fernandes Avatar asked Dec 12 '11 02:12

Ezer Fernandes


1 Answers

You can certainly do it that way. I recently started a project with another fellow to demonstrate one way to do just this sort of thing. You're welcome to take a look at how we separate all this stuff out here: https://bitbucket.org/driscollis/medialocker

It's gotten a little abstract, but I think you can still use it as a model anyway. Hope that helps!

like image 84
Mike Driscoll Avatar answered Oct 26 '22 03:10

Mike Driscoll