Hi everyone! Is MVC a good pattern for ktor applic...
# ktor
v
Hi everyone! Is MVC a good pattern for ktor applications? Is there any other pattern recommended?
s
I’d say from my observations it is less natural for ktor. You need to do some scaffolding around to do classic controllers and domain services working transparently (unlike in Spring or Jersey where it is just required by the framework). Ktor promotes more simplistic functional design, which may or may not be appropriate, depending on the size and complexity of the project.
✔️ 1
1
2
v
In fact it is a microservice, I'm searching for a modern and most suitable design pattern for kotlin-ktor-exposed ecosystem
s
If you want modern, go simple, functional and use ktor recommendations for testing.