Slide 1

Slide 1 text

૑Ә! ੗߄झ௼݀౟۽ ೡ ࣻ ੓ח Ѫٜ Today, The Actions in Javascript

Slide 2

Slide 2 text

੗߄झ௼݀౟ Javascript

Slide 3

Slide 3 text

One of Most Popular Programming Languages

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

Running Javascript Application Manywhere

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

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.

Slide 13

Slide 13 text

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.

Slide 14

Slide 14 text

Browsers Server Desktop IoT Mobile

Slide 15

Slide 15 text

Community Driven Language

Slide 16

Slide 16 text

ECMAScript/ES 20XX

Slide 17

Slide 17 text

ECMAScript/ES 20XX == Javascript/JS

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

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

Slide 21

Slide 21 text

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

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

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

Slide 26

Slide 26 text

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

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

Compiling, to Javascript

Slide 33

Slide 33 text

- 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

Slide 34

Slide 34 text

- 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 ...

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

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

Slide 39

Slide 39 text

࠳ۄ਋੷ Browsers

Slide 40

Slide 40 text

Browser, platform for Web Applications

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

Engine, composing layout and running Javascript

Slide 46

Slide 46 text

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

Slide 47

Slide 47 text

- Chrome, Chromium, Opera and Samsung Mobile Browser - Developed for The Chromium Project for Google Chrome and Chromium web browsers - Used Node.js that are used server-side and CLI (terminal) - Enabling Ignition and TurboFan pipeline

Slide 48

Slide 48 text

Quantum - Firefox Browser - Builded for the next-generation web engine for Firefox users - Written in Rust Programming Language for better memory safety, concurrency, and parallelism on multiple CPU core than compiled C++ code

Slide 49

Slide 49 text

Chakra Core - Edge Browser - High-performance JavaScript engine that powers Microsoft Edge - Open-sourced - Microsoft created a PR in the Node.js GitHub repo to use ChakraCore instead of V8

Slide 50

Slide 50 text

- Web Components - Web Assembly - Web Worker, Worklet - Web Payment - WebVR / AR

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

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

Slide 54

Slide 54 text

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

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

য೒ܻா੉࣌ Applications

Slide 57

Slide 57 text

Workflow, whole development process of Javascript Application

Slide 58

Slide 58 text

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

Slide 59

Slide 59 text

TOOLING ERA

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

Init Dev Build Deploy

Slide 62

Slide 62 text

Init Scaffolding application that already work with solutions

Slide 63

Slide 63 text

Dev Iterated development with compile, linting, and reloading on dev server

Slide 64

Slide 64 text

Build Build production ready application

Slide 65

Slide 65 text

Deploy One command deploy to your server

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

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

Slide 69

Slide 69 text

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

Slide 70

Slide 70 text

https://2017.stateofjs.com/

Slide 71

Slide 71 text

Framework, is a starting point, not a goal

Slide 72

Slide 72 text

- Best practices built with framework - Zero configuration tooling - Customizable configs - Exporting static files - PWA supports - Build with optimized performance like code- splitting - Good tutorials, books and videos for learning - Developer Ergonomics

Slide 73

Slide 73 text

Packages, reliability pattern is a design that result in reliable for production-ready application

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

CSS in JS, JavaScript as a language to describe and update styles

Slide 80

Slide 80 text

No content

Slide 81

Slide 81 text

No content

Slide 82

Slide 82 text

State Management, manage multiple pieces of state scattered across many components

Slide 83

Slide 83 text

https://facebook.github.io/flux/docs/in-depth-overview.html

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

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

Slide 86

Slide 86 text

No content

Slide 87

Slide 87 text

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

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

Tools, Editing, Debugging, Auditing and Testing

Slide 90

Slide 90 text

No content

Slide 91

Slide 91 text

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

Slide 92

Slide 92 text

LIGHTHOUSE SCORE

Slide 93

Slide 93 text

SOURCE EDITING

Slide 94

Slide 94 text

EAGER EVALUATION

Slide 95

Slide 95 text

OVERRIDES

Slide 96

Slide 96 text

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

Slide 97

Slide 97 text

No content

Slide 98

Slide 98 text

ࢲߡ-ࢎ੉٘ Server-Side

Slide 99

Slide 99 text

Node, one of popular solutions in front-end server

Slide 100

Slide 100 text

- 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

Slide 101

Slide 101 text

https://www.youtube.com/watch?v=PNa9OMajw9w

Slide 102

Slide 102 text

https://medium.com/airbnb-engineering/isomorphic-javascript-the-future-of-web-apps-10882b7a2ebc

Slide 103

Slide 103 text

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

Slide 104

Slide 104 text

2018 Node.js User Survey Report - https://nodejs.org/en/user-survey-report/#profile2

Slide 105

Slide 105 text

No content

Slide 106

Slide 106 text

No content

Slide 107

Slide 107 text

No content

Slide 108

Slide 108 text

Deno, secure TypeScript run-time on V8

Slide 109

Slide 109 text

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

Slide 110

Slide 110 text

- Bitcoin - Messaging server, MQTT - Bot Server - Game Server - Front-end app, auth server
 
 - AWS Lambda

Slide 111

Slide 111 text

ݽ߄ੌ Mobile

Slide 112

Slide 112 text

Native app w/ Javascript Mobile Web App vs

Slide 113

Slide 113 text

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

Slide 114

Slide 114 text

- App like
 - Secure - Installable - Offline working
 - Notification - Discoverable - Device features Progressive Web Apps

Slide 115

Slide 115 text

No content

Slide 116

Slide 116 text

No content

Slide 117

Slide 117 text

No content

Slide 118

Slide 118 text

No content

Slide 119

Slide 119 text

No content

Slide 120

Slide 120 text

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

Slide 121

Slide 121 text

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

Slide 122

Slide 122 text

Usecase, @Pinterest

Slide 123

Slide 123 text

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

Slide 124

Slide 124 text

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

Slide 125

Slide 125 text

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

Slide 126

Slide 126 text

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

Slide 127

Slide 127 text

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

Slide 128

Slide 128 text

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

Slide 129

Slide 129 text

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

Slide 130

Slide 130 text

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

Slide 131

Slide 131 text

Native Mobile App, w/ Javascript

Slide 132

Slide 132 text

React Native Native Script Vue Native Ionic (Angular)

Slide 133

Slide 133 text

https://2017.stateofjs.com/2017/mobile/results

Slide 134

Slide 134 text

No content

Slide 135

Slide 135 text

No content

Slide 136

Slide 136 text

No content

Slide 137

Slide 137 text

ؘझ௼఑ Desktop

Slide 138

Slide 138 text

Electron Nw.Js Progressive Webapp

Slide 139

Slide 139 text

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

Slide 140

Slide 140 text

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

Slide 141

Slide 141 text

No content

Slide 142

Slide 142 text

No content

Slide 143

Slide 143 text

PWA for Desktop

Slide 144

Slide 144 text

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

Slide 145

Slide 145 text

No content

Slide 146

Slide 146 text

No content

Slide 147

Slide 147 text

ই੉য়౭ IoT

Slide 148

Slide 148 text

- Not OS, runtime based - Using rich Javascript ecosystem, messaging protocols is already ready-for-production - Many of SDKs already support Javascript - Universal service for IoT, node based Server , and webapp, and device client - Support Native Interface JavaScript: The Perfect Language for the Internet of Things (IoT)

Slide 149

Slide 149 text

No content

Slide 150

Slide 150 text

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