Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
46
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
67
Arquitetura: Débito Técnico Zero (with footnotes)
miere
3
88
From 30rpm to 1980rps
miere
0
67
SOLID on Legacy Code [pt BR]
miere
1
190
Let the development Flow [pt_BR]
miere
0
56
OOP - Begins
miere
0
66
OOP - Exercises - 01 - Rouba Monte
miere
0
67
Logic-free Markup for a team of drunk developers ( PT_BR )
miere
0
120
Other Decks in Programming
See All in Programming
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
110
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
340
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
190
安いハードウェアでVulkan
fadis
1
760
Codex の「自走力」を高める
yorifuji
0
1.3k
Claude Code Skill入門
mayahoney
0
420
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
150
KagglerがMixSeekを触ってみた
morim
0
100
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
150
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
550
Pythonデータ分析コトハジメinFukuoka
kanan
0
100
20260320登壇資料
pharct
0
120
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Become a Pro
speakerdeck
PRO
31
5.9k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
460
Fireside Chat
paigeccino
42
3.8k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Making Projects Easy
brettharned
120
6.6k
Designing for Timeless Needs
cassininazir
0
170
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
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