$30 off During Our Annual Pro Sale. View Details »

Today headlines in Javascript, 2019

Jimmy Moon
September 27, 2019

Today headlines in Javascript, 2019

지금! 자바스크립트 하려면 알아야 할 것들

Jimmy Moon

September 27, 2019
Tweet

More Decks by Jimmy Moon

Other Decks in Programming

Transcript

  1. ૑Ә! ੗߄झ௼݀౟ ೞ
    ۰ݶ ঌইঠ ೡ Ѫٜ
    Today headlines in Javascript, 2019

    View Slide

  2. View Slide

  3. ੗߄झ௼݀౟
    Javascript

    View Slide

  4. One of Most Popular Programming
    Languages

    View Slide

  5. https://octoverse.github.com/projects#languages

    View Slide

  6. View Slide

  7. TIOBE programming community index is a measure of popularity of programming languages

    View Slide

  8. Javascript Running on
    manywhere

    View Slide

  9. https://en.wikipedia.org/wiki/JavaScript
    Initially only implemented client-side in
    web browsers, JavaScript engines are now
    embedded in many other types of host
    software, including server-side, databases,
    and in non-web programs, mobile and
    desktop applications.

    View Slide

  10. https://en.wikipedia.org/wiki/JavaScript
    Initially only implemented client-side in web
    browsers, JavaScript engines are now
    embedded in many other types of host
    software, including server-side, databases,
    and in non-web programs, mobile and
    desktop applications.

    View Slide

  11. https://en.wikipedia.org/wiki/JavaScript
    Initially only implemented client-side in web
    browsers, JavaScript engines are now
    embedded in many other types of host
    software, including server-side, databases,
    and in non-web programs, mobile and
    desktop applications.

    View Slide

  12. View Slide

  13. View Slide

  14. View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. Community Driven Language

    View Slide

  19. ECMAScript/ES 20XX

    View Slide

  20. ECMAScript/ES 20XX
    ==
    Javascript/JS

    View Slide

  21. https://en.wikipedia.org/wiki/JavaScript
    In November 1996, Netscape submitted JavaScript to ECMA International to carve out a
    standard specification, ... ECMAScript published in the first edition of the ECMA-262 standard
    in June 1997, ECMAScript 2 in June 1998, The release of ECMAScript 3 followed in December
    1999, by 2003, the original ECMAScript 4 work was mothballed. The development of
    ECMAScript 4 was never completed. ... Alas, there was still turmoil between the various
    players ... While all of this was happening, the open source and developer communities set to
    work to revolutionize what could be done with JavaScript, in early 2009 to rename ECMAScript
    3.1 to ECMAScript 5 and drive the language forward using an agenda that is known as
    Harmony. ECMAScript 5 was finally released in December 2009. In June 2011, ECMAScript 5.1
    was released to fully align with the third edition of the ISO/IEC 16262 international standard.
    ECMAScript 2015 was released in June 2015. ECMAScript 2016 was released in June 2016.
    The current version is ECMAScript 2017, released in June 2017

    View Slide

  22. https://en.wikipedia.org/wiki/JavaScript
    In November 1996, Netscape submitted JavaScript to ECMA International to carve out a
    standard specification, ... ECMAScript published in the first edition of the ECMA-262 standard
    in June 1997, ECMAScript 2 in June 1998, The release of ECMAScript 3 followed in December
    1999, by 2003, the original ECMAScript 4 work was mothballed. The development of
    ECMAScript 4 was never completed. ... Alas, there was still turmoil between the various
    players ... While all of this was happening, the open source and developer communities set to
    work to revolutionize what could be done with JavaScript, in early 2009 to rename ECMAScript
    3.1 to ECMAScript 5 and drive the language forward using an agenda that is known as
    Harmony. ECMAScript 5 was finally released in December 2009. In June 2011, ECMAScript 5.1
    was released to fully align with the third edition of the ISO/IEC 16262 international standard.
    ECMAScript 2015 was released in June 2015. ECMAScript 2016 was released in June
    2016. The current version is ECMAScript 2017, released in June 2017

    View Slide

  23. View Slide

  24. Stage 0: Strawman, submitting ideas and review
    Stage 1: Proposal, formal proposal for the feature

    Stage 2: Draft, first version of what will be in the specification
    Stage 3: Candidate, the proposal is mostly finished

    Stage 4: Finished, the proposal is ready to be included in the standard
    ECMAScript/ES 20XX

    View Slide

  25. View Slide

  26. View Slide

  27. View Slide

  28. View Slide

  29. Compiling, to Javascript

    View Slide

  30. View Slide

  31. - TypeScript: TypeScript is a superset of
    JavaScript that compiles to clean JavaScript
    output
    - Flow: Flow is a static typechecker for JavaScript
    - ReasonML: Simple, fast & type safe code that
    leverages the JavaScript & OCaml ecosystems
    - PureScript: A strongly-typed language that
    compiles to Javascript, written in and inspired by
    Haskell
    https://hackernoon.com/the-status-of-javascript-libraries-frameworks-2018-beyond-3a5a7cae7513
    ClojureScript

    View Slide

  32. View Slide

  33. - Superset of JavaScript that brings users
    optional static types and solid tooling
    - Designed for development of large
    applications and transcompiles to JavaScript
    - Maintained by Microsoft, Backed by Google
    (Angular and other project)
    - Support in many mature IDEs
    - Annotations and Compile-time type
    checking, Interfaces, Enumerated, Generics,
    Namespaces, Tuples, Async/await, Classes
    Modules ...

    View Slide

  34. View Slide

  35. View Slide

  36. View Slide

  37. View Slide

  38. View Slide

  39. https://hyunseob.github.io/2018/08/12/do-you-need-to-use-ts/

    View Slide

  40. ࠳ۄ਋੷
    Browsers

    View Slide

  41. Browser, platform for Web
    Applications

    View Slide

  42. View Slide

  43. View Slide

  44. View Slide

  45. View Slide

  46. Engine, composing layout and
    running Javascript

    View Slide

  47. Blink
    V8
    Webkit
    Nitro
    Gecko(Quantum)
    Spidermonkey
    EdgeHTML
    Chakra
    Blink
    V8
    Blink
    V8

    View Slide

  48. View Slide

  49. Blink
    V8
    Webkit
    Nitro
    Gecko(Quantum)
    Spidermonkey
    Blink
    V8
    Blink
    V8
    Blink
    V8

    View Slide

  50. View Slide

  51. Web Audio / Midi
    https://ryoyakawai.com/blog/2015/07/27/webmusic-hackathon-kyoto-en.html

    View Slide

  52. Web Assembly (aka, WASM)

    View Slide

  53. https://blog.logrocket.com/webassembly-how-and-why-559b7f96cd71

    View Slide

  54. https://blog.logrocket.com/webassembly-how-and-why-559b7f96cd71

    View Slide

  55. View Slide

  56. https://developers.google.com/web/updates/2019/02/hotpath-with-wasm

    View Slide

  57. https://www.youtube.com/watch?v=njt-Qzw0mVY

    View Slide

  58. View Slide

  59. https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/

    View Slide

  60. https://hacks.mozilla.org/2019/08/webassembly-interface-types/

    View Slide

  61. View Slide

  62. View Slide

  63. View Slide

  64. View Slide

  65. View Slide

  66. Web Capabilities (aka, Fugu)

    View Slide

  67. https://www.youtube.com/watch?v=GSiUzuB-PoI

    View Slide

  68. https://www.youtube.com/watch?v=GSiUzuB-PoI

    View Slide

  69. View Slide

  70. য೒ܻா੉࣌
    Applications

    View Slide

  71. https://github.com/kamranahmedse/developer-roadmap

    View Slide

  72. View Slide

  73. Workflow, whole development
    process of Javascript Application

    View Slide

  74. TOOLING ERA

    View Slide

  75. Init Dev Build Deploy

    View Slide

  76. View Slide

  77. View Slide

  78. Framework, is a starting point, not a
    goal

    View Slide

  79. REACT
    NEXT.JS
    VUE.JS
    NUXT.JS
    PREACT ANGULAR POLYMER EMBER
    (GLIMMER)
    GOOD OPTIONS WITH WORKFLOW

    View Slide

  80. View Slide

  81. https://npmcharts.com/compare/react,angular,@angular/core,ember-cli,vue,@polymer/polymer,next,nuxt,preact

    View Slide

  82. - Best practices built with the framework
    - Zero configuration tooling
    - Customizable configs
    - Exporting static files
    - PWA supports
    - Optimized performance
    - Tutorials, books and videos for learning
    - Developer Experience

    View Slide

  83. View Slide

  84. View Slide

  85. Packages Manager

    View Slide

  86. 2018

    View Slide

  87. 2019

    View Slide

  88. View Slide

  89. View Slide

  90. View Slide

  91. Tink
    2

    View Slide

  92. View Slide

  93. View Slide

  94. View Slide

  95. Data Management, manage multiple
    pieces of state scattered across
    many components

    View Slide

  96. https://facebook.github.io/flux/docs/in-depth-overview.html
    State Management, Flux

    View Slide

  97. https://www.jahia.com/about-us/news-events/blog/introduction-to-graphql
    GraphQL

    View Slide

  98. View Slide

  99. View Slide

  100. Bundling, tighten up your application
    for serving in production-ready
    version

    View Slide

  101. View Slide

  102. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  103. View Slide

  104. Tools, Editing, Debugging, Auditing
    and Testing

    View Slide

  105. View Slide

  106. https://next-hnpwa.now.sh/
    LIGHTHOUSE

    View Slide

  107. LIGHTHOUSE SCORE

    View Slide

  108. - Unit testing
    - E2E testing
    - UI Testing (Component)
    - Browser-side testing

    View Slide

  109. View Slide

  110. ࢲߡ-ࢎ੉٘
    Server-Side

    View Slide

  111. Node, one of popular solutions in
    front-end server

    View Slide

  112. - Node(node, Node.js)
    - V8 Engine for running Javascript out of
    browser
    - Light, fast, running on cross-platforms
    - Asynchronous I/O via libuv
    - Event-driven and Non-blocking I/O
    - Strong community, Node foundation and npm
    - Isomorphic (Universal) JavaScript Application

    View Slide

  113. https://medium.com/@addyosmani/progressive-web-apps-with-react-js-part-4-site-is-progressively-enhanced-
    b5ad7cf7a447

    View Slide

  114. View Slide

  115. View Slide

  116. View Slide

  117. View Slide

  118. View Slide

  119. Deno, secure TypeScript run-time on
    V8

    View Slide

  120. https://www.youtube.com/watch?v=M3BM9TB-8yA
    10 Things I Regret About Node.js
    - Ryan Dahl - JSConf EU 2018

    View Slide

  121. View Slide

  122. View Slide

  123. ݽ߄ੌ
    Mobile

    View Slide

  124. Native app
    w/
    Javascript
    Mobile
    Web App
    vs

    View Slide

  125. Mobile Web Application, web
    application with a first-class mobile
    experience

    View Slide

  126. - App like

    - Secure
    - Installable
    - Offline working

    - Notification
    - Discoverable
    - Device features
    Progressive
    Web Apps

    View Slide

  127. View Slide

  128. View Slide

  129. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  130. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  131. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  132. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  133. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  134. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  135. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  136. https://speakerdeck.com/addyosmani/fast-by-default-modern-loading-best-practices

    View Slide

  137. Native Mobile App, w/ Javascript

    View Slide

  138. React
    Native
    Native
    Script
    Vue
    Native
    Ionic
    (Angular)

    View Slide

  139. View Slide

  140. View Slide

  141. View Slide

  142. View Slide

  143. View Slide

  144. ؘझ௼఑
    Desktop

    View Slide

  145. Electron
    Progressive
    Webapp

    View Slide

  146. Electron, the best way to make a
    desktop app in web technologies on
    multi-platform

    View Slide

  147. Practice on embedding Node.js into Atom Editor // Speaker Deck - https://goo.gl/ENyzp9

    View Slide

  148. View Slide

  149. PWA for Desktop

    View Slide

  150. https://developers.google.com/web/updates/2018/05/dpwa

    View Slide

  151. View Slide

  152. View Slide

  153. View Slide

  154. ੗߄झ௼݀౟ ೠߣ ೧
    ࠁࣁਃ
    Try it! Now!

    View Slide