Learning JavaScript

From MediaWiki.org
(Redirected from JSPERF)
Jump to: navigation, search

Below is reference material about JavaScript that is recommended for learning about performance, good practices and advanced patterns.

Basics[edit | edit source]

Just got started learning to program, or want to start now? Then these may be more relevant for you instead.

Intermediate[edit | edit source]

Advanced[edit | edit source]

Performance optimisation[edit | edit source]

Profiling[edit | edit source]

  • Chrome's timeline feature:
  • chrome2calltree allows you to use the excellent KCachegrind profile viewer, which has call graphs, relative call frequency, grouping by file & other useful features. It works with profiles generated by V8, including Chrome.
  • nodegrind makes it really easy to profile node projects by just calling 'nodegrind script.js' instead of 'node script.js'. It produces KCachegrind-compatible output.

ECMAScript 6[edit | edit source]

Learn about the next version of the ECMAScript standard (which JavaScript implements).

Documentation[edit | edit source]

Check out DevDocs. It aggregates documentation for APIs of DOM, CSS, JavaScript, Node.js, and many popular JS libraries, to one central place with a unified interface. Many of its pages are streamed from the Mozilla Developer Network.

Further reading[edit | edit source]

  • superherojs.com: Collection of great articles, videos and presentations. Learn about developing, testing and maintaining a large JavaScript code base.

Staying up to date[edit | edit source]

Coding conventions
General All languages · Security for developers · Pre-commit checklist · Performance guidelines (draft) · Style guide · Accessibility guide for developers (draft)
PHP Code conventions · PHPUnit test conventions · Security checklist for developers
JavaScript Code conventions · Learning JavaScript
CSS Code conventions
Database Code conventions
Python Code conventions
Ruby Code conventions
Selenium/Cucumber Code conventions