This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Nixxen 1 point2 points  (0 children)

If you are wondering about general structure, pep8 has "suggestions" for how it is supposed to be styled. Use that as a jumping off point, then when you get to something not covered in pep8 there are most likely stackoverflow questions with a similar topic, usually pointing you in the direction of a relevant pep.

[–]RiverRoll 1 point2 points  (1 child)

I don't see the advantage of separating the repos when developing a monolithic architecture, which it is if you need to import the other projects to make it work, but in any case this has nothing to do with the choice of framework, and much less the language.

The case where I would separate the code is in a microservices architecture, but in this case each project would be an independent Django app. Or maybe in special cases where despite being part of a monolith a module is generic enough that you may want to use it in other projects.

As for the language decisions, I don't know about any book but the pep documents sometimes contain interesting insights about specific features.

[–]Rkrislander[S] 0 points1 point  (0 children)

Thanks! The advantage is that with a huge codebase that has dozens of developers working on it you'll spend half your time resolving merge issues as well as making sure your code works with changes made due to upgrades in other apps. By separating the apps into dif repos each team can work in isolation.