嵌入式 Web 服务器环境中的 Django 或 Ruby on Rails?
我正在研究的特定情况是嵌入在硬件设备中的 Lighttp Web 服务器,类似于您的家庭网络路由器。所以你可以想象,无论是内存可用性还是处理能力,占用空间都很小。
为我提供了开发用于配置此设备的 Web 应用程序的两个选择:Django 或 Ruby on Rails。这是一个电信设备,Web 应用程序将在其上配置设置并管理联系人目录以及拨打和接听设备呼入电话的能力。该应用程序还将用于升级设备。
当前界面使用Flash前端和php后端。但他们想摆脱 Flash 和 PHP。
那么对于这种情况,普遍的看法是什么?
The particular situation I am looking at is a Lighttp webserver embedded in a hardware device, similar to your home network router. So you can imagine, the footprint is small in both memory availability and processing power.
The two choices offered to me for developing the web application used to configure this device is either Django or Ruby on Rails. This is a telecommuncations device and the web application will configure settings on it as well as manage contact directories and the ability make outbound and accept inbound calls to and from the device. The application will also be used to upgrade the device.
The current interface uses a Flash front-end and php backend. But they want to get rid of both Flash and PHP.
So what is the prevailing opinion out here for this situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您不可能在 Python 或 Ruby 中看到这种情况。我认为您需要提供更多详细信息,以便我们为您提供帮助。
No chance you will see that with Python or Ruby. I think you need to provide more details for us to help you out.
您所提出的问题(“普遍意见”)与 stackoverflow 的主题无关(没有明确的答案)。然而,我认为您真正要问的是“在只有 XYZ 资源的设备上使用 RoR 与 Django 相比是否有任何技术障碍或好处?”
如果不确切了解您的设备的限制是什么,我们无法回答这个问题。可能两个框架都不合适,或者其中一个都可以(如果有人“向您提供”这些作为选择,则后者更有可能)。
您可能会发现这个问题的答案很有帮助:
是否有比较各自的基准django、rails 和 PHP 框架的内存使用情况?
Your question as asked ("prevailing opinion") is off-topic for stackoverflow (no definitive answer). However, I think what you're really asking is "are there any technical obstacles or benefits to using RoR vs. Django on a device with only XYZ resources?"
We can't answer that without knowing exactly what the limitations of your device are. It could be that neither framework is suitable, or either one would be fine (the latter is more likely, if someone has 'offered' you these as choices).
You may find answers to this question helpful:
Are there benchmarks comparing the respective memory usage of django, rails and PHP frameworks?