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.
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.
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.
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 thangreet_html/
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.Sorry, I meant that I didn’t know where the
_html
suffix came from since the folder is referenced asgreet/
everywhere else in the articleOh yes, I see. Maybe a typo.