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
Templates e o JavaScript
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Evandro Leopoldino Gonçalves
December 15, 2011
Programming
110
1
Share
Templates e o JavaScript
Apresentação feita na RioJS, de 2011
Evandro Leopoldino Gonçalves
December 15, 2011
More Decks by Evandro Leopoldino Gonçalves
See All by Evandro Leopoldino Gonçalves
Conheça Lua: uma linguagem dinâmica com core minimalista
evandrolg
0
97
Metaprogramação em Python
evandrolg
0
680
Programação Funcional e o JavaScript
evandrolg
7
600
Arquitetura Client-Side Comentários Globo.com
evandrolg
0
100
Other Decks in Programming
See All in Programming
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
150
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
290
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
160
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
1
290
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
220
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
950
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
230
安いハードウェアでVulkan
fadis
1
890
モダンOBSプラグイン開発
umireon
0
200
KagglerがMixSeekを触ってみた
morim
0
370
20260315 AWSなんもわからん🥲
chiilog
2
190
AI活用のコスパを最大化する方法
ochtum
0
370
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
The Limits of Empathy - UXLibs8
cassininazir
1
290
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
230
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
AI: The stuff that nobody shows you
jnunemaker
PRO
4
520
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
Transcript
Templates e o JavaScript Evandro Leopoldino Gonçalves Desenvolvedor, Globo.com
[email protected]
@evandrolg
O que se vê por aí...
Concatenação de Strings
Dá para melhorar...
Array.join()
Supplant http://javascript.crockford.com/remedial.html
Micro-Templating http://ejohn.org/blog/javascript-micro-templating/
Sprintf http://www.nczonline.net/blog/2011/10/11/simple-maintainable-templating-with-javascript/
Mustache http://github.com/janl/mustache.js
Outras bibliotecas - jQuery Template: https://github.com/jquery/jquery-tmpl - Handlebars: http://www.handlebarsjs.com/
Carregando HTML externo http://encosia.com/using-external-templates-with-jquery-templates/
Dúvidas?
Obrigado! ;) Evandro L. Gonçalves
[email protected]
@evandrolg