Django或Ruby-On-Rails? [英] Django or Ruby-On-Rails?

查看:128
本文介绍了Django或Ruby-On-Rails?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在看工作。大多数公司需要RoR或Django经验。我不知道任何一种语言。与RoR合作的组织数量大于Django。但是我喜欢django,因为python。



你编码/招聘人员建议我知道什么?

解决方案

我最好的答案是让你学习两者。



考虑这个你的最终目标,而把你的问题看成是哪一个我应该先学习吗?



我建议您从Django开始,特别是如果您有Python经验。 Django的方法,像Python本身一样,更容易学习。一旦你弄湿了,就可以学习Ruby on Rails,因为当你进入现代Web 2.0的员工队伍时,这个框架可以让你轻松赚钱。



一旦你完全熟悉Ruby on Rails,并且一直在工作,继续学习Django。熟悉自己的基础知识,然后开始学习一些更先进的东西。据说Django的内在胆量比Rails更容易解剖。如果你发现自己面临着一个令人惊讶的,具有挑战性的Web平台实施的开放式工作,你会发现Django的知识非常方便。



这是一个有弹性的破解:



Django




  • 很好的文档

  • $ / $>
  • 开始使用更少的文件(与Rails中的脚手架)

  • 建立在Python上,您可以也知道无论如何

  • 更像类似于Java Servlets / JSP的企业资料

  • 更容易挖掘其内部



Ruby on Rails




  • 这是什么热点

  • 热点意味着更多的工作

  • 你想要钱,不是吗?

  • 当你想制作一个传统的web 2.0网站,其生成的代码可以让您快速完成

  • 与JavaScript库集成

  • 建立在Ruby上,您可以知道anyw ay



裁决:Django首先(做教程),然后Rails,然后Django再次


I have been looking at jobs. Most of the companies require RoR or Django experience. I don't know any of the languages. The number of organizations working with RoR is greater than Django. But I prefer django because of python.

What do you coders/recruiter suggest me to know?

解决方案

My best answer is for you to learn both.

Consider this your end goal, and instead consider your question as, "Which one should I learn first?"

I recommend that you start with Django, especially if you have Python experience. Django's approach, like that of Python itself, is more condusive to learning. Once you've gotten your feet wet, learn Ruby on Rails, because that's the framework that will net you easier cash when you get out into the modern Web 2.0 workforce.

Once you're thoroughly familiar with Ruby on Rails and have been working for a bit, continue learning Django. Refamiliarize yourself with the basics, then start to learn some of the more advanced stuff. Django's inner guts are supposedly easier to dissect than that of Rails. If you ever find yourself faced with a job opening with a surprisingly novel and challenging web platform to implement, you'll find your Django knowledge quite handy.

Here's a bulletized rundown:

Django

  • Great documentation
  • Thorough tutorial to ease you in
  • Fewer files to understand at first (vs. scaffolding in Rails)
  • Built on Python, which you might as well know anyway
  • More similar to enterprise stuff like Java Servlets/JSP
  • Easier to dig into its innards

Ruby on Rails

  • It's what's hot
  • Hot means more jobs
  • You want money, don't you?
  • When you want to make a "traditional" web 2.0 site, its generated code lets you get done really fast
  • Integration with JavaScript libraries
  • Built on Ruby, which you might as well know anyway

Verdict: Django first (do the tutorial), then Rails, then Django again

这篇关于Django或Ruby-On-Rails?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