(评论)
(comments)
原始链接: https://news.ycombinator.com/item?id=38248421
The author discusses Rails vs PHP/Django and highlights the following points:
1. 生产力:Rails 由于其快速的开发周期、约定优于配置方法以及框架的高度成熟性,提供了更高的初始生产力。
2. 开发人员体验:Rails 提供专门用于改善开发人员体验的工具和资源,例如脚手架、生成器和 Rake 任务。
3. 社区支持:Rails 拥有重要的社区支持,提供大量第三方库、教程、书籍和文档,而 PHP 和 Django 提供类似级别的社区支持。
4. 约定优于配置:Python 的 Django 在选择可配置方法方面提供了灵活性,而 Rails 则强加了清晰、定义的约定,从而提高了开发人员的速度。
5. 适用性:Rails 由于其重量较轻,特别适合更小、更快的原型迭代,而 Django 更适合开发大型系统。
最终,每个人的偏好和要求最终决定 Rails 是否适合他们的情况。 Regardless, Rails remains a viable and valuable option among popular Web Frameworks.
此外,本文还讨论了 Rails 对于更多技术和高级用例的适用性。 然而,它指出,此类对话经常导致基于框架初步经验的错误信息或误解而得出关于 Rails 的不稳定结论。 尽管如此,作者承认,Rails 显然不适合在需要高可用性和并发可扩展性的高度专业化垂直领域中使用。 Overall, the author stresses the importance of evaluating individual preferences, limitations, and constraints when determining if Rails aligns with those needs.
最后,讨论围绕 Rails 开发中的约定、权衡和最佳实践方面的挑战,涉及热加载和活动记录保存、异步行为和资源管理等主题。
The latest developments in Rails are making the solid foundation even more solid. There is stuff happening to make infrastructure easier: Kamal sure, but also Solid Cache and Solid Queue and there is a lot happening in the front-end with Turbo (Morphing) and mobile apps with Turbo Native and Strada.
We have upgrade to 7.1 already and have a mobile app in production that is built with Turbo Native. I am also excited to start replacing our Redis cache with Solid Cache to make everything simpler and cached longer.
Great to see the Rails community so alive and see the deep connection the (ex) core team members have to the framework!
reply