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
生成AI時代 文字コードを学ぶ意義を見出せるか?
hrsued
1
570
M3 Expressiveの思想に迫る
chnotchy
0
110
Observability в PHP без боли. Олег Мифле, тимлид Altenar
lamodatech
0
360
Yamla: Rustでつくるリアルタイム性を追求した機械学習基盤 / Yamla: A Rust-Based Machine Learning Platform Pursuing Real-Time Capabilities
lycorptech_jp
PRO
3
130
【TiDB GAME DAY 2025】Shadowverse: Worlds Beyond にみる TiDB 活用術
cygames
0
1.1k
Snowflake Summit 2025全体振り返り / Snowflake Summit 2025 Overall Review
mtpooh
2
400
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
4
3.3k
25分で解説する「最小権限の原則」を実現するための AWS「ポリシー」大全 / 20250625-aws-summit-aws-policy
opelab
9
1.2k
なぜ私はいま、ここにいるのか? #もがく中堅デザイナー #プロダクトデザイナー
bengo4com
0
480
2025-06-26_Lightning_Talk_for_Lightning_Talks
_hashimo2
2
100
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
130
OpenHands🤲にContributeしてみた
kotauchisunsun
1
460
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Designing for humans not robots
tammielis
253
25k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Faster Mobile Websites
deanohume
307
31k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
It's Worth the Effort
3n
185
28k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Writing Fast Ruby
sferik
628
62k
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/