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
Batman Loves Rails
Search
Matt Helm
May 30, 2013
Programming
0
110
Batman Loves Rails
Intro to using Batman.js with Rails. Presented at the Vancouver Ruby Meetup.
Matt Helm
May 30, 2013
Tweet
Share
More Decks by Matt Helm
See All by Matt Helm
How We Scale At Shopify
matthelm
2
370
StatsD At Shopify
matthelm
1
220
Tips and Tricks -- Ruby, Coffeescript, and GitHub
matthelm
0
150
Other Decks in Programming
See All in Programming
詳細の決定を遅らせつつ実装を早くする
shimabox
1
980
ボトムアップの生成AI活用を推進する社内AIエージェント開発
aku11i
0
1.6k
Designing Repeatable Edits: The Architecture of . in Vim
satorunooshie
0
260
alien-signals と自作 OSS で実現する フレームワーク非依存な ロジック共通化の探求 / Exploring Framework-Agnostic Logic Sharing with alien-signals and Custom OSS
aoseyuu
3
5.9k
Making Angular Apps Smarter with Generative AI: Local and Offline-capable
christianliebel
PRO
0
110
SidekiqでAIに商品説明を生成させてみた
akinko_0915
0
130
Tangible Code
chobishiba
3
520
CSC509 Lecture 13
javiergs
PRO
0
240
Agentに至る道 〜なぜLLMは自動でコードを書けるようになったのか〜
mackee
4
480
Vue 3.6 時代のリアクティビティ最前線 〜Vapor/alien-signals の実践とパフォーマンス最適化〜
hiranuma
2
430
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
380
Register is more than clipboard
satorunooshie
1
450
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
660
Mobile First: as difficult as doing things right
swwweet
225
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
24
1.5k
KATA
mclloyd
PRO
32
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
Why Our Code Smells
bkeepers
PRO
340
57k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Speed Design
sergeychernyshev
32
1.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Writing Fast Ruby
sferik
630
62k
Transcript
#BUNBO3BJMT
None
None
None
None
DPGGFF DPOWFOUJPOT CJOEJOHT SFTU
DPGGFF SVCZcDMBTTFTcBTTFUT
class Shopify.ProductsController extends Batman.Controller index: (params) -> @set ‘products’, Shopify.Product.get(‘all’)
show: (params) -> @set ‘product’, Shopify.Product.find(params.id)
DPOWFOUJPO GPMEFSTcTJNQMFc4IPQJGZ
FYQFSJFODFcEFTJHOFST CJOEJOHT
<ul data-addclass-loading=”products.loading”> <li data-foreach-product=”products” data-bind=”product.name”> </li> </ul>
QFSTJTUFODFcBTTPDJBUJPOT SFTU
p = Shopify.Product.new(name: ‘snowboard’) p.set(‘price’, ‘99.95’) p.save()
None
gem 'batman-rails' bundle install rails generate batman:app
CBUNBOKTPSH
BATMAN.JS ."55)&-. !NBUUIFMN