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
1
100
Templates e o JavaScript
Apresentação feita na RioJS, de 2011
Evandro Leopoldino Gonçalves
December 15, 2011
Tweet
Share
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
87
Metaprogramação em Python
evandrolg
0
660
Programação Funcional e o JavaScript
evandrolg
7
580
Arquitetura Client-Side Comentários Globo.com
evandrolg
0
87
Other Decks in Programming
See All in Programming
Try creating your own orderedmap
kazamori
1
260
Sheets API使ってみた
toshi0383
2
170
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
540
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
680
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
280
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
480
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
9
4.3k
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
920
Goのエラースタックトレースの歴史と今後
sonatard
10
1.9k
Micro Frontends for Java Microservices - Utah JUG 2024
mraible
PRO
1
110
Milestoner
bkuhlmann
1
420
敵対的ポイフル
futabato
0
140
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
32
47k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Agile that works and the tools we love
rasmusluckow
325
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
The Power of CSS Pseudo Elements
geoffreycrofte
62
5k
The Invisible Side of Design
smashingmag
294
49k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
4 Signs Your Business is Dying
shpigford
176
21k
Building Effective Engineering Teams - LeadDev
addyosmani
32
1.9k
GraphQLとの向き合い方2022年版
quramy
33
12k
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