RailsConf 2014 - Day 2

Part 2 of 4


Keynote: Cognitive Depletion (ConFreaks)

Yehuda Katz (@wycats)

Set defaults to combat cognitive depletion.

Abstractions are leaky, but they allow one to start building on the 400th floor, instead of the 5th floor.

By persistently building on top of abstractions, we can get much higher.


Tricks That Rails Didn't Tell You About

Carlos Antonio da Silva

http://plataformatec.com.br/talks

Took many snapshots of the slides.


Middleman: The missing front end of the Rails API stack

Brad Gessler (Twitter)

http://www.polleverywhere.com/
http://middlemanapp.com/
http://directory.middlemanapp.com/

Slides will be available.

Middleman uses many of the same tools as Rails.

Multi-environemnt aware
Very simple deploy process
Nice solution to JavaScript MVC app


Refactoring Towards Component-based Rails Architectures

Stephan Hagemann

https://github.com/shageman/the_next_big_thing
https://github.com/josh-jacobson/Webloom
https://leanpub.com/cbra

Preferential Attachment - when the amount of things you have determines the amount of things you'll get. (One already has a lot, so one gets more.)


Web Applications With Ruby (Not Rails) (Confreaks)

David Padilla (Twitter)

https://github.com/dabit/wawr

Calling yourself a great programmer because you build your website with Rails is like calling yourself a great carpenter because you built your table from parts at Ikea.

Rack is as cool as bowties.


Hello WebRTC

Greg Baugues (Twitter)

http://www.twilio.com/docs/quickstart
http://iswebrtcreadyyet.com/
https://github.com/ZestFinance/zestphone

Used to work at WDW as a janitor.

WebRTC enables realtime communication in the browser via open protocols. It allows access to microphone, video camera et cetera natively in the browser.

JavaScript API

  • getUserMedia

  • RTCPerConnection - peer to peer connections between browsers (fast, secure, encrypted, interoperable)

  • RTCDataChannel

  • no built-in signalling

  • doesn't scale well

  • doesn't connect to telephone networks

  • use twilio to connect to telephones and downlevel browsers

SDP

  • are you there?
  • where are you?
  • what can you do?

Authorization In A Service-Oriented Environment

Alan Cohen (Twitter)

http://rubygems.org/gems/iron_hide
https://github.com/TheClimateCorporation/iron_hide

role based
attribute
access control list
rule based access

SOAs are like snowflakes: no two are alike.

Motivation

  • reusablility
  • allocate resources as necessary
  • loose coupling
  • encapselated concerns
  • pluggability

Decouple access decisions from access policy (cancan's #can versus #can?)

XACML is XML; just use JSON!