4 ms·
Separation of concerns? Why would I ever want to implement business logic in an http server configuration file?
by vectorpush 12y ago
Separation of concerns? Why would I ever want to implement business logic in an http server configuration file?
- mjburgess 12y agoUmm.. what do you think a server is for?
- vectorpush 12y agoThe http server's job is to translate URLs into http requests for consumption by the application. The http server should generally be agnostic regarding the semantic meaning of your URLs, which take the form of business rules, the proper place for which is the application layer (whenever possible).