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
Adapter Pattern
Search
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
80
Maintainable CSS
juanzuluaga
0
87
Elixir 101 - The Erlang VM
juanzuluaga
5
340
UI Fundamentals for Programmers
juanzuluaga
0
290
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
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
360
Android CLI
fornewid
0
200
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.7k
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
150
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
960
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
4
1.8k
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
510
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
570
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
420
Claude Team Plan導入・ガイド
tk3fftk
0
250
What's New in Android 2026
veronikapj
0
240
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
460
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Balancing Empowerment & Direction
lara
6
1.2k
Marketing to machines
jonoalderson
1
5.6k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
400
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
650
Docker and Python
trallard
47
4k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
270
Agile that works and the tools we love
rasmusluckow
331
22k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
470
Crafting Experiences
bethany
1
230
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