The Rails View: The Junk Drawer Grows Up

Talk Description:

You like Ruby. You know how to write it and refactor it. Controllersand Models are Ruby: fantastic, superb! Views, on the other hand,while Ruby — are also mixed with HTML, JavaScript (or CoffeeScript),and CSS (or SCSS). In this mixed environment it’s easy to drop yourhigh code standards and turn the top of the Rails stack into a nasty,brittle mess just to get things done. How do you recover, or evenbetter, avoid the trap in the first place? How can you get to thepoint where you treat your views like code you’re confident in?

We'll cover 10 simple rules you can follow immediately to transformthe way you write, think, and feel about Rails views. We'll also lookat some cutting edge techniques with SCSS, SVG imagery, and more insome recent projects the speaker has been working on.

Speaker Bio:

John Athayde(Internal Tools UI/UX/Front End Lead at LivingSocial)

John Athayde is a UI/UX/Design type who comes from an architecture (ofthe building variety) background. He's been in the Rails communitysince 2006 and has broad experience in e-commerce and running creativeteams. He is currently leading the design and view development onInternal Tools at LivingSocial. Prior to LivingSocial he was theDesign guy at InfoEther and ran Hyphenated People, a UI/UX Consultancywith Amy Hoy. He also runs Meticulous, a design and film company, inhis free time

Join or login to comment.

  • Rushaine M.

    Great Talk. Planning to implement the 10 rules in my development workflow.

    November 22, 2012

  • John A.

    Thanks to everyone who came out last night. I had a great time presenting and appreciated the interaction! Here's a PDF of the slides: If you have any questions or issues or want to discuss something, drop me a line. My contact info is the last page of the presentation.

    1 · November 14, 2012

  • John Joseph B.

    I wasn't able to make it out last night -- are there video or slides available?

    November 14, 2012

  • A former member
    A former member

    For those interested, here is the link to the NYC Code Retreat

    November 14, 2012

  • Vietnhi P.

    Absolutely great. Highly technical. No BS. Highly informative. Will keepme busy for a while catching up with what the presenter is doing :)

    November 14, 2012

  • Walter M.

    Great information and nicely presented.

    November 14, 2012

  • A former member
    A former member

    Rather excellent. The speaker was articulate and I found myself drawn in to their clear explanations. I could relate to the examples and the speaker handled questions like a champ!

    November 13, 2012

  • Judd M.

    Great big crowd. Everyone on point. Fun lightening talks at beginning. I'll be back.

    November 13, 2012

  • A former member
    A former member

    Tour de force of the view layer and a wide range of best practices (I want those 10 Rules on a placemat!). Very entertaining to boot.

    November 13, 2012

  • Karl B.

    Time for lightning talks tonight?

    November 13, 2012

  • Aidan F.

    Anyone using Cells ( or anything like it?

    November 7, 2012

    • Sam

      The added complexity is not worth the gain IMO

      November 8, 2012

    • Aidan F.

      I'm definitely feeling the limitations of Rails views - relying on instance (a.k.a. global) variables to pass data around gets messy when you are trying to use a single partial in multiple contexts. Being able to subclass views and helpers would be amazing. Have been meaning to give it a try.

      November 8, 2012

People in this
Meetup are also in:

Sometimes the best Meetup Group is the one you start

Get started Learn more

We just grab a coffee and speak French. Some people have been coming every week for months... it creates a kind of warmth to the group.

Rafaël, started French Conversation Group

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy