DEV Community

Discussion on: May 13th, 2021: What did you learn this week?

Collapse
 
janmpeterka profile image
Jan Peterka

I learned more about RESTful and HTTP methods, and how to change (and split) my controllers so they are more RESTful (and more readable and better structured).

I was inspired by this article to refactor my controllers. And I'm quite happy about this - every controller is short, concise, it led to some more refactoring and fixes I overlooked in my old messy controllers.