FluidDB NYC Python presentation

  • Published on
    07-Dec-2014

  • View
    3.093

  • Download
    3

Embed Size (px)

DESCRIPTION

Slides from a presentation on FluidDB by Terry Jones on April 20, 2010 to the NYC Python Meetup.

Transcript

  • 1. FluidDB Terry Jones terry@uidinfo.com @terrycojones
  • 2. Information
  • 3. The physical world is writable (in some sense)
  • 4. Our brains are writable
  • 5. And we (programmers) have looked after our own needs pretty well
  • 6. A magic trick
  • 7. Making a problem disappear 1 2 4 8 16 32 64 128 256 512 1024 + ?????
  • 8. Making a problem disappear 1 1 2 10 4 100 8 1000 16 10000 32 100000 64 1000000 128 10000000 256 100000000 512 1000000000 1024 + 10000000000 + ????? 11111111111
  • 9. Representation VIII XVII XLIV LXXX XCVI CCLV
  • 10. Representation VIII XVII XLIV LXXX XCVI CCLV +
  • 11. Representation VIII XVII XLIV LXXX XCVI CCLV + D
  • 12. Representation VIII XVII XLIV LXXX XCVI CCLV + D
  • 13. FluidDB Make working with information more natural Make the (computational) world writable A single global shared database The database with the heart of a wiki?
  • 14. A FluidDB app: Tickery
  • 15. Python libs Fluid Object Mapper (FOM), by Ali Afshar fdb.py, by Nicholas Radcliffe txFluidDB (Twisted!), by Tristan Seligmann FluidDB Explorer, by Pier Parent
  • 16. A FluidDB object t witter.com/friends/jack t witter.com/users/screen_name hmason t witter.com/users/status_count 4191 terrycojones/met terrycojones/people/works-at-bitly uiddb/about t witter.com:uid:765548 sally/comment badass coder jamie/rating 7
  • 17. FluidDB is mainly Python Twisted (http:/ wistedmatrix.com) /t AMQP (txAMQP, RabbitMQ) Thrift (txThrift) Pyjamas (for Tickery) txJSONRPC (Tickery)
  • 18. More info Private alpha sign up: http://uidinfo.com/accounts/new Then mail api@uidinfo.com Blog: http://blogs.uidinfo.com/uidDB Docs: http://doc.uidinfo.com/uidDB
  • 19. Information model Objects with tags (with values) Objects have no owners A permissions system on tags Tags organized into namespaces A simple query language
  • 20. Queries Numeric: tag value (=, 20 except rating < 3 Tag presence: has tag Grouping/logic: (...), and, or Textual: tag text match (coming!)
  • 21. Permissions For each action on a namespace or tag: Theres a policy: open or closed And a (perhaps empty) list of exceptions
  • 22. API HTTP / REST based JSON arguments & replies A dozen client-side libraries (Python, Perl, Ruby, .Net, Java, etc) Other APIs planned (XMPP, Thrift)