Tutorial by Topics: mod

MDN documentation for imports: https://developer.mozilla.org/en/docs/web/javascript/reference/statements/import MDN documentation for exports: https://developer.mozilla.org/en/docs/web/javascript/reference/statements/export ExploringJS chapter on modules: http://exploringjs.com/es6/ch_modules.ht...
Aggregations are methods allowing the execution of operations on (individual and/or groups of) rows of objects derived from a Model.
The official vignette, "Reference semantics", is the best introduction to this topic. A reminder: DT[where, select|update|do, by] syntax is used to work with columns of a data.table. The "where" part is the i argument The "select|update|do" part is the j argument...
Modules exist to be extended. You cannot change the app/code/ files without prohibiting any future updates. Instead we add a module to the app/code/local directory (the local directory may be missing, if so, it needs to be manually created. This is common in later versions of Magento) for added cu...
For more information on the Window object, please visit MDN. The window.stop() method is not supported in Internet Explorer.
Declaration module Name; any ruby expressions; end Module names in Ruby are constants, so they have to start with a capital letter. module foo; end # Syntax error: class/module name must be CONSTANT
var MyModel = Backbone.Model.extend(properties, [classProperties]); // Create a custom model var model = new Backbone.Model([attributes], [options]); // Instanciate a model object ParameterDetailspropertiesInstance properties.classPropertiesOptional. Properties that exist and are shared wit...
This module provides a portable way of using operating system dependent functionality. import os ParameterDetailsPathA path to a file. The path separator may be determined by os.path.sep.ModeThe desired permission, in octal (e.g. 0700)
Addons and modules are encouraged to be registered with Packagist which then means they are found and registered with the SilverStripe add-on repository Installation of modules is recommended through use of Composer
module my.package; import my.package; import my.package : function; import fancyName = mypackage; import my.package : fancyFunctionName = function; Modules automatically provide a namespace scope for their contents. Modules superficially resemble classes, but differ in that: There's ...
Non-Access Modifiers do not change the accessibility of variables and methods, but they do provide them special properties.
webpack-hot-middleware Use with webpack-dev-middleware, by adding webpack-hot-middleware/client to entry. Config Add configs as query string to the path. Example: webpack-hot-middleware/client?path=/__what&timeout=2000&overlay=false OptionDescriptionpathThe path which the middle...

Page 4 of 11