background preloader

JavaScript

Facebook Twitter

Eloquent JavaScript: A Modern Introduction to Programming. Wtfjs - a little code blog about that language we love despite giving us so much to hate. Dynamic Drive DHTML(dynamic html) & JavaScript code library. Code Conventions for the JavaScript Programming Language.

This is a set of coding conventions and rules for use in JavaScript programming. The long-term value of software to an organization is in direct proportion to the quality of the codebase. Over its lifetime, a program will be handled by many pairs of hands and eyes. If a program is able to clearly communicate its structure and characteristics, it is less likely that it will break when modified in the never-too-distant future. Code conventions can help in reducing the brittleness of programs. All of our JavaScript code is sent directly to the public.

It should always be of publication quality. Neatness counts. JavaScript Files JavaScript programs should be stored in and delivered as .js files. JavaScript code should not be embedded in HTML files unless the code is specific to a single session. Whitespace Where possible, these rules are consistent with centuries of good practice with literary style. Blank lines improve readability by setting off sections of code that are logically related. Names. Scope in JavaScript. The web professional's online magazine of choice. In: Articles By Mike West Published on September 11, 2006 Scope is one of the foundational aspects of the JavaScript language, and probably the one I’ve struggled with the most when building complex programs. I can’t count the number of times I’ve lost track of what the this keyword refers to after passing control around from function to function, and I’ve often found myself contorting my code in all sorts of confusing ways, trying to retain some semblance of sanity in my understanding of which variables were accessible where.

In typical object-oriented programming, we need a way of identifying and referring to the object that we’re currently working with. this serves the purpose admirably, providing our objects the ability to examine themselves, and point at their own properties. Where Am I? Every bit of your JavaScript program is executed in one execution context or another. Let’s walk through some example code to explore the implications: JavaScript - Navigation. Learn jQuery & JAVASCRIPT for free | appendTo Developer Learning Center. Jsdoc-toolkit - A documentation generator for JavaScript. Developer Network. JavaScript Quick Guide. What is JavaScript ? Javascript is a dynamic computer programming language.

It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities. JavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and other web browsers. The ECMA-262 Specification defined a standard version of the core JavaScript language. JavaScript is a lightweight, interpreted programming language.Designed for creating network-centric applications.Complementary to and integrated with Java.Complementary to and integrated with HTML.Open and cross-platform Client-side JavaScript Example.

JSHint, A JavaScript Code Quality Tool. JSLint,The JavaScript Code Quality Tool. Queness - Design Inspirations, jQuery Tutorials and Web Design & Development Community. Create a new Fiddle - jsFiddle. A suite of Javascript libraries and tools designed for working with HTML5.

Recent Updates Follow @CreateJS November 2014 Added Unit Tests to EaselJSUpdates in preparation for new releases (coming soon). New class model, with big performance increases October 2014 Added 'Extras' to EaselJSTons of updates and pull requests in all libs July 2014 Major Updates to EaselJS Graphics The Story Why we built CreateJS About CreateJS CreateJS is a suite of modular libraries and tools which work together to enable rich interactive content on open web technologies via HTML5. Featured Projects Community Show & Tell.

Ion Drift A port of the Flash game Ion Drift, b10b was able to build a CreateJS version in less than a day that hit target framerates on even the lowest devices, and outperformed ports to other libraries. By b10b b10b. JS Bin - Collaborative JavaScript Debugging.