Bonnes Pratiques Web & Cloud
75.2K views | +3 today
Bonnes Pratiques Web & Cloud
Administration cloud et développement web
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Scooped by Mickael Ruau
April 20, 2013 5:40 AM
Scoop.it!

Comma Operator JavaScript Book

When comma operator is used in assignment statement, the comma operator returns the last item

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:39 AM
Scoop.it!

parseFloat() JavaScript Book

The parseFloat() function looks at each character starting in position 0. It continues to convert until it reaches either the end of the string or an invalid character. A decimal point is valid the first time not the second time.

 

parseFloat() ignores initial zeros.

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:37 AM
Scoop.it!

JavaScript Madness: Keyboard Events

Mickael Ruau's insight:

Cette page est pour moi LA référence absolue en matière de gestion des événements clviers.

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:36 AM
Scoop.it!

Keyboard and Mouse buttons events

Click here for a complete JavaScript Reference, including array, string, document. window, and more.
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:34 AM
Scoop.it!

Keyboard Events JavaScript Book

Keyboard Events JavaScript Book
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:27 AM
Scoop.it!

JavaScript : void operator | w3resource

JavaScipt void operator is used to evaluate a JavaScript expression without returning a value.
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:23 AM
Scoop.it!

HTML script defer Attribute

Free HTML CSS JavaScript DOM jQuery XML AJAX RSS ASP .NET PHP SQL tutorials, references, examples for web building.
Mickael Ruau's insight:

The defer attribute is supported in all major browsers.

The defer attribute is a boolean attribute.

When present, it specifies that the script is executed when the page has finished parsing.

Note: The defer attribute is only for external scripts (should only be used if the src attribute is present).

Note: There are several ways an external script can be executed:

If async is present: The script is executed asynchronously with the rest of the page (the script will be executed while the page continues the parsing)If async is not present and defer is present: The script is executed when the page has finished parsingIf neither async or defer is present: The script is fetched and executed immediately, before the browser continues parsing the page
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:19 AM
Scoop.it!

HTML script tag

Free HTML CSS JavaScript DOM jQuery XML AJAX RSS ASP .NET PHP SQL tutorials, references, examples for web building.
Mickael Ruau's insight:

In XHTML, the content inside scripts is declared as #PCDATA (instead of CDATA), which means that entities will be parsed.

This means that in XHTML, all special characters should be encoded, or all content should be wrapped inside a CDATA section

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:02 AM
Scoop.it!

Core Javascript Tutorial - Numbers

http://www.webtunings.com/ https://www.facebook.com/pages/WebTunings/339234242822202 I highly recommend this book for beginners as well as advanced programme...
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 4:59 AM
Scoop.it!

You Owe Me An Apology Despite Never Having Met Me: Douglas Crockford, for JavaScript: The Good Parts

I learned several interesting things from JavaScript: The Good Parts

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 4:53 AM
Scoop.it!

JavaScript: The Good Parts > Falsy Values - Pg. : Safari Books Online

JavaScript: The Good Parts > Falsy Values - Pg. : Safari Books Online | Bonnes Pratiques Web & Cloud | Scoop.it

In many languages, void is a type that has no values. In JavaScript, void is an operator that takes an operand and returnsundefined. This is not useful, and it is very confusing. Avoid void.

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 4:44 AM
Scoop.it!

Standards IEEE 754 et 854 - Haypo

Standards IEEE 754 et 854 - Haypo | Bonnes Pratiques Web & Cloud | Scoop.it

