I’m building a Kotlin web framework on top of Ktor called Kales (https://kales.dev/). The architecture is inspired on Rails, contributions are very welcome 🙂
b
bdawg.io
03/03/2019, 7:15 AM
Something that I didn't like about rails was how global everything was. It be nice if the controllers supported dependency injection and suspending functions. I'd highly encourage
suspend fun ApplicationCall.index() { ... }
in your controllers
➕ 1
f
felipecsl
03/03/2019, 6:21 PM
same here, too much magic + global everything is a recipe for disaster. thanks for the feedback