I recently watched several screencasts to get an idea of the prospects of the javascript programmer and the coding process, and was a little upset, especially based on the ruby background, seeing all this done by hand, and with such odd naming conventions!
So, there is CoffeeScript, which I look at with sufficient interest. Then there is RJS, but then Rails 3 pulled support for it, and I do not want to learn the obsolete method. Then there is Go, and I'm not sure that I still have support, and so far I don’t know enough. Then, of course, there is more and more jquery here.
But should I use jquery? Can I fully describe javascript? Can an evasion attempt be fruitful? I am not asking for a therapy session or a cracking session, so if you are finished, please do not post here. I am really intrigued by javascript. If only because all the "cool" programmers speak about functional languages now.
But I do not want to waste my time. And all I really need is a reliable way to transfer information from rails / active-record to javascript in various ways. And I need to know what I'm doing with javascript. In fact, basically all I need to do. I need to be able to look at javascript or coffeescript or go or something else, and see it as if I see a ruby that looks like an orchestra, if it is spelled correctly.
So my questions are: a.) It seems that many javascript lessons are created by javascript programmers who don’t know what they are doing. What are some good tutorials in which a developer goes over code while thinking out loud (CORRECTLY) about Javascript? Also rails + javascript materials. Condolences. There is not a single book on Rails 3 + Javascript that is crazy, because "Ajax on Rails" has changed so much since 2006. What resources do you know about other than "a lot of time"? b.) RJS, Coffeescript, etc. versus Javascript + JQuery (or alt.) What are the disadvantages of using abstract languages of a higher level and what are the advantages. And most importantly for me, the rails user, Which solution, which is likely to be compatible with rails in 2 years?RJS sounded like a great idea. But did he use a prototype? Is there any "RJS" that is ready for Rails 3?
** And again, guys, the problem is with the book. Seriously, this is a good little opportunity for the famous rails / javascript developer. Nothing has been explicitly released by major publishers on Rails and Javascript since 2006 !!! This is just amazing.