Introduction to Phlex
30-Sep-2022 1396
Phlex is a framework for building fast, reusable, testable views in pure Ruby.Each view object is an instance of a specific class of view. The nav-bar, for example, might contain three different nav-bar-items, but they’re all instances of the nav-bar-item class. This class, then, manifests everything there is to know about nav bar items in general. It models:the data attributes being represented — perhaps url and label.
Introduction to Phlex #ruby #rubydeveloper #rubyonrails #Introduction #Phlex https://rubyonrails.ba/link/introduction-to-phlex