Do you feel like there should be an easier way to snap pieces together to build UIs in Rails? Have you tried to tame a large Rails frontend, but got burned with bad abstractions or a mess of ERB templates, partials, and helpers?
Phlex brings sanity & joy back into building user interfaces in Rails.
This video course teaches you how to use Phlex to build high quality Rails frontends that you can use with existing Erb apps or go all-in and build from the ground up with components.
I built my first large Rails app when I founded Poll Everywhere. I scaled it up from a small app to one used by millions of people that processes billions of responses.
As CTO, I learned many lessons the hard way running a team of 35 Rails developers, designers, and product managers that I'll share with you so you can avoid the costly mistakes I made. Not only will you learn how to build excellent Rails applications—you will also know how it fits into the bigger picture of your team and organization.
This course will teach you the tactics and strategies for building user interfaces with Phlex, Rails, and other tools. In addition to the mechanics of Phlex, we’ll take a step back and ask “Why” and “How will this improve the development workflow?”
Phlex components are self-contained Ruby classes of a user interface that can be “snapped” together to build a more consistent, higher quality user experience. We’ll explore how you can use the full power of the Ruby programming languages to compose UIs for your Rails application.
Phlex is a lightweight HTML abstraction. Understanding how it maps to the generated HTML tags, attributes, comments, and other entities is foundational to creating quality components. We’ll also cover the built-in security and language server features in Phlex that make it a joy to use Phlex in your favorite code editor.
Phlex components can gradually be built and rolled-out in Rails apps with Erb, Haml, Slim templates and ViewComponents. These videos will show how to install Phlex into an existing Rails app, how to organize view files, and give you a strategy to gradually migrate your views into Phlex components.
Phlex components encapsulate views and fragments making them a perfect way to organize and compose views in the Turbo stack. Use them with Turbo Frames, Turbo Streams, and Turbo Pagemorphs and create a more responsive user interface.
Components work great with CSS utility Frameworks, like Tailwind CSS. We’ll install Tailwind CSS in a Rails app and integrate it with Phlex components
Forms are a critical part of web applications, but they’ve traditionally been difficult to customize in Rails, especially with Phlex. Superform is a powerful form builder library built completely on Phlex that makes it possible to build different types of forms in your apps and use them with ease.
We’ll go all-in on Phlex and build a Rails app completely out of Phlex components. You might not take it this far, but seeing it in action is a great way to understand how layouts, views, controllers, and components work together to create elegant UIs.
You save 34% and get to work with Brad to tailor course content to your learning goals
Before video production begins, Brad will work with people who pre-order to set the final lesson plan for the class. This ensures you get a class that's most relevant to the problems you're trying to solve.
When video production for the course starts, videos will be published with the lesson plan as soon as they're finished.
First, please share what could be improved. If you're still not satisfied, you can get a refund.
I get it, $379 is easier to spend when it comes out of a training budget or is a business expense. If you're a student or that's not you, reach out to somebody@beautifulruby.com and let's talk.
Of course! You'll need it for your expense reports or tax documentation. After you pay for the course you should get a receipt over email. You can also request one at anytime and we'll email it your way.
You'll always be able to access this website to watch videos. If for some reason the website needs to be taken down, you'll be offered a downloadable format that you can store on your own device.
This course is perfect for anyone who wants to build maintainable, testable, and reusable Rails frontends using Phlex components.