RailsConf 2014 - Where did the OO go? Views Should be Objects Too!

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=WAN_P1m76GQ



Duration: 32:19
2,193 views
31


By Andrew Warner

Is app/views the worst part of your codebase? Have you ever told someone on your team "remember to update the client-side views too"? Too long has the node.js community touted their advantage of using the same code on the client and the server. It's time that Rails got a few punches in.

We should think of views as objects, not template files. In this talk I show how that lets us tease apart presentation from data, and build logic-less templates that are shared between client and server.

Andrew Warner studied CS and Psychology at Wesleyan. He has worked at companies large and small and with tech stacks ranging from Java/Spring to Ruby on Rails. He is currently a developer at Rap Genius, where he helps build and scale a Rails backend so that all of text can be annotated.

Help us caption & translate this video!

http://amara.org/v/FG1h/




Other Videos By Confreaks


2014-05-07RailsConf 2014 - Let Me Code by Liana Leahy
2014-05-07RailsConf 2014 - Modeling on the Right Side of the Brain by Nicholas Henry
2014-05-06GopherCon 2014 Gophers on a Plane: The Story of Go on App Engine by David Symonds
2014-05-06RailsConf 2014 - Supercharge Your Workers with Storm by Carl Lerche
2014-05-06EmberConf 2014 Empty Your Cup Reflections on Learning Ember by Matt Jones
2014-05-06EmberConf 2014 Extending Ember with Analytics by Alex Dilberto
2014-05-06EmberConf 2014 Array Computing Properties by David J. Hamilton
2014-05-06EmberConf 2014 Ember & SOA by Jeremy Green
2014-05-06EmberConf 2014 Admin Your App: or Why Internal Tools Matter by Michael Sean Becker
2014-05-06RailsConf 2014 - Rack-AMQP: Ditch HTTP Inside SOA! by Josh Szmajda
2014-05-06RailsConf 2014 - Where did the OO go? Views Should be Objects Too!
2014-05-06RailsConf 2014 - Keith and Mario's Guide to Continuous Deployment with Rails
2014-05-05RailsConf 2014 - Mutation Testing with Mutant by Erik Michaels-Ober
2014-05-05RailsConf 2014 - Concerns, Decorators, Presenters, Service Objects, Helpers, Help Me Decide!
2014-05-05RailsConf 2014 - Demystifying Data Science: A Live Tutorial by Todd Schneider
2014-05-05RailsConf 2014 - Empowering Rich Internet Applications (RIAs) with Accessibility
2014-05-05RailsConf 2014 - Keynote: Writing Software by David Heinemeier Hansson
2014-04-28MountainWest RubyConf 2014 - How to Prototype an Airport by Barrett Clark
2014-04-28MountainWest RubyConf 2014 - But Really, You Should Learn Smalltalk
2014-04-28MountainWest Devops 2014 - Cooking at Shopify: Taming a busy kitchen with many Chefs
2014-04-28MountainWest Devops 2014 - "DevOps" in a Post-DevOps World by Paul Reed



Tags:
Railsconf
Railsconf 2014
Computers
Ruby On Rails Software
Ruby Programming Language
Ruby
Rails
Computer Programming
Community
Development
Confreaks
Software Engineering
Computer Science