Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JSConf 2015 (ShenJS)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
马斯特
July 19, 2015
Technology
790
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JSConf 2015 (ShenJS)
Some thinking from JSConf China 2015.
马斯特
July 19, 2015
Other Decks in Technology
See All in Technology
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
180
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
240
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
250
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
130
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
620
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
480
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.1k
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
エンジニアに許された特別な時間の終わり
watany
109
250k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Typedesign – Prime Four
hannesfritz
42
3.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Why Our Code Smells
bkeepers
PRO
340
58k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Transcript
JSConf 2015
Agenda • JS with Front-end • JS with Back-end •
JS with Everything
Javascript with Front-end
Front-end Evolution Separation of Front-end and Back-end MVC in Front-end
MVVM • Angular.js • All included framework • Vue.js •
Library focus on View Model • React.js • Library focus on View Model
MVVM (cont.) • Todo List Demo • Angular.js • Vue.js
• React.js
React
JSX
JSX (cont.) • Mix HTML into JS?
None
Virtual DOM • Virtual DOM • An abstraction for real
DOM. App React Virtual DOM Real DOM
Virtual DOM (cont.) • Why abstraction? • DOM manipulation is
expensive! • Accelerate DOM update!
Virtual DOM (cont.) App Virtual iOS Component Real iOS Componenet
• Why abstraction? • Learn once, write everywhere.
React Native
Virtual DOM (cont.) • Why abstraction? • Isomorphic Javascript var
html =React.render(<HelloMessage />); res.send(html)
Immutable Data • Any method that modifies a collection will
return a new collection instead of mutating the original. • Demo
Persistent Data Structure • Memory wasting problem?
Immutable Data (cont.) • Why Immutable Data? • Prevent side
effects • Faster deep equality checking • Pointer comparisons, treat collections as values • Makes handling “undo” easy and efficient
Problems with REST • REST is tough: it’s resource based!
REST API Service I need User data! /api/User/123 REST API Service I need Account data! /api/Account/456 REST API Service I need User with his associate Account data! ?
装作听不懂的样⼦子! Sorry, I don’t understand!
Problems with REST (cont.) • Real world Demo (Nexus-Web) Storage
Centric VS Production(UX) Centric
Problems with REST (cont.) Back-end 欧巴! Please add a new
“Composite” API 思密达!
GraphQL
GraphQL (cont.)
React • JSX • Virtual DOM • Immutable Data •
GraphQL
ES6 • Next Generation Javascript • Already approved in June
2015 Fix its own bad things Steal good things from other languages
ES6 (cont.) • https://github.com/lukehoban/es6features Class Generator Let + Const Modules
Arrow function For … of …
ES6 (cont.) • Let + Const • For … of
… • Generator
Generator for Async • Callback Hell
None
Generator for Async (Cont.)
Generator for Async (Cont.) • Use Generator
Generator for Async (Cont.) • Runner
None
ES6 (cont.) • Babel • Use next generation Javascript, NOW!
• A transpiler to transform ES6 code to ES5. • Demo
Test • Demo (WhiteLabel P2)
Javascript with Back-end
Node.js • Cloud Computing • New web framework: koa.js/toa.js •
P2P Game • fib.js: New “Node.js” based on V8
Tools for Node.js • Cluster Monitoring • PM2
Tools for Node.js • Cluster Monitoring • Keymetrics
Tools for Node.js • Performance Profiler • Node Profiler
Meteor.js • Let the UI talk to the database.
Meteor.js • Minimongo
Javascript with Everything
NodeBot
Nerd Disco
Nerd Disco (cont.)
Nerd Disco (cont.) • Demo • Video on 优酷 •
Code • Github
Research • Polyvia • Image processing with canvas • Demo1
Demo2 • DNA • 华⼤大基因
WebGL • OpenGL on Web • Slide http://avgp.github.io/shenjs-3d/ • Other
Demos • https://crazyskills.panasonic.com/en/ • http://www.ro.me/ • WebVR
– A speaker from Alibaba “每18个⽉月~24个⽉月,前端都会难⼀一倍”
– Someone “Any application that can be written in JavaScript
will eventually be written in JavaScript.”
All Slides: ! https://github.com/jsconfcn/ShenJS/ issues/30