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
CleanShaved: See the Mustache Disappear
Search
Frederic Jean
September 21, 2012
Technology
0
150
CleanShaved: See the Mustache Disappear
Lightning talk given at Rocky Mountain Ruby 2012
Frederic Jean
September 21, 2012
Tweet
Share
More Decks by Frederic Jean
See All by Frederic Jean
Parlez-Vous HTTP? (Abbreviated)
fredjean
4
120
Parlez-Vous HTTP?
fredjean
2
140
Other Decks in Technology
See All in Technology
american airlines®️ USA Contact Numbers: Complete 2025 Support Guide
supportflight
1
110
LLM時代の検索
shibuiwilliam
2
180
データグループにおけるフロントエンド開発
lycorptech_jp
PRO
1
110
Getting to Know Your Legacy (System) with AI-Driven Software Archeology (WeAreDevelopers World Congress 2025)
feststelltaste
1
130
AWS認定を取る中で感じたこと
siromi
1
190
MobileActOsaka_250704.pdf
akaitadaaki
0
130
Yahoo!しごとカタログ 新しい境地を創るエンジニア募集!
lycorptech_jp
PRO
0
110
ビギナーであり続ける/beginning
ikuodanaka
3
760
United Airlines Customer Service– Call 1-833-341-3142 Now!
airhelp
0
170
FOSS4G 2025 KANSAI QGISで点群データをいろいろしてみた
kou_kita
0
400
2025-07-06 QGIS初級ハンズオン「はじめてのQGIS」
kou_kita
0
170
第4回Snowflake 金融ユーザー会 Snowflake summit recap
tamaoki
1
290
Featured
See All Featured
Practical Orchestrator
shlominoach
189
11k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
740
Unsuck your backbone
ammeep
671
58k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Documentation Writing (for coders)
carmenintech
72
4.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Making Projects Easy
brettharned
116
6.3k
For a Future-Friendly Web
brad_frost
179
9.8k
Transcript
CleanShaved See the Mustache Disappear
O P R ther eople's esources
Client-Side Templates Mustache Handlebars Hogan
Introducing CleanShaved
• Built on top of Handlebars.js • Provides a Rails
Helper to wrap templates
<%= template_for :hello do %> <h2>Hello, {{ message }}!</h2> <%
end %>
<script type="text/x-handlebars-template" class="template" name="test"> <h2>Hello, {{ message }}!</h2> </script>
The Shave
O P R ther eople's esources
• Built on top of Handlebars.js • Provides a Rails
Helper to wrap templates • Precompiles Handlebars templates to JS
Demo
CleanShaved • https://github.com/ fredjean/clean_shaved • gem install clean_shaved • https://speakerdeck.com/
u/fredjean/p/cleanshaved- see-the-mustache-disappear
Photo Credits • http://www.flickr.com/photos/denovich/ 3104766725/sizes/l/in/photostream/ • http://www.flickr.com/photos/sdasmarchives/ 5475242792/sizes/l/in/photostream/ • http://www.flickr.com/photos/library_of_congress/
6771386125/sizes/l/in/photostream/ • http://www.flickr.com/photos/library_of_congress/ 3121125698/sizes/o/in/photostream/