Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Adapter Pattern
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Juanda Zapata
April 21, 2016
Programming
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Adapter Pattern
Brief overview of the adapter pattern in Ruby on Rails
Juanda Zapata
April 21, 2016
More Decks by Juanda Zapata
See All by Juanda Zapata
Principles of Visual Design
juanzuluaga
0
82
Maintainable CSS
juanzuluaga
0
87
Elixir 101 - The Erlang VM
juanzuluaga
5
340
UI Fundamentals for Programmers
juanzuluaga
0
300
UI fundamentals for programmers
juanzuluaga
0
400
Programming in paradise
juanzuluaga
1
150
Intro to Ruby
juanzuluaga
1
700
Other Decks in Programming
See All in Programming
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
3
370
型解析で実現する Go の言語内 DSL / Conference に Go! タイムテーブルの歩き方 for Gophers
mazrean
0
130
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
580
高専キャリア LT 発表内容
crysta1221
6
5.6k
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
210
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.6k
Building an Out-of-Order CPU
latte72
1
730
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
120
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
480
RSSとCodexを使ってX投稿自動化してみた
ochtum
0
110
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
690
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
160
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
590
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
690
Measuring & Analyzing Core Web Vitals
bluesmoon
9
990
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Accessibility Awareness
sabderemane
1
200
Speed Design
sergeychernyshev
33
2.1k
BBQ
matthewcrist
89
10k
We Are The Robots
honzajavorek
0
350
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Transcript
The Adapter Pattern
@juanzuluaga 6+ rails programming
why?
None
maintainable code
what is the adapter pattern?
None
None
None
an adapter make things work AFTER they are designed
example
None
None
None
None
makes calls to an object hidden inside
an object that does everything that we need but with
the wrong interface
they exist to soak up the differences between interfaces that
we need and objects that we have
in the real world
active record
ActiveRecord Database MySqlAdapter Postgres Sqlite
None