简体   繁体   English

django或playframework

[英]django or playframework

We are a small team (4 guys) building an ERP SaaS application for Schools. 我们是一个小团队(4人)为学校构建ERP SaaS应用程序。 We are Java programmers but I know python and like Django. 我们是Java程序员,但我知道python和Django一样。 No one else in our team has worked on Django before. 我们团队中没有其他人以前曾在Django上工作过。 We've MongoDB as back-end and planning to use AWS. 我们将MongoDB作为后端并计划使用AWS。

I need to know which fares better, Django or Play! 我需要知道哪些票价更好,Django或Play! in terms of: 就......而言:

  1. Ease of development 易于开发
  2. Scaling 缩放
  3. performance (Response time, Speed etc) 表现(响应时间,速度等)

I respect both the communities (Play! and Django) and have high regards for their great work. 我尊重这两个社区(Play!和Django)并对他们出色的工作表示高度的敬意。 I do not intend to start a flame-war and just need an objective comparison between these two excellent frameworks. 我不打算开始一场火焰战,只需要对这两个优秀的框架进行客观的比较。

Thanks, 谢谢,

YM YM

I feel this is too open of a question, but I would say the choice depends on: 我觉得这个问题太开放了,但我会说选择取决于:

  1. How many experts in Python do you have? 你有多少Python专家? (Real experts, not "I can Google it") (真正的专家,而不是“我可以Google吧”)
  2. How many experts do you have in Java/Scala? 你有多少专家在Java / Scala?

About performance, Play is fast, Play with Japid or Scala blazzing fast. 关于性能,播放速度快,玩Japid或Scala快速咆哮。 I can't compare to Django. 我无法与Django相提并论。 But for an ERP I doubt the differences will matter so much. 但对于ERP,我怀疑差异是否会如此重要。

On scalability, Play uses a stateless model which facilitates it. 在可伸缩性方面,Play使用无状态模型来促进它。 I'm not sure if Django it's stateless, but for what I know scalability is not a huge issue (just put more servers). 我不确定Django是否是无状态的,但据我所知,可伸缩性并不是一个大问题(只需要放更多服务器)。

So it ends up being a choice of languages. 所以它最终成为语言的选择。 You'll be up to speed quicker in a language that you know AND like. 你会用你熟悉和喜欢的语言加快速度。 Check the overall skills on your team, or at least of the part of the team that will work on backend (html, javascript, etc will be the same for both platforms). 检查团队的整体技能,或至少在后端工作的团队部分(html,javascript等对两个平台都是一样的)。

If that's Python, go Django. 如果那是Python,那就去Django吧。 If that's Java or Scala, go Play. 如果是Java或Scala,请转到Play。

Oh, and a hint: don't try to learn a new language while doing the project. 哦,还有一个提示:在做项目时不要尝试学习新语言。 Like, trying to learn Scala to develop this. 就像,试图学习Scala来开发它。 As a geek it will be really fun and you'll learn a lot. 作为一个极客,它将非常有趣,你会学到很多东西。 But most likely your project will fail or be incredibly delayed. 但很可能你的项目会失败或被推迟。 Go for the safe path ;) 去安全的道路;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM