$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScript for the REST of Us (pt_BR)
Search
Miere Liniel Teixeira
May 17, 2012
Programming
0
44
JavaScript for the REST of Us (pt_BR)
Palestra ministrada para a equipe da Informant e ContaAzul em maio de 2012.
Miere Liniel Teixeira
May 17, 2012
Tweet
Share
More Decks by Miere Liniel Teixeira
See All by Miere Liniel Teixeira
Arquitetura: Débito Técnico Zero
miere
0
65
Arquitetura: Débito Técnico Zero (with footnotes)
miere
3
84
From 30rpm to 1980rps
miere
0
61
SOLID on Legacy Code [pt BR]
miere
1
190
Let the development Flow [pt_BR]
miere
0
54
OOP - Begins
miere
0
62
OOP - Exercises - 01 - Rouba Monte
miere
0
58
Logic-free Markup for a team of drunk developers ( PT_BR )
miere
0
120
Other Decks in Programming
See All in Programming
社内オペレーション改善のためのTypeScript / TSKaigi Hokuriku 2025
dachi023
1
540
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
8
19k
AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
tomohisa
5
19k
AIコーディングエージェント(Gemini)
kondai24
0
180
無秩序からの脱却 / Emergence from chaos
nrslib
2
12k
AIコーディングエージェント(NotebookLM)
kondai24
0
160
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
300
CSC509 Lecture 14
javiergs
PRO
0
220
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
110
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
300
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
5
1.9k
Rediscover the Console - SymfonyCon Amsterdam 2025
chalasr
2
150
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
KATA
mclloyd
PRO
32
15k
Building Applications with DynamoDB
mza
96
6.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
A better future with KSS
kneath
240
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
We Have a Design System, Now What?
morganepeng
54
7.9k
Designing for humans not robots
tammielis
254
26k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
JavaScript ... for the rest of us!
Why the hype about JavaScript? • Web Application Distributed Processing
• Face the Server Side Development Approach • Improve Web User Experience • Browsers War's Protagonist
... but at early stages was JavaScript a document.getElementById based
language?
JavaScript Designed to be a procedural programming language!
Procedural Programming... simply contain a series of computational steps to
be carried out.
JavaScript ... but it also have structs like C programming
language!
OKAY I'M IMPRESSED.
BUT WAIT! JavaScript can also provide a powerful a OOP
programming environment!
NOW I'M CONFUSED! ¬¬
The world needs heroes to bring JavaScript to "braços da
galera"
Today Heroes • jQuery ( 2006 ) • MooTools (
2006 ) • YUI ( 2006 ) • Dojo Toolkit ( 2004 ) • ExtJS ( 2007 ) • ActiveWidgets ( 2004/5 ) • Prototype • Scriptaculous • ... other thousands implementations.
JavaScript Structures... ...are also known as JavaScript Objects, writen in
JavaScript Object Notations (JSON).
JavaScript Classes... ...are any callable functions.
Its variables... ... are always a reference to a memory
instantiated object.
When everything is reference... ... data integrity inside application can
be a little odd.
As Procedural Programming... ...JavaScript functions have no maintainer class, no
parent class... nothing but a code stack!
Buzzword CLOSURE
Closure NOT JUST A TECHNIQUE, BUT A GOOD PRACTICE
Default API • Window public functions • Array, String, Boolean,
RegExp, Function, Date, Object... • Some Browsers specific classes • DOM Layer 1 • DOM Layer 2
By default we got no • Scope namespaces / packages
• No simple class implementations • No threads • No event driven architecture • ... just a low level API to handle browsers' things.
Frameworks? WHEN YOU NEED TO WORK WITH ONE OF THAT
FEATURES, YOU BETTER FIND A FRAMEWORK.
THE END JAVASCRIPT BECOME MORE SIMPLER WHEN YOU KNOW HOW
IT WAS DESIGNED. Autor: Miere Teixeira E-mail:
[email protected]
/
[email protected]
Twitter: @miere