JavaScript

TwitterFacebook
Get flash to fully experience Pearltrees
We started working with Angular.js recently and after spending a few days on it, I realised that there a big need for beginner tutorials on it.

8 Tips for Angular.js Beginners | The Discussion Delegate | Vercingetorix Technologies | iPhone, Android, Blackberry, PHP, Generatrix, Wordpress App Development in Pune, India

http://vxtindia.com/blog/8-tips-for-angular-js-beginners/
http://worrydream.com/Tangle/reference.html

Tangle: API Reference

Contents HTML attributes class I want <span class="TKAdjustableNumber" data-var="cookies"></span> cookies. The class attribute normally specifies a CSS class which gives an element a style.

presentation tool based on the power of CSS3 transforms and transitions in modern browsers | by Bartek Szopka @bartaz

Aren't you just bored with all those slides-based presentations? Don't you think that presentations given in modern browsers shouldn't copy the limits of 'classic' slide decks? Would you like to impress your audience with stunning visualization of your talk? http://bartaz.github.com/impress.js/#/tiny

Morris.js

Getting started Add morris.js and its dependencies ( jQuery & Raphaël ) to your page. <link rel= "stylesheet" href= "http://cdn.oesmith.co.uk/morris-0.4.1.min.css" ><script src= "//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" ></script><script src= "//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js" ></script><script src= "http://cdn.oesmith.co.uk/morris-0.4.1.min.js" ></script> http://www.oesmith.co.uk/morris.js/

Underscore.js

http://underscorejs.org/#each Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby ), but without extending any of the built-in JavaScript objects.
By Jacob Gube JavaScript is a powerful client-side scripting language used in many modern websites and Web applications. In the hands of a skilled Web developer, JavaScript can enhance the user’s experience of the website and provide rich interactive components and features. But even though syntactically simple in nature, JavaScript is often difficult to author because of the environment it runs in: the Web browser. JavaScript’s popularity is evident in emerging technologies, such as Adobe AIR , which use it as a supported language for creating desktop-based applications.

50 Useful JavaScript Tools - Smashing Magazine

http://coding.smashingmagazine.com/2009/02/08/50-extremely-useful-javascript-tools/
parseFloat() x=parseFloat("variable"); Cette fonction convertit une chaîne contenant un nombre en une valeur à virgule flottante. Ou si vous préférez, elle retourne les chiffres derrière la virgule d'un nombre. http://www.lehtml.com/js/math.htm

L'objet Math

I would like to thank Rebecca Murphey for inspiring me to open-source this mini-book and release it for free download and distribution - making knowledge both open and easily available is something we should all strive for where possible. I would also like to extend my thanks to the very talented Alex Sexton who was kind enough to be the technical reviewer for this publication. I hope that it helps you learn more about design patterns and the usefulness of their application to JavaScript. Volume 2 of Essential JavaScript Design Patterns is currently being written and will be more detailed than this first edition. http://addyosmani.com/resources/essentialjsdesignpatterns/book/

Essential JavaScript Design Patterns For Beginners

JavaScript Programming Patterns « klauskomenda.com

http://www.klauskomenda.com/code/javascript-programming-patterns/ JavaScript is meant to be used to add behaviour to a website, might it be for form validation or for more complex operations like drag & drop functionality or performing asynchronous requests to the webserver (aka Ajax ). During the past few years, JavaScript libraries became increasingly popular. One of the reasons is definitely that websites are getting more and more complex and reinventing the wheel each time is not acceptable if you are working on a tight schedule. But letting aside libraries and focusing on the “bare” syntax of JavaScript, it is very valuable to know what kind of options you have in terms of programming patterns when writing JavaScript. In this article I am trying to present some of the techniques out there that I have discovered. The patterns I would like to mention are the following:
http://elegantcode.com/2011/03/24/basic-javascript-part-12-function-hoisting/ Here are the links to the previous installments: In a previous post I already discussed the phenomenon of hoisting in JavaScript. In that post I showed the effects of variable hoisting and why it’s important to declare all variables at the top of a function body. For this post I want to briefly focus on function hoisting.

Basic JavaScript Part 12: Function Hoisting

We follow the C++ formatting rules in spirit, with the following additional clarifications. Curly Braces Because of implicit semicolon insertion, always start your curly braces on the same line as whatever they're opening. For example:

Google JavaScript Style Guide

Introduction The first version of this paper , written in 2003, had several shortcomings, not the least of which was that the techniques described were specific to Internet Explorer. I've updated and improved on the original, to document the current state of the art, especially in light of the extensive interest in AJAX technology and the increasing adoption of the FireFox browser.

Object Oriented Programming in JavaScript

Usage § 1 Load JavaScript Files § 1.1 RequireJS takes a different approach to script loading than traditional <script> tags. Its goal is to encourage modular code. While it can also run fast and optimize well, the primary goal is to encourage modular code.

RequireJS

Now that we're able to inherit properties from other objects and extend the specialised objects to define their own behaviours, we have a little problem: what if we actually wanted to access the parent behaviours that we just overwrote? JavaScript provides the Object.getPrototypeOf function, that returns the [⁣[Prototype]⁣] of an object. This way, we have access to all properties defined within the prototype chain of an object. So, accessing a property in the parent of an object is quite simple: Object.getPrototypeOf(mikhail).name // same as `person.name' // => 'undefined undefined' // We can assert it's really being called on `person' by // giving `person' a `first_name' and `last_name' person.first_name = 'Random' person.last_name = 'Person' Object.getPrototypeOf(mikhail).name // => 'Random Person'

Understanding JavaScript OOP — Sorella's Basement

Probablement le meilleur tutoriel javascript jamais écrit. (Pas pour les débutants) by oliviergg Oct 4