Reputation: 365
I have a theoretical question about how integrate django with others subsystems not web oriented. I don't know if it is possible develop this class of systems with django or if there are another best alternative (another web framework).
I propose a possible system with this requirements and the structure that I would develop.
For example:
My idea for this architecture is as follows:
project_dir
| --- __init__.py
| --- main_system (eg: calculus, task in background, daemons...)
_____| --- __init__.py
_____| --- modules of this subsystem
| --- data_and_persistence
_____| --- __init__.py
_____| --- models (ORMs, SQL, ad hoc solutions,...)
| --- common_modules
_____| --- __init__.py
_____| --- auxiliar common modules
| --- command_line_interface
_____| --- __init__.py
_____| --- command_line_interface_modules
| --- web_interface
_____| --- __init__.py
_____| --- django project here
| --- test
_____| --- __init__.py
_____| --- test of all susbsystems
There are the following layers (summarized):
I have found some problems with this solution:
What things would you change? How would you do it?
Regards
Upvotes: 1
Views: 186
Reputation: 13731
It sounds like a Django/Celery combination would satisfy your requirements (except for the one that says you don't want to use Django).
Upvotes: 1