PERSISTENCE, DATA STRUCTURES, AND
THESE THINGS THAT LIVE IN APP/MODELS
Justin Litchfield	

@sototallysweet
Data

Data

App1
DB

PROBLEM SPACE

Data

App2
DB
App3

Data

Persistence
As A
Service

App1

App4

App2
DB

PROBLEM SPACE

Data
DB
DIAMETRIC	


HTTPS://GITHUB.COM/RELEVANCE/DIAMETRIC

Wrapper/ORM for Datomic	

Datomic is a DB that stores “facts” about a...
DIAMETRIC	


HTTPS://GITHUB.COM/RELEVANCE/DIAMETRIC
DATA STRUCTURES IN REAL
“LIVE” APPS
TWITTER GEM	

HTTPS://GITHUB.COM/SFERIK/TWITTER

Uses lots of other cool gems	

Worth reading	

Great structure

244 Files...
FARADAY	


HTTPS://GITHUB.COM/LOSTISLAND/FARADAY
FARADAY	


HTTPS://GITHUB.COM/LOSTISLAND/FARADAY
HASHIE	


HTTPS://GITHUB.COM/INTRIDEA/HASHIE

Can quickly describe data structures	

Provides things like validation, type...
HASHIE	


HTTPS://GITHUB.COM/INTRIDEA/HASHIE
HASHIE	


HTTPS://GITHUB.COM/INTRIDEA/HASHIE
HASHIE	


HTTPS://GITHUB.COM/INTRIDEA/HASHIE
ADAMANTIUM	


HTTPS://GITHUB.COM/DKUBB/ADAMANTIUM

“Makes objects immutable in a simple, unobtrusive way”	

Performance pr...
Upcoming SlideShare
Loading in …5
×

5 Ruby Gems in 10 minutes - Faraday, Hashie, Twitter, Diametric, and Adamantium

609 views
527 views

Published on


5 Ruby Gems in 10 minutes

Presented at Austin.rb Feb 3, 2014.

Diametric, Twitter, Hashie, Faraday, and Adamantium were discussed along with their influence on thinking of how we deal with Ruby objects

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
609
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

5 Ruby Gems in 10 minutes - Faraday, Hashie, Twitter, Diametric, and Adamantium

  1. 1. PERSISTENCE, DATA STRUCTURES, AND THESE THINGS THAT LIVE IN APP/MODELS Justin Litchfield @sototallysweet
  2. 2. Data Data App1 DB PROBLEM SPACE Data App2 DB
  3. 3. App3 Data Persistence As A Service App1 App4 App2 DB PROBLEM SPACE Data DB
  4. 4. DIAMETRIC HTTPS://GITHUB.COM/RELEVANCE/DIAMETRIC Wrapper/ORM for Datomic Datomic is a DB that stores “facts” about an entity Facts have time stamps and other metadata
  5. 5. DIAMETRIC HTTPS://GITHUB.COM/RELEVANCE/DIAMETRIC
  6. 6. DATA STRUCTURES IN REAL “LIVE” APPS
  7. 7. TWITTER GEM HTTPS://GITHUB.COM/SFERIK/TWITTER Uses lots of other cool gems Worth reading Great structure 244 Files (!!!)
  8. 8. FARADAY HTTPS://GITHUB.COM/LOSTISLAND/FARADAY
  9. 9. FARADAY HTTPS://GITHUB.COM/LOSTISLAND/FARADAY
  10. 10. HASHIE HTTPS://GITHUB.COM/INTRIDEA/HASHIE Can quickly describe data structures Provides things like validation, type coersion But it just feels like a hash
  11. 11. HASHIE HTTPS://GITHUB.COM/INTRIDEA/HASHIE
  12. 12. HASHIE HTTPS://GITHUB.COM/INTRIDEA/HASHIE
  13. 13. HASHIE HTTPS://GITHUB.COM/INTRIDEA/HASHIE
  14. 14. ADAMANTIUM HTTPS://GITHUB.COM/DKUBB/ADAMANTIUM “Makes objects immutable in a simple, unobtrusive way” Performance problems?

×