Andrew Daum Home | Marketing Video's Home

Best Practices in Javascript Library Design

andrewdaum.com marketing videos
andrewdaum.com marketing videos andrewdaum.com marketing videos
andrewdaum.com marketing videos

Google Tech TalksAugust 17, 2007ABSTRACTThis 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...

Channel: Howto & Style
Uploaded: November 30, 1999 at 12:00 am
Author: googletechtalks

Length: 01:23
Rating: 4.62
Views: 16640

Tags: best  google  howto  javascript  practices  

Video Url:


Embed Code:

Video Comments

johnfairest (November 30, 1999 at 12:00 am)
what a video smooth work..time has no problem does it
eryksun (November 30, 1999 at 12:00 am)
Sun has Java, of course, and now JavaFX, which uses JavaFX Script. Adobe has Flash, which supports ActionScript and, with Alchemy, C/C++ compiled to ActionScript. Its AIR runtime lets Flash/Javascript run offline in a VM. Microsoft has Silverlight, which supports many languages thru the CLR/DLR (e.g. C# and IronPython). Google has 'Native Client', which lets compiled C/C++ code run in the browser with standard library support (e.g. stdlib, libstdc++, math, NPAPI, RPC, and threads).
Edel99 (November 30, 1999 at 12:00 am)
I read how 'Java' slow and to be avoided. In the case on Javascript, is this the only language use for building interaction on the web? It seems to be the most popular...
iflamenko (November 30, 1999 at 12:00 am)
Java & Javascript are different. Javascript was never well supported on various browsers. However with JQuery framework it is probably your best client-end scripting tool. If you are new to web development, you should definitely try JQuery. It is wonderful and makes your job very easy. There are numerous JQuery plugins that are contributed, you can use them in your application and get instant functionality without writing lengthy and unstable javascript code.
Edel99 (November 30, 1999 at 12:00 am)
Im just learning web-development, but I have experience with C++ and C#. I have always stayed away from Java because I figured C# was supposed to kill Java. My question is: Since JavaScript has been around forever, is there any other language that is better for client-side scripting??
yanitor (November 30, 1999 at 12:00 am)
Coders needed! Great pay for someone able to create an auction website script and more. Email me today at Will(at)Artisticintension(dot)co(dot)ukGREAT PAY and plenty of work! Will(at)Artisticintension(dot)co(dot)uk
WoWultiplayer3355 (November 30, 1999 at 12:00 am)
the words arent sinced with the guy
horneyvirus (November 30, 1999 at 12:00 am)
Here's a web based REPL. squarefree(dot)com/shell/shell.htmlJavascript returns the last expression or the one you explicitly returned. Also, you can use print("foo") and obviously alert().
horneyvirus (November 30, 1999 at 12:00 am)
You'll need to do that for many reasons.. such emulating block scope, as arguments for higher-order functions etc. You'd know this if you know any functional programming.It's not about "I'm better than you". In fact free software sucks a lot harder sometimes.
JamesMorlan (November 30, 1999 at 12:00 am)
Yes, it is an assignment, but it still executes the function. I guess the syntax in question is for calling an anonymous function when you don't care about the result - or that has no result (technically it's not a function in that case, but that's the syntax we're stuck with). I've simply never needed to do that. And FYI, I don't play the "I'm better than you" Linux vs. Windows game; all software sucks, so give me a break. :D

Marketing Videos ~ Marketing Riffs, Rants and Big Ideas © 2007 All Rights Reserved.