Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Savory Framework: A tasty way to develop web applications with MongoDB - Tal Liron

mongodb
November 02, 2011

The Savory Framework: A tasty way to develop web applications with MongoDB - Tal Liron

MongoChicago 2011

Savory is the best (and only!) comprehensive web development framework for MongoDB, designed from ground up to scale as well as MongoDB does. In... this talk I'll show you how easy it is to throw MongoDB collections into editable browser-based tree, grid and chart widgets, using the Ext JS and Sencha Touch client frameworks.

mongodb

November 02, 2011
Tweet

More Decks by mongodb

Other Decks in Technology

Transcript

  1. The Savory Framework “Our Web Development Framework Tastes Better Than

    Yours” Tal Liron http://threecrickets.com Mongo Chicago, Oct 18, 2011
  2. What Makes Savory Unique? • Built from the ground-up for

    MongoDB • No SQL legacy • No ORM nonsense • No lowest-common-denominator: MongoDB to the max • Strict REST platform • “DRM” instead of “ORM” • Cleanroom integrations: • Facebook, Twitter, Google, PayPal, Gravatar • Comprehensive Sencha integration (Ext JS, Sencha Touch)
  3. The Development Experience • High standard of documentation • Live

    coding • Robust logging • The Savory Console • MongoVision • Deploy applications in a .zip file • Easy to integrate with Ruby, Python, PHP, Clojure, Groovy, Java
  4. Server-Side JavaScript Prudence • JVM • Full REST stack •

    Deployment container • Integrated services: • Caching backends • Clustering Node.js • V8 • Bare minimum
  5. “Just give me a reliable key-value store and I’ll take

    care of everything else.” “Just let me hook a function to HTTP’s GET and POST and I’ll take care of everything else.”
  6. “Just give me a reliable key-value store and I’ll take

    care of everything else.” Berkeley DB, Tokyo Cabinet, Dynamo Cassandra, Membase, Redis, Riak “Just let me hook a function to HTTP’s GET and POST and I’ll take care of everything else.” Node.js, Sinatra, Tornado
  7. “Just give me a reliable key-value store and I’ll take

    care of everything else.” dbm (since 1979) “Just let me hook a function to HTTP’s GET and POST and I’ll take care of everything else.” CGI (since 1993)
  8. “Just give me a reliable key-value store and I’ll take

    care of everything else.” “Everything else”: encapsulation, queries, locking, atomicity, etc... “Just let me hook a function to HTTP’s GET and POST and I’ll take care of everything else.” “Everything else”: conditional requests, content negotiation, data representation, URI mapping and routing, filtering, cache management, etc...
  9. Why Is Irrational Ultra-Minimalism Popular? • Annoyed with heavy-handed approaches

    • One style does not fit all • Let me do things my own way • Weary of bloat • Why am I paying in complexity and performance for features I don’t use? • Obsession with performance • Billions and billions (users and dollars)
  10. Performance != Scalability • Premature optimization is a waste of

    time and effort • Optimizing out of context can have detrimental effects on the service as a whole • Worst of all: If you don’t understand the challenges of scalability, you’re never going to solve them