A first look volt framework - Live demo with @heri - montrealrb

Post on 21-Apr-2017

458 views 2 download

Transcript of A first look volt framework - Live demo with @heri - montrealrb

A FIRST LOOK VOLT FRAMEWORK

@heri

A BLOG ENGINE IN 15MNLive demo in 2005 by @dhh

RUBY ON RAILS

• ~ 2005:

• Amazingly Simple and Elegant

• No bloat! Dev productivity! Is it paradise?

COMPLEXITY IN 2004

Server Client

ViewsControllers

Models

Routes/Auth

COMPLEXITY IN 2007

Server Client

ViewsControllers

Models

Routes/Auth

Ajax

REST

Random JS

COMPLEXITY IN 2014

Server Client

ViewsControllers

Models

Routes/AuthREST

Asset Packing

Routes/Auth

Views

Controllers

Models

Ajax

Asset Loading

RUBY ON RAILS

• Rails in 2015 requires a lot of peripheral knowledge to understand and develop a full app

• What to do on the front-end? Welcome to the sea of complexity!

VOLT FRAMEWORK

• MVVM ruby framework :

• isomorphic. Same Ruby code runs on the server and client (Opal)

• reactive bindings

• components (building blocks of your app)

• nice handling of async: Promises

• I can develop single page apps in record time!

QUICK DEMO

https://github.com/heri/montrealrb-chat

VOLT

• v 0.9.5

• Only mongodb as store. PostgreSQL soon

• Small but active community → gitter

• Try it out! voltframework.com

QUESTIONS?

@herimedium.com/@heri