Component-driven development on Rails with Phlex

Sponsored:

Browsing without a VPN is like mailing your passwords on a postcard. Hackers, advertisers, and your ISP are tracking every click.

PureVPN wraps your data in military-grade encryption, making you completely invisible to snoops while unlocking restricted content worldwide. Don’t leave your digital life exposed for another second.

Reclaim your online privacy. Click here to secure your connection now!

Author:
Source

I wrote an article at https://fly.io/ruby-dispatch/component-driven-development-on-rails-with-phlex/ about how I built a Rails application 100% from Phlex classes and 0% Erb, including the application layout. I found the approach to be fun, expressive, productive, and at times … it even felt like I was building a Sinatra app in Rails 😄.

Read more