Voyons comment décomposer un nombre réel en trois parties : signe, mantisse, exposant. Pour le signe, ce n'est pas difficile : il est égal à (+1) si le nombre est positif, -1 sinon. On prend maintenant la valeur absolue du nombre. Pour la mantisse : si le nombre est supérieur à 1.5, il faut le diviser successivement par deux, jusqu'à ce que sa valeur soit inférieure ou égale à 1.5 (l'exposant sera le nombre de division); si le nombre est inférieur à 1, il faut le multiplier successivement par deux, jusqu'à ce que sa valeur soit supérieure ou égale à 1 (l'exposant sera le nombre opposé de divisions).

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 4:34 AM
Scoop.it!

Conception de l'expérience utilisateur pour les applications

Conception de l'expérience utilisateur pour les applications | Bonnes Pratiques Web & Cloud | Scoop.it
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:39 AM
Scoop.it!

Number() function JavaScript Book

The Number() function performs conversions based on these rules:

ParameterNumber Function ReturnsBoolean true1Boolean false0null0undefinedNaNEmpty string("")0String with only number, for example "123"123String with only number and plus sign, for example "+123"123String with only number and minus sign, for example "-123"-123Leading zeros are ignored, for example "0123"123Leading zeros are ignored, for example "+0123"123Leading zeros are ignored, for example "-0123"-123String with valid floating-point format, such as "1.1"1.1String with valid floating-point format, such as "+1.1"1.1String with valid floating-point format, such as "-1.1"-1.1Leading zeros are ignored, such as "01.1"1.1String with hexadecimal format, "0xf"15String with hexadecimal format, "-0xf"-15String with not a number value, for example "asdf"NaNobjectsthe valueOf() method is called and the returned value is converted 
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:38 AM
Scoop.it!

parseInt() JavaScript Book

The parseInt() function ignores leading white space. The parseInt() function checks the string character by character.

If this first non-white space character isn't a number, the minus sign, or the plus sign, parseInt() returns NaN. The parseInt() function returns NaN for empty string, while Number() returns 0.

If the first character is a number, plus, or minus, then the checking continues until the end of the string is reached or a nonnumeric character is found. For instance, "1234asdf" is converted to 1234 because "asdf" is ignored.

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:36 AM
Scoop.it!

Mouse Events JavaScript Book

Mouse Events JavaScript Book
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:35 AM
Scoop.it!

Javascript Tips - Event Key Codes

Web On, Web Off - web development tips, articles, and code. AJAX, Javascript, CSS, HTML ...
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:27 AM
Scoop.it!

JavaScript in operator | w3resource

In JavaScript in operator is used to check whether a given property is available in an object.
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:26 AM
Scoop.it!

JavaScript Comma Operator | w3resource

In JavaScript comma operator (,) is used to execute two expressions sequentially.
Mickael Ruau's insight:

We use the comma operator when we want to include multiple expressions in a location that requires a single expression. This operator is generally used inside a for loop, to allow multiple variables to be updated (increase/decrease) each time through the loop.

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:22 AM
Scoop.it!

html - du html vers le xhtml

Du html vers le xhtml
Mickael Ruau's insight:

Pour convertir un site et le rendre valide en XHTML, il faut donc procéder aux étapes suivantes : 

Ajout de la définition d'un DOCTYPE : 

Réécriture des tags et attributs en minuscules : 
Mise entre double quotes des valeurs associées aux attributs 
Fermeture de tous les tags 
Ecriture de l'attribut alt pour toutes les images : 
Le javascript est censé être implémenté avec la section CDATA

Vérifier la validité de vos pages : 

Le W3C met à votre disposition des outils pour vérifier la validité de vos pages. Vous pouvez soit inclure une référence dans chaque page de votre site qui une fois cliquée ouvrira une fenêtre vers le moteur de validation du W3C, soit allez sur le site du W3C et entrer manuellement l'adresse de vos pages pour les tester. 
Lien vers le moteur de validation du W3C : http://validator.w3.org

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:04 AM
Scoop.it!

IEEE-754 Reference Material

A popular paper on the mathematical properties of floating-point numbers, including the IEEE-754 standard is What Every Computer Scientist Should Know About Floating-Point Arithmetic

Mickael Ruau's insight:

At the end of this page are Kevin’s Charts, which summarize the IEEE-754 single and double precision formats.

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 5:01 AM
Scoop.it!

JavaScript Tutorial - IEEE 754 Binary floating point numbers and Arithmetic

I highly recommend this book for beginners as well as advanced programmers: http://www.amazon.com/gp/product/0596805527/ref=as_li_qf_sp_asin_tl?ie=UTF8&camp=...
No comment yet.
Scooped by Mickael Ruau
April 20, 2013 4:57 AM
Scoop.it!

JavaScript: The Good Parts > Falsy Values - Pg. : Safari Books Online

JavaScript: The Good Parts > Falsy Values - Pg. : Safari Books Online | Bonnes Pratiques Web & Cloud | Scoop.it

We can compose objects out of sets of parts. For example, we can make a function that can add simple event processing features to any object.

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 4:50 AM
Scoop.it!

JavaScript: The Good Parts > Falsy Values - Pg. : Safari Books Online

JavaScript: The Good Parts > Falsy Values - Pg. : Safari Books Online | Bonnes Pratiques Web & Cloud | Scoop.it
Section A.12. Falsy Values -
Mickael Ruau's insight:

JavaScript has a surprisingly large set of falsy values, shown in See Table A-1.

 

Table A-1. The many falsy values of JavaScript

ValueType0NumberNaN (not a number)Number'' (empty string)StringfalseBooleannullObjectundefinedUndefined

No comment yet.
Scooped by Mickael Ruau
April 20, 2013 4:40 AM
Scoop.it!

Améliorer la précision GPS en JavaScript | Blog de Xavier Raffin

Améliorer la précision GPS en JavaScript | Blog de Xavier Raffin | Bonnes Pratiques Web & Cloud | Scoop.it
No comment yet.