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
Evandro Leopoldino Gonçalves
December 15, 2011
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
100
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
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
170
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
160
Contextとはなにか
chiroruxx
1
390
Claude Team Plan導入・ガイド
tk3fftk
0
180
Prismを使った型安全な暗号化_関数型まつり2026
_fhhmm
0
110
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
200
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
260
The Bowling Game- From Imperative to Functional Programming - Part 1
philipschwarz
PRO
0
310
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
120
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
14
6.8k
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.8k
OSINT for SRE: 学術論文とポストモーテムから探る システム障害の共通パターン / SRE NEXT 2026
tomoyk
1
3.5k
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
750
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
220
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
260
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
180
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
Automating Front-end Workflow
addyosmani
1370
210k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Into the Great Unknown - MozCon
thekraken
41
2.6k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
560
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
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