在Django中开发一个小型门户安全吗
其实这是3个问题。我曾经使用开源开发过一个网站,使用 smarty。但在深入研究代码之后,我认为如果它在一些更好、更敏捷的框架中,那么我可以轻松地更新代码,而无需花费太多时间。与此同时,我想学习 PHP 以外的东西,以提高我的技能。事实上,当我享受某件事时,我会做得更好。我喜欢在 django 和 RoR 中工作。我对两者都是新手。我在这两种语言中都工作过,并且喜欢 RoR,尽管我的 Python 比 Ruby 更好。我认为 Yii 是一个更好的框架,但与 RoR 或 Django 相比,它的文档都不是很好,而且它仍然是 PHP,所以技能方面没有太大的改进。
我选择了Rails,但在Rails的安装和配置过程中我什至多次停止。我发现虽然rails比Django更老,但是python社区似乎比rails活跃得多。我刚刚尝试了 Django,有新的东西,但在做教程时我没有发现任何障碍。非常好,虽然有些东西不符合我的喜好,但好多了。 django 的问题在于它是在 Python 2.x 中,所以我认为当它被移植到 Python 3 时,我也需要将我的工作转移到 python 3。所以我想知道我需要重做多少工作。因为它是在 Django 框架上而不是在低级别。那么我的代码会自动移植吗?我什么时候需要做?我猜今年夏天?或者是敏捷、可扩展、令人愉快且易于部署的更好的东西,因为我认为 Django 托管也在较少的服务器上,但任何基于 JVM 的平台都是如此?
那么你们怎么想,请告诉我是否应该选择 django、rails、Yii 或其他类似 grails 或 wicket 的东西???请根据上述因素告知,
先谢谢大家的建议。
Actually these are 3 questions. I once developed a site using an open source, that use smarty. But then after going inside a code, I think if it was in some better and agile framework then I can update code much easily without spending much time. At the same time I wanted to come to some thing else than PHP, to improve my skillset also. Actually I do better work when I enjoy some thing. I enjoyed working in django and RoR. I am new to both. I worked in both and like RoR although my Python is better than Ruby. I saw Yii as a better framework but neither its documentation is very good as compared to RoR or Django and it will be still PHP so no big improvement in skillset.
I selected Rails, but I am even stopping many time during just installation and configuration of Rails. And I found that although rails is elder than Django but python community seems much more active than rails. I just tried Django and there were new things but I didn't find any barrier while doing tutorials. It was very good, although some thing were not according to how I liked but much better. The problem with django is that it is in Python 2.x so I think when it will be ported to Python 3 then I will need to shift my work to python 3 also. So I want to know that how much percent I will need to redo my work. As it is on the Django framework and not at low level. So will my code automatically portable? And when will I need to do? I guess this summer? Or is it some thing better that is agile, scalable, enjoyable and easy to deploy as I think Django hosting is also on less server but same can be case with any JVM based platform?
So what you guys think, Please tell whether should I go with django or rails or Yii or some thing else like grails or wicket??? Please tell in the light of above mentioned factors
thanks everyone for your advises in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我用 php 做了很多年,切换到了 Rails / 如果你想在 php 中做> 看看 zend 框架或 symphony
如果你有一些后端的东西待办事项, Rails 是非常特别的>主动管理 / Rails 管理加速开发
django 很好,但部署起来要困难得多,如果你问我
的话,在我的例子中,如果你的技能是 PHP 并且你需要快速完成它 > zend_framework
一旦您了解了差异,rails 并没有那么复杂.. >你知道编码是如何工作的.. 只是语法不同.. 由于生成器,rails 极大地提高了生产力/如果你知道如何使用它们,railscast 是一个超级让人兴奋的地方,
所以我的意见是:如果你需要完成它快速掌握您已经掌握的技能> Zend 框架
实验性和真正性感的代码 >轨道
欢呼皮埃尔
i did php for ages switched to rails / if you want todo it in php > look at zend framework or symphony
rails is great special if you have some backend stuff todo > active admin / rails admin speed up development
django is nice but way harder to deploy if you ask me
so in my case if your skill set is at PHP and you need to get it done quick > zend_framework
rails isnt that complicated as soon as you understand the differences .. > you know how coding works .. just syntax is different .. rails gives a HUGE BOOST in productivity due the generators / if you know how to use them railscast is a super place to get hocked
so my opinion : if you need to get it done quickly with skills you already got > Zend Framework
Experimental and Realy sexy to code > rails
cheers Pierre