This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Here we draft the **outline of a software documentation standard**, borrowing from the style and rigor of ISO-level documents (e.g., ISO/IEC 42010 for architecture). We’ll call this is *“Application Architecture Material Essence Standard (AAMES)”*. | |
| --- | |
| # **Application Architecture Material Essence Standard (AAMES)** | |
| *(Outline Draft, ISO-Style)* | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Directive, EventEmitter, forwardRef, HostListener, Input, Output} from '@angular/core'; | |
| import {ControlValueAccessor, NG_VALUE_ACCESSOR} from "@angular/forms"; | |
| @Directive({ | |
| selector: '[Bind]', | |
| providers: [ | |
| { | |
| provide: NG_VALUE_ACCESSOR, | |
| useExisting: forwardRef(() => BindDirective), | |
| multi: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var screenName = $("html").data("screen"); | |
| requirejs( | |
| ["ClientApp/Boosters/" + screenName + "App"], | |
| function (application) { | |
| $(document).ready(application.Boost); | |
| } | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //The Bus module: | |
| //======================== | |
| var makeBus = function () { | |
| var subscribers = {}; | |
| var subscriptions = []; | |
| var makeDeliveryJob = function (client) { | |
| return function (event) { | |
| client.Receive(event); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define( | |
| ["widget", "hoozitFactory"], | |
| function widgetFactory(widget, hoozitFactory){ | |
| return { | |
| create:function() { | |
| var hoozit = hoozitFactory.create(); | |
| widget.hoozit = hoozit; | |
| widget.initSomethingBasedOnCurrentTime(); | |
| widget.initSomethingBasedOnCurrentSomeOtherThing(); | |
| widget.andOtherThings(); |