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
4
280
Django Boston - 2011
A quick (but not so quick IRL) introduction to Haystack & Tastypie.
daniellindsley
February 01, 2012
Tweet
Share
More Decks by daniellindsley
See All by daniellindsley
The Unenviable Tutorial
daniellindsley
3
120
The March To 3
daniellindsley
1
140
How (Not) To Build An OSS Community
daniellindsley
1
240
Avoiding The Search Hall Of Shame
daniellindsley
3
420
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
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
94k
1 年間の育休から時短勤務で復帰した私が、 AI を駆使して立ち上がりを早めた話
lycorptech_jp
PRO
0
150
opsmethod第1回_アラート調査の自動化にむけて
yamatook
0
280
作るべきものと向き合う - ecspresso 8年間の開発史から学ぶ技術選定 / 技術選定con findy 2026
fujiwara3
4
520
2026年のAIエージェント構築はどうなる?
minorun365
10
2.2k
Getting started with Google Antigravity
meteatamel
0
360
Scrum Fest Morioka 2026
kawaguti
PRO
2
610
React 19時代のコンポーネント設計ベストプラクティス
uhyo
17
6.8k
AWSが推進するAI駆動開発ライフサイクル入門 〜 AI駆動開発時代に必要な人材とは 〜/ introduction_to_aidlc_and_skills
fatsushi
7
4.7k
APMの世界から見るOpenTelemetryのTraceの世界 / OpenTelemetry in the Java
soudai
PRO
0
140
AIで「ふとした疑問」を即座に検証する 〜定量で圧倒するN1理解〜
kakehashi
PRO
3
730
20260222ねこIoTLT ねこIoTLTをふりかえる
poropinai1966
0
200
Featured
See All Featured
HDC tutorial
michielstock
1
460
Everyday Curiosity
cassininazir
0
140
30 Presentation Tips
portentint
PRO
1
240
Chasing Engaging Ingredients in Design
codingconduct
0
120
Producing Creativity
orderedlist
PRO
348
40k
Paper Plane
katiecoart
PRO
0
47k
So, you think you're a good person
axbom
PRO
2
1.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Become a Pro
speakerdeck
PRO
31
5.8k
First, design no harm
axbom
PRO
2
1.1k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
810
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
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/