101 reputation
2
bio website derekgreer.lostechies.com
location United States
age
visits member for 4 years, 3 months
seen May 21 at 11:39

May
11
revised Is it necessary anymore to extract logic from API controllers?
Added a short answer
May
8
comment Is it necessary anymore to extract logic from API controllers?
For further discussion of this topic, I would highly recommend watching Robert Martin's "Architecture: The Lost Years" presentation available here.
May
8
comment Is it necessary anymore to extract logic from API controllers?
The application layer isn't the external interface to the outside world, but rather is intended to be the single interface used by one or more "outside world" facing interfaces (e.g. Web sites, Web services, various Desktop GUI technologies, console/command line interfaces, etc.). When your application has multiple external interfaces, it's best for them to all communicate with the same interface-agnostic layer. This is why I stated that it really boils down to your need to reuse the application logic.
May
8
awarded  Editor
May
8
revised Is it necessary anymore to extract logic from API controllers?
deleted 1 character in body
May
2
answered Is it necessary anymore to extract logic from API controllers?
Apr
14
comment What's wrong with circular references?
Sometimes circular references are necessary. Ask Lyle Swann about it.
Feb
24
awarded  Supporter