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...
Channel: Howto & Style Uploaded: October 8, 2007 at 6:06 pm Author:googletechtalks
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??
iflamenko(Thursday 18th of December 2008 01:09:02 PM)
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(Thursday 18th of December 2008 06:58:34 PM)
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...
eryksun(Thursday 25th of December 2008 11:16:58 PM)
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).
yanitor(Thursday 27th of November 2008 01:40:39 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)uk
GREAT PAY and plenty of work!
Will(at)Artisticintension(dot)co(dot)uk
JamesMorlan(Monday 15th of September 2008 08:21:44 PM)
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
horneyvirus(Monday 15th of September 2008 08:43:10 PM)
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.
horneyvirus(Monday 15th of September 2008 08:51:28 PM)
Here's a web based REPL. squarefree(dot)com/shell/shell.html
Javascript returns the last expression or the one you explicitly returned. Also, you can use print("foo") and obviously alert().