Comments on 'Best Practices in Javascript Library Design' |
- You can use VBScript to manipulate the DOM in IE... that's
about it :)
- @Edel99 Please look up the history of Java and JavaScript
before you expose this level of ignorance. JavaScript is a radically different sort of OO language that C# or Java. If you are confusing Java and JavaScript, look at Wikipedia, a local bookstore or just Google.
- I guess the idea is that these are things that are so
natural you don't have to document them - they should still be in the documentation though, e.g. for people who write their own plugins.
- what a video smooth work..time has no problem does it
- 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).
- 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...
- 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.
- 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??
- 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
- the words arent sinced with the guy
- 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().
- 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.
- 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
- x=function() {...}(); is an assignment. You're not executing
the function standalone. Playing around with a REPL helps to learn core JavaScript. "aptitude install spidermonkey" if you're or debian based systems. Then, "js" will invoke a REPL. If you're on KDE, you already have "kjs". If you're on winblows, I'm not talking to you again. :-D
- If you need to execute a an anonymous function standalone,
you have to wrap it in parens. That's part of the syntax. Why? Ask Brendan Eich. :-D
- I understand Lambda, but as far as the syntax, I have been
calling anonymous functions without wrapping them in parens forever without it being a problem. e.g. x=function() {...}(); Never a browser has ever complained to me about that. I just thought maybe there was some other reason for wrapping it in parens.
- Because it's a syntax error otherwise. Most likely because
the interpreter expects unwrapped functions to be statements and not expressions.
BTW, this is called Lambda in functional programming. Read "The Little Schemer" and "Javascript the good parts".
- jajajajaajajajaaj
- hello all,
If i can just have a moment,Wrath of the Gods is
a new MMO about to start up,we are looking for more programers with java script exp and need to live in the UK,if you want more information please leave me a comment and ill get back to you,Thank you for all your time
- Why do you wrap anonymous functions in parens before
invoking them? e.g. (function(){/*do something*/})()
- I discovered jQuery recently and it is awesome.
Information in this video about conventions used in jQuery was particularly useful - why have I not seen this highlighted in the documentation?
- el Javascript es una lengua usada para programar
- que es JavaScript
- How is this video 62 minuets???????????
- Good points of view. :)
|
| Information:61.40 min User rating: 4.716049/5 Username: GoogleTechTalks Views on youtube: 30616
Description: (more)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
(less)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...
Keywords: google, howto, best, practices, javascript
URL:
Embed:
Web page:
Forum:
|