1. 16
    1. 3

      I found this change to be great working when working with regular dead-views with controllers. Makes it really straight forward for defining the html for the controller to render, and refactor new isolated components and pull them in as you build. Feels much more functional than the previous way.

    2. 2

      I’m really happy about this. The implicit mapping from value to template location always bothered me

      P.S. I believe the contents of the tree should be greet/ rather than greet_html/

      1. 1

        Yes, I agree. The html appended seems very explicit. But I suppose that is also good. You might have a greet module somewhere else you don’t want confused with the templates directory.

        1. 1

          Sorry, I meant that I didn’t know where the _html suffix came from since the folder is referenced as greet/ everywhere else in the article

          1. 1

            Oh yes, I see. Maybe a typo.