On using Phlex | katafrakt's garden
06-Oct-2023 968
The most important characteristic of Phlex in my opinion is that, at least for Rails, it’s a view layer we never had but always needed. Rails, despite stating that it’s MVC, does not really offer much on the “V” front. It feels much more like a model-template-controller, where templates are dumb and typical responsibilities of a view are shoved into a model, controller or a separate kind of object (like form objects). Oh, and there are helpers that do not fit anywhere in this model.Let’s take a quick example. The requirement is:.
On using Phlex | katafrakt's garden #ruby #rubydeveloper #rubyonrails #using #Phlex #katafrakt's #garden https://rubyonrails.ba/link/on-using-phlex-katafrakt-s-garden