Learning JavaScript

From MediaWiki.org
Jump to navigation Jump to 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]


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 provides a central (and offline) interface for documentation of many Web APIs and libraries (MDN, Node.js, PHPUnit, and more).

Further reading[edit]

  • superherojs.com: Collection of great articles, videos and presentations. Learn about developing, testing and maintaining a large JavaScript code base.
  • edabit.com: Learn to think like a programmer by completing small interactive challenges.

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) · Design Style guideDesign/Living style guide · Documentation Style guideDocumentation/Style guide (draft) · Accessibility guide for developersAccessibility guide for developers (draft) · Best practices for extensionsBest practices for extensions (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