5 ms·
For Javascript, I totally recommend the Mozilla's guides https://developer.mozilla.org/en/JavaScript/Guide https://developer.mozilla.org/en/JavaScript/Guide.
by mickeyben 16y ago
For Javascript, I totally recommend the Mozilla's guides https://developer.mozilla.org/en/JavaScript/Guide 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 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.
- baddox 16y agoFor client-side Javascript, I started with JQuery and never really "got the basics" before that.
- mickeyben 16y agoIt'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.
- atuladhar 16y agoI'd add ExtJS (http://www.sencha.com/products/js/ 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.
- mickeyben 16y agoThanks 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.
- adamesque 16y agoI 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 http://quirksmode.org/js/events_early.html