Twistori Tech

2,284 views

Published on

How Amy Hoy and Thomas Fuchs built http://twistori.com (the tech behind it!).

Published in: Technology, Education
  • Be the first to comment

Twistori Tech

  1. 1. twistori tech notes
  2. 2. twistori tech notes CO DE MG Z! !!!! O ES !!! ON S LID
  3. 3. RUBY & JSON & HTML & JAVASCRIPT
  4. 4. Twitter search ATOM Ruby script db cron JSON files AJAX static HTML, JS, CSS
  5. 5. static HTML, JS, CSS
  6. 6. DAY #1
  7. 7. $ wc < twistori.rb 53 246 1998 $ wc < twistori.js 197 447 6695
  8. 8. STOPWORDS = %w(.biz http:// https:// @ twistori twistory www. .com) next if STOPWORDS.any? { |word| title.upcase.include? word.upcase }
  9. 9. 1.767.689.216
  10. 10. $ sqlite3 twistori.db SQLite version 3.4.2 Enter ".help" for instructions sqlite> select count(*) from tweets; 5693786
  11. 11. - (void)animateOneFrame { WebView *webView; webView = [[WebView alloc] initWithFrame:[self frame] frameName:nil groupName: nil]; [self addSubview:webView]; [[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://twistori.com"]]]; [self stopAnimation]; }

×