Monday, January 13, 2020

referensi:
https://davidwalsh.name/
https://levelup.gitconnected.com/@kunaltandon.kt?source=post_page-----292e1962b1f6----------------------
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set
https://css-tricks.com/a-minimal-javascript-setup/

Get Unique Values of an Array

Getting an array of unique values is probably easier than you think:

var j = [...new Set([1, 2, 3, 3])]
>> [1, 2, 3]

Combining Multiple Objects

Consider you have three different objects:
const obj1 = {'a': 1, 'b': 2};
const obj2 = {'c': 3};
const obj3 = {'d': 4};

A Minimal JavaScript Setup:

Naming conventions

Scope

Wednesday, January 8, 2020

About YAML

YAML (a recursive acronym for "YAML Ain't Markup Language")

  • YAML is data serialization language. A language for make a file for data interchange and export between different system.
  • Structure is shown through indentation (one or more spaces). If you has learn some modern programming language. YAML has similar structure with python programming language and ruby programming language.
  • Sequence items are denoted by a dash, and key value pairs within a map are separated by a colon. Sequence items is like record, key value pairs is like record value, if you has learn some database knowledge.
  • YAML is used in modern Joomla.

PHP Documentor

About phpDocumentor

  • phpDocumentor is tool written in PHP.
  • phpDocumentor for documenting php source code.
  • phpDocumentor has an ugly searching function.

phpdoc tags

put inside multiline comment /**/

@package
@since
@method
@param
@global
@plugin
@link

package=namespace
since=version
method=function
param=function parameter

referensi:
https://docs.phpdoc.org/