News for hackers. Stuff that matters.
Re:Ask HN: How to learn Javascript and HTML for devs coming ... by mickeyben on Thursday October 21, 2010 @10:00AM (#1815355)
For Javascript, I totally recommend the Mozilla's guides https://developer.mozilla.org/en/JavaScript/Guide. Just a warning some of this code doesn't fully work on all browsers but AFAIK they point it in the guides.

For HTML the w3schools guides are good http://www.w3schools.com/html/default.asp (the javascript one are also ok).

Once you get the basics of Javascript I'll recommend to go with one of this frameworks : JQuery, Prototype/scriptaculous, Mootools, Dojo, Google closure or Yahoo YUI.

There's no better ones, it's a matter of preference, I personally currently use JQuery but for some projects I used Mootools (great piece of code) and Prototype/scriptaculous. I heard a lot of goods for YUI also.

Re:Ask HN: How to learn Javascript and HTML for devs coming ... by adamesque on Thursday October 21, 2010 @12:57PM (#1816350)
I would be really wary of reading through the w3schools JavaScript guides first. You'll learn programming basics (which, as an experienced developer, you won't need), but not much about what makes JavaScript so interesting. And many of the coding practices you'll see at w3schools are painfully outdated and/or just bad practices.

Basically, if you're reading a JavaScript guide and it mentions document.write(), run away.

The MDC guides are much, much better. And Crockford's book is best.

There are also fantastic explanations of the Event model at PPK's Quirksmode site. Start here and read through all of his Event articles:

http://quirksmode.org/js/events_early.html

Re:Ask HN: How to learn Javascript and HTML for devs coming ... by atuladhar on Thursday October 21, 2010 @11:52AM (#1815985)
I'd add ExtJS (http://www.sencha.com/products/js/) to that list. It's a got a very larget widget library, an active community and provides adapters to make it easy to work at the same time with other libraries. Plus, some of the new libraries Sencha (the company behind ExtJS) is coming up with to develop JavaScript apps on Touch devices look very promising.
Re:Ask HN: How to learn Javascript and HTML for devs coming ... by mickeyben on Thursday October 21, 2010 @12:18PM (#1816107)
Thanks for adding it to the list, I've always been stopped by the Windows-ish UI (as Google closure) but I read good feedbacks coming from it.

I also forgot GWT if you're coming from Java it could be a simple way to do some web development. I used it a bit at Seesmic and keep a good overall experience.

Of course GWT abstracts lot of things so you'll ended up by having a nice final product but not really understand the roots of html and javascript.

Re:Ask HN: How to learn Javascript and HTML for devs coming ... by baddox on Thursday October 21, 2010 @11:52AM (#1815983)
For client-side Javascript, I started with JQuery and never really "got the basics" before that.
Re:Ask HN: How to learn Javascript and HTML for devs coming ... by mickeyben on Thursday October 21, 2010 @12:30PM (#1816170)
It's true that it can be simpler to directly begin with a framework. I actually began with Prototype.

If you want to build plugins for your Framework of choice (JQuery in your case), then it is also a good idea to understand what is happening behind the scenes.

There are many situations where using a Framework is not really suited. Do you really need to embed your framework of choice (JQuery in your case) if the only thing you need is show or hide a single element of your page ?

I think "begin with a framework or not ?" is a long debate (whatever the language is). I don't have a good answer to this but in the long run knowing the language you use is recommended.