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 optimization[edit | edit source]

Client-specific optimizations[edit | edit source]

Profiling[edit | edit source]

Intro to Chrome's timeline feature
  • Chrome's timeline feature: File:Demonstration of Chromium's timeline feature.webm.
  • 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 conventionsManual:Coding conventions
General All languagesManual:Coding conventions#Code structure · Security for developersSecurity for developers · Pre-commit checklistManual:Pre-commit checklist · Performance guidelinesPerformance guidelines (draft) · Style guideStyle guide · Accessibility guide for developersAccessibility guide for developers (draft)
PHP Code conventionsManual:Coding conventions/PHP · PHPUnit test conventionsManual:PHP unit testing/Writing unit tests#Test_conventions · Security checklist for developersSecurity checklist for developers
JavaScript Code conventionsManual:Coding conventions/JavaScript · Learning JavaScriptLearning JavaScript
CSS Code conventionsManual:Coding conventions/CSS
Database Code conventionsManual:Coding conventions/Database
Python Code conventionsManual:Coding conventions/Python
Ruby Code conventionsManual:Coding conventions/Ruby
Selenium/Cucumber Code conventionsManual:Coding conventions/Selenium
Java Code conventionsManual:Coding conventions/Java
API client code Standards for API client librariesAPI:Client code/Gold standard