007 JSJ Online Resources for Javascript Developers




Javascript Jabber show

Summary: Panel AJ O'Neal (twitter github blog) Charles Max Wood (twitter github Teach Me To Code Rails Summer Camp) Jamison Dance (twitter github blog) Discussion Using HTML tags to attach handlers to something onLoad with a function in the global scope onClick="someFunction();" Unobtrusive JavaScript eval type things setTimeout will eval your code closures jsfiddle browser console MDN If you see a bad example, provide a better example eval is evil due to global references eval is also ambiguous Javascript Weekly Follow the instructions on the library website jQuery Ender jQuery swallows errors W3C Google references MDN Quirksmode.org caniuse.com HTML5rocks Javascript Show Reddit Twitter github_js javascriptdaily Brendan Eich Yehuda Katz Paul Irish David Herrmann YUI Blog Dave Glass Douglas Crockford Design Patterns Cartoon of browsers as kids (browser wars) Javascript the Good Parts Isaacs (Node) nodejs.org Picks Browser Wars (AJ) Mailplane (Chuck) Fluid (Chuck) Prizm (AJ) ExpressJS (Jamison) Guillermo Rouche (devthought.com) (Jamison) blog.nodejitsu.com (Jamison) Functional Javascript post by Sean Hess (Jamison) Transcript AJ: Yo, yo, yo, this is Vanilla Cream with the remix! JAMISON: [Laughs] That’s how we got to start up the podcast! AJ: In the song, they are like in the chorus and then I just throw the volume up, THE REMIX! [Laughter] JAMISON: Yo, yo, yo, this is JavaScript Jabber Remiiiiix! CHUCK: Hey everybody and welcome to Episode 7 of the JavaScript Jabber podcast. This week, we are a little short; our panel is just three of us, but we are going to see how far we get and what you all think of this. So today’s panel is made up of AJ O'Neal. AJ: Howdy. CHUCK: And Jamison Dance. JAMISON: Hello! CHUCK: And I’m Charles Max Wood from teachmetocode.com. And this week we were… well, this kind of started awhile back. AJ started making a loud and unfavorable noises about w3schools (not to mention any names), and you know, just some of the poor practices that they propagate on their website. And so, we kind of thought it would be interesting to go into what some of these resources are that we use and why we like them or don’t like them. And maybe pull out some examples of why the documentation is or isn’t very good. We are probably going to name specific sites in here, sso that you can kind of get an idea of what resources are there. And then we’ll kind of move along from there. So AJ, I’m a little curious about… you pointed out a few things about W3Schools, but what particular bothers you about them? AJ: There's just very naïve examples on there. I think that one of the things about JavaScript and reasons that it was designed the way it was is so that people with very little discipline can get in and do things, but I don’t think that if you are professional that you should be teaching other people the undisciplined way. And so, the W3Schools just their examples are the naïve way; the way that's going to get you into trouble a lot of times, rather than the way that I would teach someone or that somebody who's got a little bit more under their belt would introduce someone too, I think. CHUCK: Right. So is there a particular example that you can give? I mean, some of the things that they do that are a little bit naïve and are a little bit sloppy? AJ: Using HTML tags to attach handlers to something. So like having an audio tag with an on load in the HTML, rather than in the JavaScript. CHUCK: I’m not sure I follow. AJ: So like say— [Crosstalk] JAMISON: It’s using the on load elements of an HTML tag, right? Is that what you are talking about? AJ: Yeah. So you get on load and pass it a string which is the name of the function that’s somewhere in your JavaScript application. JAMISON: Or even better, an actual anonymous function. AJ: Yeah and so,