Ruby on Rails Tuesday, December 29, 2015



On Tuesday, December 29, 2015 at 1:38:14 PM UTC, Nojin Park wrote:
Hi all,

I've started learning Ruby and I'm still learning the basics.
My goal is to create web applications using rails and multiple API's (API mashup.. Google, FB, Twitter,etc...)

I see most people coding in Java script when communicating with API's and I have 2 questions.

1. Is learning java script the only option to communicate with API's?
2. If yes, do I need to learn entire java script? or just learning small basic portion will still do the work?

I have no "real coding experience" but have pretty good understanding about how the web works under the hood.
Thanks in advance :)

It depends: if these are server side apis (i.e. called from your rails app) then no, if they are client side ones (the api call is made by the user's browser) then yes. It's not really possible to escape javascript if you're developing for the web (setting to one side languages that are transpiled to javascript). As always there is a distinction between a language and the frameworks, libraries and ecosystem built on top of it - Javascript itself is not that big or complicated and you do need to understand pretty much all of it, but you don't need to learn ember, react, etc. if you don't want to.

Fred

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9e3a6096-674d-457e-aad5-d70bb9616399%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment