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
Django Boston - 2011
Search
daniellindsley
February 01, 2012
Technology
280
4
Share
Django Boston - 2011
A quick (but not so quick IRL) introduction to Haystack & Tastypie.
daniellindsley
February 01, 2012
More Decks by daniellindsley
See All by daniellindsley
The Unenviable Tutorial
daniellindsley
3
130
The March To 3
daniellindsley
1
140
How (Not) To Build An OSS Community
daniellindsley
1
250
Avoiding The Search Hall Of Shame
daniellindsley
3
430
API Design Tips
daniellindsley
14
3.9k
Building A Python-based Search Engine
daniellindsley
20
2.5k
RESTful APIs with Tastypie
daniellindsley
19
2.9k
Getting The Most Out Of Haystack
daniellindsley
5
240
Other Decks in Technology
See All in Technology
2026年、知っておくべき最新 サーバレスTips10選/serverless-10-tips
slsops
13
5k
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
120
え!?初参加で 300冊以上 も頒布!? これは大成功!そのはずなのに わいの財布は 赤字 の件
hellohazime
0
150
みんなの「データ活用」を支えるストレージ担当から持ち込むAWS活用/コミュニティー設計TIPS 10選~「作れる」より、「続けられる」設計へ~
yoshiki0705
0
220
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
4.1k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
6
18k
Digitization部 紹介資料
sansan33
PRO
1
7.3k
猫でもわかるKiro CLI(CDKコーディング編)
kentapapa
1
120
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
1.6k
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
Snowflake Intelligence導入で 分かった活用のコツ
wonohe
0
120
Azure Speech で音声対応してみよう
kosmosebi
0
160
Featured
See All Featured
Mind Mapping
helmedeiros
PRO
1
150
So, you think you're a good person
axbom
PRO
2
2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
170
Leo the Paperboy
mayatellez
7
1.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Exploring anti-patterns in Rails
aemeredith
3
320
Ruling the World: When Life Gets Gamed
codingconduct
0
200
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
110
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
The browser strikes back
jonoalderson
0
960
Transcript
None
Hi.
I’m Daniel.
I run Toast Driven.
Haystack http://haystacksearch.org/
What’s Haystack? • Pluggable backends • Solr, Elasticsearch, Whoosh, Xapian
• Advanced features • Faceting, More Like This, Spatial • Looks/feels like Django’s API
How so? • SearchIndex looks like a Form:
None
No, squint harder.
How so? • SearchQuerySet looks like QuerySet
Why?
Why? Don’t Make Me Think
Why? Don’t Make Me Think
Demo-Time.
So that’s Haystack.
So that’s Haystack.
Now for something a little different...
Tastypie http://tastypieapi.org/
What Is Tastypie? • A REST framework for Django •
Extension by Design • Models (but not just Models) • Proper use of HTTP • Ideal for CRUD operations & beyond
Pie?
Pie? Pie? Pie? Pie? Pie? Pie? Pie? Pie?
He can’t haz. But you can!
Define A Resource
Hook Up The URLconf
Done.
What’d You Get? • Full GET / POST / PUT
/ DELETE / PATCH • Serialized in JSON / XML / YAML / bplist • Authentication • Filtering • Discovery Views • And more!
Demo-time.
HTTP 418
I’m Daniel Lindsley of Toast Driven @toastdriven http://toastdriven.com/
Photos: http://www.flickr.com/photos/strangejourney/3175383671/ http://www.peachpit.com/ShowCover.aspx?isbn=0321344758 http://corgiaddict.com/post/14272461379 http://www.flickr.com/photos/57928359@N08/5328229600/