+ All Categories
Home > Software > Vue on rails

Vue on rails

Date post: 29-Jan-2018
Category:
Upload: tristan-gomez
View: 73 times
Download: 0 times
Share this document with a friend
19
Transcript
Page 1: Vue on rails

Vue on RailsHow to gently introduce modern client-side web frameworks to your Rails developers

Page 2: Vue on rails

@parasquidChief Problem Solver

at Mindvalley

Page 3: Vue on rails

We had a monolithic Rails app that served us well for

over 3 years

Page 4: Vue on rails
Page 5: Vue on rails
Page 6: Vue on rails

But mobile started becoming big

Page 7: Vue on rails

We needed to make endpoints that the mobile

app can use

Page 8: Vue on rails

During the first Ruby Conference in KL I gave a talk on how to build

cross platform applications by default

Page 9: Vue on rails

http://life.beyondrails.com/blog/2016/08/13/life-beyond-rails-building-cross-platform-applications/

Page 10: Vue on rails

We started the conversion March 2017

Page 11: Vue on rails

Here’s how it looks like right now

Page 12: Vue on rails
Page 13: Vue on rails
Page 14: Vue on rails

We’re concurrently developing new full-stack features, as

well as improving the codebase

Page 15: Vue on rails

The project was mostly a success: getting the team to learn a new framework, and getting management buy-in

Page 16: Vue on rails

Walk-through

Page 17: Vue on rails

SummaryStart with small wins

Be clear about tradeoffs (e.g. SEO)

Webpacker

Use a sandbox

Leverage Rails support for different output formats (html and json)

Work on replacing one component at a time

Page 18: Vue on rails

CaveatsYou will need to learn a new language and frameworks

You will need to think differently (server vs client, components)

Without SSR, SEO will get affected

You might have too much fun :D

Page 19: Vue on rails

@parasquidChief Problem Solver

at Mindvalley


Recommended