UI as seperate app
I manage a Django site which has evolved over the years from a single model "god" class to a multi app relational design. The migrations have been painful but it's been worth it. I may now have to merge it with a second teams site.
I'm currently thinking of a break. Build from scratch following best practices throughout. However the one bit I'm struggling with is the UI. I find that i want common elements across all, a toolbar for example, that reference all apps. My current cludge is a placeholder app providing a base template with blocks which are then overridden later by the final app.
I'm tempted to break the entire UI out in to a separate app. Nothing but views, templates and urls. I see this as similar to using an external angular / react interface, but I'm wondering on others views. Does this seem sane or am i going to regret it?
/r/django
https://redd.it/c8zft3
I manage a Django site which has evolved over the years from a single model "god" class to a multi app relational design. The migrations have been painful but it's been worth it. I may now have to merge it with a second teams site.
I'm currently thinking of a break. Build from scratch following best practices throughout. However the one bit I'm struggling with is the UI. I find that i want common elements across all, a toolbar for example, that reference all apps. My current cludge is a placeholder app providing a base template with blocks which are then overridden later by the final app.
I'm tempted to break the entire UI out in to a separate app. Nothing but views, templates and urls. I see this as similar to using an external angular / react interface, but I'm wondering on others views. Does this seem sane or am i going to regret it?
/r/django
https://redd.it/c8zft3