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

Realtime Conf EU - Lyon, April 2013

Realtime Conf EU - Lyon, April 2013

Announcing Prism, the first of several new modules to be spun out of the SocketStream framework. SocketStream 0.4 will use Prism to provide users with an end-to-end integrated realtime framework.

Owen Barnes

April 22, 2013
Tweet

Other Decks in Technology

Transcript

  1. ✓ Get up and running instantly ✓ Told what to

    do ✓ Easy to be productive At first...
  2. once you are familiar... ✓ Ability to make changes ✓

    Use cool new libraries ✓ A simple, maintainable stack
  3. Split up everything into modules that do one thing well

    & Beautifully integrate them for productivity by removing decisions 1 2
  4. “Flatiron's approach is to package simple to use yet full

    featured components and let developers subtract or add what they want.” flatironjs.org
  5. Standalone Server Just does one thing very well var prism

    = require('prism'); var server = prism({port: 3001}); server.start();
  6. Start as many servers as you need Designed to scale

    Prism HAProxy Prism Prism Prism
  7. Built In Extensible? Socket.IO RPC and PubSub Sort of -

    via some npm packages Meteor RPC, PubSub, models via minimongo Yes. Via custom packages Prism Nothing Yes!
  8. Realtime Services A new way to write reusable modules for

    realtime apps github.com/socketstream/realtime-service
  9. Realtime Services ✓ Write client and server code in the

    same way ✓ Control over each byte over the wire ✓ Return custom APIs to the app ✓ Use them in your own apps!
  10. They’re just JavaScript objects! { client: function(client) { // send

    to client }, server: function(server) { // run on server } };