-
Notifications
You must be signed in to change notification settings - Fork 6
Utmost Simplicity
"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" "If something can be derived, store it as a function instead of a variable" "There should be a single 'source of truth'"
- RegExp
- Recursion
- RewriteRule
- SetEnv/UnsetEnv/PassEnv
- CSSOM
- SMIL
- toJSON
- WPAD
- XML Processing Instruction
Example Script: create Vendor IBM id 'IBM' salesperson 'S1' discount 10.0 Translates Into: <script> IBM S1 10.0 </script>
Simplest Message Passing
- window.postMessage
- Object.defineProperty
- tunneling
- backreferences
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
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-
http://csis.pace.edu/~marchese/SE735/L1/L1.htm
https://www.sqlite.org/requirements.html
https://jsfiddle.net/twophayse/ay6rkLwt/
https://en.wikipedia.org/wiki/Rebol
https://en.wikipedia.org/wiki/Category:Computing_stubs https://en.wikipedia.org/wiki/Wrapper_library
https://www.coderetreat.org/pages/facilitating/activity-catalog/ http://www.donhopkins.com/drupal/node/124 http://www.donhopkins.com/drupal/node/69
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 https://jacksondunstan.com/articles/2439