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
130
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
110
Parlez-Vous HTTP?
fredjean
2
130
Other Decks in Technology
See All in Technology
JSON攻略法.pdf
miyakemito
8
5.2k
AWS学習者向けにAzureの解説スライドを作成した話
handy
3
180
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
0
510
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
1
1.5k
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
2
280
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.5k
アクセス制御にまつわる改善 / Improving access control
itkq
0
590
On Your Data を超えていく!
hirotomotaguchi
2
750
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
3
620
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
140
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
150
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
1
360
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
660
120k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
Testing 201, or: Great Expectations
jmmastey
29
6.4k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Scaling GitHub
holman
457
140k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
33
6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Statistics for Hackers
jakevdp
790
220k
Navigating Team Friction
lara
179
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
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/