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
Large Scale JS Engines
Search
Thanos Polychronakis
March 04, 2011
Programming
50
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Large Scale JS Engines
A presentation back from 2011, be gentle
Thanos Polychronakis
March 04, 2011
Transcript
12 slides
LARGE SCALE JS ENGINES @THANPOLAS BUILDING A LARGE SCALE JS
ENGINE
LARGE SCALE JS ENGINES @THANPOLAS WHAT IS A LARGE SCALE
JS ENGINE? • Implements our API • One page load • It’s a framework
LARGE SCALE JS ENGINES @THANPOLAS CHALLENGES BUILDING LSJSE • Name
spacing • Templating • Facilities • Data Objects Handling • Source Tree • “Compiling”
LARGE SCALE JS ENGINES @THANPOLAS GOOGLE CLOSURE LIBRARY Not Another
Framework Closure library is a LANGUAGE ENHANCER
LARGE SCALE JS ENGINES @THANPOLAS WHAT IS CLOSURE LIBRARY? Components
• Core Library • Compiler • Templating System • Closure Linter • Server agnostic • UI / UX / DOM • Cross-browser • Very Light! Highlights
LARGE SCALE JS ENGINES @THANPOLAS LSJSE ARCHITECTURE Name Space Properly
Do yourself a favor web.user.signup.ui.start = function(){};
LARGE SCALE JS ENGINES @THANPOLAS LSJSE ARCHITECTURE Shortcut Assign Variables
web.user.signup.ui.start = function() { var ui = web.user.signup.ui;
LARGE SCALE JS ENGINES @THANPOLAS LSJSE ARCHITECTURE Separate Core API
From UI/UX Keep it platform agnostic core.user.register(params);
LARGE SCALE JS ENGINES @THANPOLAS LSJSE ARCHITECTURE Abstract Abstract Abstract
Create your framework core.analytics.logPageView(‘/contacts’);
LARGE SCALE JS ENGINES @THANPOLAS LSJSE CONS • Steep Learning
Curve • Long Implementation Time • Slow Initial Page Load • Not SEO Friendly
LARGE SCALE JS ENGINES @THANPOLAS LSJSE PROS • Can Reuse
In Multiple Platforms • With Node.js Reuse Server Side • Faster / Better UX • Smaller Server Load
LARGE SCALE JS ENGINES @THANPOLAS THANK YOU. contact Thanasis Polychronakis
Founder geowarp.com Twitter @thanpolas
More Decks by Thanos Polychronakis
See All by Thanos Polychronakis
Why Logging is Important
thanpolas
0
210
Intro to WebRTC
thanpolas
1
180
Classical Inheritance in Javascript
thanpolas
0
440
Testing Node.js Applications
thanpolas
1
190
Top Tier Remote
thanpolas
6
2.6k
Desktop apps with Electron
thanpolas
2
410
Error Handling in Javascript and Node.js
thanpolas
2
200
Classical Inheritance in Javascript
thanpolas
0
470
Getting Serious with remote
thanpolas
2
650
Other Decks in Programming
See All in Programming
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.9k
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
750
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
420
Event is what happens
moro
2
4.6k
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
260
はじめてのPLATEAU
nokonoko1203
1
650
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
340
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
280
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
610
Seven New Principles of Software Engineering
yegor256
0
490
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.3k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Agile that works and the tools we love
rasmusluckow
331
22k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
300
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
Deep Space Network (abreviated)
tonyrice
0
410
A designer walks into a library…
pauljervisheath
211
25k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
510
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
560
Bash Introduction
62gerente
615
220k