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
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
4
130
株式会社EventHub・エンジニア採用資料
eventhub
0
1.9k
疲弊しない!AWSセキュリティ統制の考え方 #devio_osakaday1
masahirokawahara
6
5.9k
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
3
240
クラウドサインにおけるプロダクトマネージャーの役割と開発プロセス / 20240410_cloudsign-PdM
bengo4com
1
680
Tebiki株式会社 エンジニア採用資料
tebiki
0
4.1k
コンテナセキュリティの基本と脅威への対策
kyohmizu
3
700
Discord とビルダー&チャットボットの使い方 / How to use Discord and Builder & Chatbots
ks91
PRO
0
130
テストプロセスで大事にしていること #jasstnano
makky_tyuyan
0
130
長期運用プロジェクトでのMySQLからTiDB移行の検証
colopl
2
680
キャラクター制御のためのプロンプト術 for LINE Bot
uezo
0
520
Data and AI Governance: Existing Challenges and Emerging Trends
scotthsieh825
0
160
Featured
See All Featured
Designing the Hi-DPI Web
ddemaree
276
33k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
15
1.4k
Navigating Team Friction
lara
177
13k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Adopting Sorbet at Scale
ufuk
67
8.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
Practical Orchestrator
shlominoach
181
9.7k
Raft: Consensus for Rubyists
vanstee
132
6.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
646
57k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Designing with Data
zakiwarfel
95
4.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/