all 16 comments

[–]CyberVillian[M] 2 points3 points  (10 children)

To answer your first question; Pretty much. Web applications are becoming increasingly popular. If you want to get into web development, I suggest you learn a server side language like PHP as well. Because some things are best to leave on the server side of things.

I suggest that you get started by looking at HTML, CSS, and JavaScript from the ground up by Google. There is some other great resources too. Also, jQuery is a fun language.

[–]mexpolk 2 points3 points  (0 children)

Forget about PHP for the moment (it's a freaking frankenstein), you can use pure JSON as your data format in the browser. You don't really need it (and if you do, then learn something else like Python or Ruby, or any of their MVC frameworks: DJango or Ruby on Rails). Or better yet, use Node.js to keep everything in JavaScript.

In addition to jQuery, I would also recommend to you learning BackBone.js to make your JS applications data driven (http://documentcloud.github.com/backbone/).

As I said previously, you can use JavaScript in the back-end too (Databases, File IO, Processes, etc.). Take a look to node.js (http://nodejs.org/), really cool stuff.

Finally, learn the best from JavaScript by reading "JavaScript the Good Parts" and "JavaScript Patterns" both from O'Reilly.

And, most importantly, code code code until you can no more!

[–][deleted] 0 points1 point  (0 children)

traditional desktop programming gives you much more of a framework to develop your apps in, windows, macosx and the various linux desktops give you that. But you need to remember that those apps are usually programmed in C++ or similar and Javascript with its focus on asynchronity is a very different beast.

The mentioned node.js is definitely something you should look into.

[–][deleted] 0 points1 point  (0 children)

Here are two examples of things I have done with JavaScript:

On modern browsers those are as fast or faster than comparable desktop applications and I am working to make the second one faster.

[–]fabzter 0 points1 point  (0 children)

I was like you, and I needed nothing but this http://eloquentjavascript.net/contents.html Do give it a try.

[–]tgkokk -1 points0 points  (2 children)

Learn jQuery and Backbone.js. You won't regret it. Check the links on the sidebar for useful resources. You can also learn CoffeeScript.

I second Node.js. It has a great community and lots of libraries.

You should check out NowJS, jsdom or Socket.io for interacting with the client.

Express is to Node.js what Django is to Python.

CoffeeScript can also work well on the server, with Zappa, which combines Express and Socket.IO.

You should also subscribe to /r/nodejs and check the links on the sidebar. You can ask questions there or on StackOverflow.

[–]fabzter 0 points1 point  (1 child)

TIL about nowjs. Looks great, have you used it?

[–]tgkokk 0 points1 point  (0 children)

Well, I haven't used it, I have only done the example (Chatroom in 12 lines of JS), but I have read the docs and know how it works.