Talk:Javascript/Requirements: Difference between revisions
From MoodleDocs
David Mudrak (talk | contribs) m (→Good to have: Added my 2 cents) |
David Mudrak (talk | contribs) m (→Icing on the cake: Added my 1 cent) |
||
Line 22: | Line 22: | ||
=== Icing on the cake === | === Icing on the cake === | ||
* mudrd8mz: Ability to re-use the code on the server side such as in node.js | |||
=== Thing we do not want === | === Thing we do not want === | ||
* bloat | * bloat | ||
-- Damyon Wiese | -- Damyon Wiese |
Revision as of 19:25, 2 September 2014
It would be helpful if you could add your signature below any additions to this list.
Must have
- The ability to load different content depending on the page requested ("must have" - really? -- Damyon)
--Andrew Nicols (talk) 08:41, 1 September 2014 (WST)
- Aria support
--Damyon Wiese
- Long term support. At least as long as a LTS Moodle release cycle (but really this is the bare minimum - we want something that will not leave us in this position even 3 years down the track - more like 10!).
--Damyon Wiese
Good to have
- Isolation such that the JavaScript packaged in a Moodle plugin cannot easily interfere with javascript in other Moodle plugins, or the Moodle core. (mudrd8mz: Let me suggest this is moved to Must have)
--Andrew Nicols (talk) 08:41, 1 September 2014 (WST)
- Low barriers to entry for new developers
--Damyon Wiese
- Set of common UI widgets
-- Damyon Wiese
- mudrd8mz: Nice, short and intuitive wrappers for common actions done in JS that allows you to do them easily - DOM manipulation, clever events handling (like Y.delegate) and AJAX calls handling come to my mind as the basic set
- mudrd8mz: Good to excellent docs for developers
- mudrd8mz: Tools available for JS minification and debugging (although not necessarily built-in)
- mudrd8mz: Existing dev community and solutions/style to follow
Icing on the cake
- mudrd8mz: Ability to re-use the code on the server side such as in node.js
Thing we do not want
- bloat
-- Damyon Wiese