Google Tech Talks
August 17, 2007
ABSTRACT
This talk explores all the techniques used to build a robust, reusable, cross-platform JavaScript Library. We’ll look at how to write a solid JavaScript API, show you how to use functional programming to create contained, concise, code, and delve deep into common cross browser issues that you’ll have to solve in order to have a successful library.
John Resig is a JavaScript Evangelist, working for the Mozilla Corporation, and the author of the book ‘Pro Javascript Techniques.’ He’s also the creator and lead developer of the jQuery JavaScript library and the co-designer of the FUEL JavaScript library (included in Firefox 3). He’s currently located in…
Original source
23 responses to “Best Practices in Javascript Library Design”
the title should be the best practices in jquery libray design
You just ruined this video for me.
"Best Practices in Javascript Library Design" given by John Resig
This is a joke, right?
U dont say
Yeah … check this out …
> A kludge (or kluge) is a workaround, a quick-and-dirty solution, a clumsy, inelegant, difficult to extend, hard to maintain
Kludge OR Kluge … luge looge … klooje whatever.
Not to mention the book Kluge: The Haphazard Evolution of the Human Mind by Gary F. Marcus
If you want to go through the rest of your life saying it wrong, fine by me!
You say tom-art-o, I say tom-ate-o.
Kludge is pronounced like judge in my world.
if I hear the world uh one more time, I'm going to kill a monkey.
Depends…
It's an awesome video, but since you're new to javascript, this video can get a little technical. It's good to watch the video to get a good introduction of what the javascript language capable of. John Resig is giving explanations on good tips of developing your own libraries…
Most of my knowledge in Javascript comes from books. School does gives you allot of knowledge, but books gives you more in a depth knowledge of the programming language (personally).
make use of hacking fbk hacking
hey guys, i'm new to web development (i'm 23, just graduated last year and just quit my crappy job in real estate doing research) and am currently taking a class that is teaching me html, css, javascript, and ruby. i hope to switch fields to programming. after watching this vid, do you think it's very helpful for someone like me? will it help me a lot? we haven't touched javascript yet, so i'm just trying to prepare resources in advance. thanks!
kludge or kluge -> promounced KLOOGE, like stooge.
anyone who does not know that has no business and likely no interest in viewing this video, doncha think?
at 5:10 – there is no such word as ORTHAGONAL … it is spelled and pronounced ORTHOGONAL.
Skrillex of the coding world
funny that he says you should avoid the try{..}catch() since I had a bug that was really hard to find because jquery caught it and discarded it.
@Thunderbird861 Dont start tryin to learn with these tech talks, these are for helpfull for people wih a good amount of knowledge in writing programs. Start by learning from youtube tutorials or books. My favorite tutorials are from thenewboston and my favorite books are the "for dummies" series
@bloodychan i really start learning but i still suffered from learning gap, what is the best way to full this gap?
what is the best way to learn JavaScript?
niced vid!
@WoWultiplayer3355 synchronised is the word
@peedee1138 Thanks for the reply. The timing is interesting, as I recently started doing that for that very reason. 🙂
@JamesMorlan I realize this comment is 2 years old, but just in case you never found the correct answer, here it is:
It simply helps you and other programers know that the function is immediately invoked. It's hard to catch the parens at the end of the function declaration when scanning through lines and lines of code.
Simply put, it's not required but it's a good neighborly thing to do.
the guys a sexy genius!