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.


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



Performance optimization[edit]

Client-specific optimizations[edit]


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]

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


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]

  • 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]

Coding conventionsManual:Coding conventions
General All languagesManual:Coding conventions#Code structure· Development policyDevelopment policy · 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· Database policyDevelopment policy#Database policy
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