Skip to content
sgml edited this page Aug 31, 2018 · 1473 revisions

"To get portable data, you need to pick a representation that is usable in most programming languages" "To get portable behavior, you need a maintainable program standard that runs on most computer systems"

Simplest Controllers

  1. RegExp
  2. RewriteRule
  3. CSSOM
  4. SMIL
  5. toJSON
  6. WPAD
  7. XML Processing Instruction

Imperative

if (x == 7 && y == 7)

Declarative

select * from x, y where num = 7

Interrogative

var num = new Map(); num.set({7:"x,y"}, num.foo) num.get({7:"x,y"})

Imperative

if (num.hasOwnProperty(7)) { num.foo = Function; num.toJSON = num.foo }

Declarative

var num = {7:"x,y", toJSON: num.foo};

Interrogative

num.has(7) && num.has(toJSON) && num.size()

Imperative

Bring back real hiphop

Declarative

Hiphop is dead

Interrogative

Who killed hiphop?

Narrative

Back in the day...

Authoritative

Only God Can Judge Me

Imperative

Array.push/Array.pop/Array.sort/Array.join

Declarative

Array.concat/Array.from

Interrogative

Array.indexOf / Array.some / Array.every

Imperative

Set.add / Set.delete / Set.clear

Declarative

new Set()

Interrogative

Set.has / Set.size /

Narrative

RegExp

Authoritatize

Object.defineProperty

WHO CAN COME AFTER HIM?

Variables - RegExp / XPath /xsl:variable (Every variable is a query result) $scope.href = function(){ if(/1/.test($scope.template.name) === true) {return 'http://example.com';} else {return 'http://ietf.org';} };

Templating - SSI/ESI

Data Binding - Excel / URI Templating

Theming - Image Maps / fonts / data:URIs

Debugging - Greasemonkey / eval

Coding - Emmet / JSLint / XHTML5

Documenting - Markdown

Visualizing - HTML5 Canvas

Annotations

https://9clouds.com/blog/14-slack-hacks-using/ https://get.slack.help/hc/en-us/articles/202288908-How-can-I-add-formatting-to-my-messages-

Conditions

https://www.coderetreat.org/pages/facilitating/activity-catalog/ http://www.donhopkins.com/drupal/node/124 http://www.donhopkins.com/drupal/node/69

State

http://etutorials.org/Macromedia/Fash+remoting.+the+definitive+guide/Part+III+Advanced+Flash+Remoting/Chapter+15.+Flash+Remoting+API/DataGlue+Object/ http://www.tomkitta.com/guides/flashMX2004.cfm https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/binding/utils/BindingUtils.html https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/remoting/RemoteObject.html https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/utils/ObjectProxy.html https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/data/DataProvider.html https://www.adobe.com/devnet/flex/quickstarts/using_data_providers.html

Events

http://backbonejs.org/#Events-stopListening

Clone this wiki locally