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 Related:  Pour cahierlabo

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 Scriptol.fr, techniques de programmatio 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.

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,

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 Free jQuery Plugins and Tutorials - jQuery Script Getting Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations. Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this: bootstrap/ ├── css/ │ ├── bootstrap.css │ ├── bootstrap.min.css ├── js/ │ ├── bootstrap.js │ ├── bootstrap.min.js └── img/ ├── glyphicons-halflings.png └── glyphicons-halflings-white.png This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. Please note that all JavaScript plugins require jQuery to be included. Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation. Docs sections Scaffolding Global styles for the body to reset type and background, link styles, grid system, and two simple layouts. Base CSS Components JavaScript plugins <! <!

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: