使用多个应用程序的缺点django [关闭](Disadvantages of using multiple apps django [closed])

编程入门 行业动态 更新时间:2024-10-28 07:18:56
使用多个应用程序的缺点django [关闭](Disadvantages of using multiple apps django [closed])

在django中,创建多个应用程序和使用相同的应用程序并在同一个应用程序中使用所有模型和视图有什么区别? 后者会产生任何问题吗?

In django,What is the difference between creating multiple applications and using the same application and using all models and views in the same application? Will the latter create any problems?

最满意答案

划分et impera。

这是编程的基本规则之一。 将您的问题分成小块,从长远来看,您会很高兴:

代码可重用性 保养 优雅?

此外,如果您正在开发一个开源项目,您的主要目标是找到对其感兴趣的其他人,这可以帮助您。 找到一个对某些特定事物感兴趣的人比找一个想要采用你的超级巨大的应用程序的人更容易,这个应用程序做了许多其他人不喜欢的美好事物。

Divide et impera.

This is one of the basic rule of programming. Divide your problem in smaller pieces and on the long run you will be happy:

Code re-usability Maintenance Elegance?

Also if you are working on an opensource project your main goal would be to find someone else who is interested in it and that could help you. It is easier to find someone interested in something really specific than to find someone who wants to adopt your super-huge app which does a lot of beautiful things that nobody else like.

更多推荐

本文发布于:2023-08-06 11:54:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1448664.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   应用程序   缺点   django   closed

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!