Hello! I have pretty much 0 (valuable) web dev exp...
# server
e
Hello! I have pretty much 0 (valuable) web dev experience. I don't know much about back- and front-end frameworks and whatnot. So pardon me if this is a stupid question, but how would I go about making a good-looking website using Ktor? From what I gather, Ktor is what I want for, say, routing, business logic, etc. What do I need to make a pretty front-end?
n
At a minimum you will need a basic lib to generate/manage HTML, and a CSS framework to easily handle styling and layout. Manually handcrafting a lot of CSS is pure madness (understanding CSS/web layout is a black art ).
Some good options are KotlinX HTML ( https://github.com/Kotlin/kotlinx.html ), and Bootstrap (CSS framework - https://getbootstrap.com/ )
🙂 1
For more advanced web front-ends you might want to consider using a third party Kotlin JS front-end lib/framework (eg KVision - https://github.com/rjaros/kvision ).