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
160
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
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.6k
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
170
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
390
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
270
マネージャー視点で考えるプロダクトエンジニアの評価 / Evaluating Product Engineers from a Manager's Perspective
hiro_torii
0
190
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.6k
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
260
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
150
Greatest Disaster Hits in Web Performance
guaca
0
300
Oracle AI Database移行・アップグレード勉強会 - RAT活用編
oracle4engineer
PRO
0
110
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
570
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.2k
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
A better future with KSS
kneath
240
18k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
79
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
We Are The Robots
honzajavorek
0
170
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
58
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
190
The Cult of Friendly URLs
andyhume
79
6.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/