how to use ajax with json in ruby on rails?

How do I become better at JavaScript?

  • I am looking for experienced developers' advice. Please share how you developed your skills.My story:During three months I have been doing some coding in JavaScript. Prior to that I had spent a few months doing markup in HTML & CSS and became quite proficient in it, creating a complex UI for a web game. Then I just read the Eloquent JavaScript ebook, learnt some jQuery and Backbone.js and started contributing to the project where I am a product manager. Basically, I was just imitating developers' code to reduce the amount of work for them. Looking at other people's code I was able to create quite a lot of front-end logic and to load data from sample json files, using Backbone.js models.However, I am still far from being a developer on my own. I just use other people's code and still can't solve many issues myself, looking for people's help on Stack Overflow. I'm not able to use many programming concepts and techniques.So, my current skillset is:HTML & CSS - fluent.JavaScript, jQuery, Backbone,js - not able to do much without looking things up.Linux, PostgreSQL - can do SQL requests, just looking up the documentation.Question(s): How do I grow further from here? Should I read something more serious than Eloquent JavaScript or just keep solving small issues, looking things up on Stack Overflow and other websites? I am also interested in building my own website/mobile app, using Heroku. Should I just use Backbone.js and learn some Sinatra (Backbone, PostgreSQL, Sinatra application on Heroku) or learning AngularJS will make me look at front-end development from a different angle? Potentially learning Java, Ruby on Rails in the future?

  • Answer:

    First,Don't focus the javascript libarary.Put all your fire on the ...

Lancer Zhang at Quora Visit the source

Was this solution helpful to you?

Other answers

This is how I improved my web development skills (HTML, CSS, Javascript, etc): (Please note before I got into web dev I had been a Java (SE) developer for about 6 years so web programming concepts came easier to me than they would to a person without any programming background). Downloaded XAMPP (https://www.apachefriends.org/download_success.html) because I wanted to learn PHP (for my backend) as I realized that many hosting companies almost always offer PHP. Also XAMPP comes with MySql so I would not need to install a database on the side Downloaded Netbeans (https://netbeans.org/) as my IDE of choice for development. I do development also in Eclipse (https://www.eclipse.org/downloads/) or simply using notepad++ (https://notepad-plus-plus.org/download/v6.8.2.html). Any IDE that supports HTML, CSS, Javascript should do. Now set up I started doing whatever idea came to my mind. I created a website (http://zuks.javak.co.za) where I share some of the projects I worked on. I have not updated it in a while now since I have been working on a number of other projects since then. So the first two points I stated so that if you, or anyone else, need a bit of guidance on setting up. The 3rd point is the most important. You need to work on projects as much as you can in your spare time. It does not have to be big projects. You can even start with one small project and keep on building on it. This will surely challenge your front-end skills and as you seek for solutions to your challenges you will definitely grow.

Zukisani Zamela

Get a 2nd monitor, majority of programmers limited to just one that simple waste to switch your workflow when you could just see a realtime updates each time your save your code. Thanks to your question, I decide to get one for myself too.

James Kurt

Echoing what said, I really, really recommend https://github.com/getify/You-Dont-Know-JS.

Constantine Antonakos

Lot of tutorials are available on internet. You can use Lynda tutorials or Youtube etc. But 1 thing to remember "Practice makes Perfect".  Start doing Practice Practice Practice and also learn from others code.

Mubashar Iqbal Bajwa

I don’t know how you will code better, but I know that reading http://shop.oreilly.com/product/9780596805531.do will make you understand JavaScript much better and deeper.

Jérémie Grandsenne

Avoid copy , pasting the js code from internet while learning. Use http://jsfiddle.Com and test every piece if code. Make use of firebug to full extent. Keep upto date on js apis

Nigilan Naren

Do everything you can possibly do on your own: read books, online tutorials, online courses, build personal projects, subscribe mailing lists, follow people on Twitter, etc. Then work with people who are better than you at what you want to improve on.  They're the best teachers.  Spending a couple years working with someone better than you will gain you more valuable experience than many many years going solo (or being around people who are not as good as you).

Thịt Heo Quay

The simplest answer is goto Codecakes (http://www.codecakes.com). Create apps online - debug them - save them - share them - get likes and comments on your apps. That will really help you, believe me. Try it atleast once, sign up and rush through it.

Vinit Jogani

In addition to Pawa Chompra's excellent answer, I'd like to add a few more things : - Another great book is Functional Javascript by Micheal Fogus. - Following the previous advice, if you acknowledge that Javascript comes from Scheme (and Self), learning some Scheme will definitely make you a better Js developer. I recommend SICP and the little Schemer. Well, SICP is a must read for *any* developer. - Then understand the Javascript Object model. For this, I can't recommend anything else than David Walsh series : http://davidwalsh.name/javascript-objects, then play with Eric Elliot's stampit library.

Khalid Jebbari

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.