Goals
Being exhaustive is not a goal, so it is acceptable to skip parts which are more advanced or not needed for contributing to and creating simple webxdc apps.
Maintenance
To ensure long term maintainability, it ought to be built automatically from the sources, not by hand, so it could assimilate upstream updates. Hence, some kind of templating and higher level editing instructions might be useful. For example, it could be marked up to cut out sections or assemble multiple pages into one or how to fix up relative links.
Features
- read simplified tutorials
- quick interactive quiz & exercises after each section
- full text search similar to https://devdocs.io/
- cheat sheets for syntax of JavaScript, HTML5, CSS3, Web API, webxdc
- API reference
- JavaScript console with bookmarks
- optional: provide all phases of creating webxdc on the device without servers: edit source, preview (limited), compress to zip, send to chat
- optional: an IDE or code paste pad with token highlighting, static code analysis and syntax error checking to develop simple apps (PoC: use eval and parse the exception)
- Aim for a file size less than 1MB. The whole aim is to provide a TL;DR for those who don’t want to go through the whole curriculum, so if it needs so many words to describe well, we are doing it wrong.
Sources
As a proof of concept, we may prioritize not writing any new documentation at all. Rather, we should package all or parts of the most important existing documentation in the area into a single webxdc.
Assimilating non-FOSS resources is not possible, but it may inspire others to fill in the gaps when phrasing our own exercises for example.
FOSS resources
- GitHub - mdn/content: The official source for MDN Web Docs content. Home to over 14,000 pages of documentation about HTML, CSS, JS, HTTP, Web APIs, and more. · GitHub
- JavaScript - Wikibooks, open books for an open world
- Web Design/An Introduction to Programming with JavaScript - Wikiversity
- GitHub - mbeaudru/modern-js-cheatsheet: Cheatsheet for the JavaScript knowledge you will frequently encounter in modern projects. · GitHub
- GitHub - rainyear/javascript-in-one-pic: Learn javascript in one picture. · GitHub
- GitHub - BonsaiDen/JavaScript-Garden: A collection of documentation about the most quirky parts of the JavaScript language. · GitHub
- Error: W3C standards and drafts | W3C
- GitHub - whatwg/dom: DOM Standard · GitHub
- GitHub - incompl/learnlayout: source for learnlayout.com · GitHub
- GitHub - OWASP/CheatSheetSeries: The OWASP Cheat Sheet Series was created to provide a concise collection of high value information on specific application security topics. · GitHub
- GitHub - slightlyoff/never_slow_mode: Never-Slow Mode (a.k.a. Slightly-Fast Mode) · GitHub
- GitHub - denysdovhan/wtfjs: 🤪 A list of funny and tricky JavaScript examples · GitHub
- Google JavaScript Style Guide
- styleguide/javascriptguide.xml at gh-pages · google/styleguide · GitHub
- GitHub - airbnb/javascript: JavaScript Style Guide · GitHub
- GitHub - deltachat/deltachat-pages: Delta Chat Website · GitHub
- website/src-docs at main · webxdc/website · GitHub
Non-commercial copyleft resources
- GitHub - javascript-tutorial/en.javascript.info: Modern JavaScript Tutorial · GitHub
- https://eloquentjavascript.net/
- JavaScript best practices - W3C Wiki
- GitHub - TheOdinProject/curriculum: The open curriculum for learning web development · GitHub
Distributable resources
- https://ecma-international.org/publications-and-standards/standards/ecma-262/
- GitHub - getify/You-Dont-Know-JS: A book series (2 published editions) on the JS language. · GitHub