适用于各种应用的 Javascript 或 RoR? [英] Javascript or RoR for wide range of apps?

查看:19
本文介绍了适用于各种应用的 Javascript 或 RoR?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 Web 开发还很陌生,但我很想开始学习如何构建 Web 应用程序.我的计划是现在就选择一种我可以完全专注的语言,以便在未来 6 个月内,我将有能力构建广泛"的网络应用程序.

I am fairly new to web development but am eager to start learning how to build web applications. My plan is to settle on a language now that I can focus entirely on, so that in the coming 6 months, I will be competent enough to build a "wide" range of web apps.

这些应用程序的范围可以从简单的计算器或交互式构建器;

These apps could range from simple calculators or interactive builders like;

http://www.extreme.outervision.com/psucalculatorlite.jsp
Apple Store 产品构建器

像 Groupon 这样的成熟服务.

To full blown services like Groupon.

经过一番研究后,我选择了 Ruby on Rails(而不是 Python/Django).但后来意识到它不是最适合我想要完成的较小应用程序.

I'd settled on Ruby on Rails after some research (instead of Python/Django). But realized later that it wouldn't be the most appropriate for the smaller applications I want done.

另一方面,我注意到许多更大、更复杂的服务可以用Javascript构建.这让我觉得我可以全身心地投入到 Javascript 中,并在几个月内有能力开发我上面提到的所有类型的应用程序.不过,与其浪费我生命中接下来的 6 个月(可能与其说是浪费不如说是错误分配),不如问一些专家.

On the other hand, I've noticed that a lot of larger, more complex services can be built with Javascript. This got me thinking that I could dedicate myself to Javascript, and have the competency in a few months to develop all the kinds of applications that I mentioned above. Instead of wasting the next 6 months of my life though (maybe not so much wasting as misallocating), I thought I'd ask some experts.

那么,纯粹学习 Javascript 可以让我创建从小型计算器到 Groupon/Twitter 大小的服务的各种应用程序,还是我需要学习 RoR?

在此先感谢您的帮助!如果我也没有正确表达这个问题,我深表歉意.

Thanks in advance for any help! Apologies if I haven't worded the question properly too.

推荐答案

同时学习 JavaScript 和 Ruby on Rails.

它们是免费的技术.

Learn both JavaScript and Ruby on Rails.

They are complimentary technologies.

对于小型计算器",您可能想要使用 JavaScript,因为很可能所有事情都在客户端(在 Web 浏览器中)完成,而不是往返于服务器.

For "small calculators" you'll probably want to use JavaScript since it's likely that everything would be done on the client-side (in the web browser) instead of round-tripping to the server.

对于需要对数据库进行持久化、与第三方 API 通信、专门计算等的任何后端工作(在 Web 服务器上),您将需要使用 RoR.

For any backend work (on the web server) that requires persistence to a database, communication with third party APIs, specialized calculations, etc. you'll want to use RoR.

通过熟练掌握前端技术 (HTML/CSS/JavaScript) 和后端 (Ruby on Rails),您将在有能力构建‘广泛’的网络应用程序"的计划方面取得良好进展.

By becoming skilled at both frontend technologies (HTML/CSS/JavaScript) and backend (Ruby on Rails) you will have made good progress towards your plan to "be competent enough to build a 'wide' range of web apps."

这篇关于适用于各种应用的 Javascript 或 RoR?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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