background preloader

Make the Web Faster

Make the Web Faster
The Google Hosted Libraries is a stable, reliable, high-speed, globally available content distribution network for the most popular, open-source JavaScript libraries. Google works directly with the key stakeholders for each library effort and accepts the latest versions as they are released. Libraries To load a hosted library, copy and paste the HTML snippet for that library (shown below) in your web page. We recommend that you load libraries from the CDN via HTTPS, even if your own website only uses HTTP. Dojo snippet: site: dojotoolkit.org versions: Ext Core sencha.com/products/extcore Hammer.JS hammerjs.github.io Indefinite Observable jQuery 3.x snippet: 2.x snippet: 1.x snippet: jquery.com note: 3.3.0, 2.1.2, 1.2.5 and 1.2.4 are not hosted due to their short and unstable lives in the wild. jQuery Mobile jquerymobile.com This library depends on jQuery. jQuery UI jqueryui.com This library depends on jQuery. MooTools mootools.net Myanmar Tools three.js

UIZE JavaScript Framework | AJAX, RIA, widgets, JSON, OOP, Class Inheritance, XMLHttpRequest, DOM manipulation, and all that stuff Badass JavaScript jQuery: The Write Less, Do More, JavaScript Library Amazon CloudFront CDN (Content Delivery Network) Amazon CloudFront ermöglicht nun die Bereitstellung Ihrer gesamten Website, einschließlich dynamischer, statischer, gestreamter und interaktiver Inhalte, mithilfe eines globalen Netzwerks von Edge-Standorten. Anforderungen Ihrer Inhalte werden automatisch an den nächsten Edge-Standort weitergeleitet, sodass die Bereitstellung der Inhalte mit der bestmöglichen Leistung erfolgt. Amazon CloudFront ist für die Zusammenarbeit mit anderen Amazon Web Services wie Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud (Amazon EC2), Amazon Elastic Load Balancing und Amazon Route 53 optimiert. Amazon CloudFront funktioniert außerdem reibungslos mit allen nicht zu AWS gehörenden Ursprungs-Servern, auf denen die definitiven Originalversionen der Dateien gespeichert sind. Amazon CloudFront nutzt ein globales Netzwerk von Edge-Standorten und speichert Kopien Ihrer statischen Inhalte in einem Cache in der Nähe Ihrer Besucher.

Scriptol.fr, techniques de programmatio Ruby on Rails Learning JavaScript Design Patterns Design patterns are reusable solutions to commonly occurring problems in software design. They are both exciting and a fascinating topic to explore in any programming language. One reason for this is that they help us build upon the combined experience of many developers that came before us and ensure we structure our code in an optimized way, meeting the needs of problems we're attempting to solve. Design patterns also provide us a common vocabulary to describe solutions. This can be significantly simpler than describing syntax and semantics when we're attempting to convey a way of structuring a solution in code form to others. In this book we will explore applying both classical and modern design patterns to the JavaScript programming language. Target Audience This book is targeted at professional developers wishing to improve their knowledge of design patterns and how they can be applied to the JavaScript programming language. Acknowledgments Credits Reading We already use patterns everyday

Developer Network Optimiser un site sur les pages perso de Free Quelques trucs et astuces pour optimiser un site sur les pages perso de Free. Généralités Bien que les connexions Internet haut débit se généralisent rapidement, une grande partie des visiteurs des sites Web utilisent des connexions dont la bande passante est limitée (blocage FAI, terminaux mobiles et tablettes, zones rurales…). Il est essentiel de concevoir des sites Web légers, se chargeant rapidement sur tous les terminaux et ne surchargeant les pas les serveurs de Free. Ces modifications sont relativement simples à mettre en place pour la majorité d’entre-elles. Il est utile de : Respect des standards Il est essentiel de présenter aux visiteurs des pages respectueuses des standards du « Web » si l'on souhaite améliorer la rapidité d'affichage des pages du site. Il s'agit de l'une des optimisations les plus simples à réaliser. Liens utiles Bien utiliser les caches Mark Nottingham — Un tutoriel de la mise en cache pour les auteurs Web et les webmestres La compression des pages web

Colorbox - a jQuery lightbox A lightweight customizable lightbox plugin for jQuery View Demos Released under the MIT License, source on Github (changelog) Download Install via NPM npm install jquery-colorbox Compatible with: jQuery 1.3.2+ in Firefox, Safari, Chrome, Opera, Internet Explorer 7+ Supports photos, grouping, slideshow, ajax, inline, and iframed content.Lightweight: 10KB of JavaScript (less than 5KBs gzipped).Appearance is controlled through CSS so it can be restyled.Can be extended with callbacks & event-hooks without altering the source files.Completely unobtrusive, options are set in the JS and require no changes to existing HTML.Preloads upcoming images in a photo group.Currently in use on a million-plus websites. Instructions & Help The FAQ has instructions on asking for help, solutions to common problems, and how-to examples. Usage Colorbox accepts settings from an object of key/value pairs, and can be assigned to any HTML element. Settings Public Methods Event Hooks Hey,

JavaScript pitfalls: null, false, undefined, NaN - MapbenderWiki From MapbenderWiki Comparison operators Comparison via == Equality, regardless of type. Comparison via === Identity, types must match. Pitfalls using comparison Evaluates to false in boolean operations. var x = 0; var y = false; x == y → true x === y → false "" (empty string) Evaluates to false in boolean operations. var x = ""; var y = false; x == y → true x === y → false null Evaluates to false in boolean operations. var x = null; var y = false; x == y → true x === y → false undefined If a variable hasn't been declared or assigned yet (an argument to a function which never received a value, an object property that hasn't been assigned a value) then that variable will be given a special undefined value. Evaluates to false in boolean operations. var x; var y = false; typeof(x) → undefined (as a string) x == y → true x === y → false NaN Not a Number, generated when arithmetic operations return invalid results. Evaluates to false in boolean operations. var x = 10/seventeen; x → NaN Source

Related: