Giter Club home page Giter Club logo

Comments (15)

PascalLeMerrer avatar PascalLeMerrer commented on May 2, 2024 4

Hello
Ktor sounds interesting, but the lack of documentation is a no go for me.

from ktor.

orangy avatar orangy commented on May 2, 2024 1

@binhonglee did you add a dependency to ktor-html-builder module?

from ktor.

orangy avatar orangy commented on May 2, 2024

Agree. What would be 5 top topics to cover first?

from ktor.

juliocbcotta avatar juliocbcotta commented on May 2, 2024
  • Application Lifecycle
  • Pipeline
  • Feature Authentication
  • Location
  • Hosting

Would be nice to have a README.MD explaining each ktor-samples main goal or the wiki documentation could use the ktor-samples as code samples to each feature.

from ktor.

juliocbcotta avatar juliocbcotta commented on May 2, 2024

I did not reply with any priority order, but I think Hosting would be nice to see first together with a "How to run a hello world"

from ktor.

juliocbcotta avatar juliocbcotta commented on May 2, 2024

Maybe it can help in a section Hello world with gradle
https://github.com/BugsBunnyBR/base-ktor-gradle

from ktor.

tmseiler avatar tmseiler commented on May 2, 2024

Definitely agreed, here -- I wish I had found your demo before getting started. Being new to gradle/maven, I had a hard time figuring out exactly what to include to resolve the dependencies. Luckily the folks on slack were very helpful.

from ktor.

orangy avatar orangy commented on May 2, 2024

I created a "PR-able" repository for wiki: https://github.com/Kotlin/ktor-wiki
Would you mind contributing Gradle.md with description how to setup Ktor application with gradle, step by step?

from ktor.

hhariri avatar hhariri commented on May 2, 2024

@PascalLeMerrer We're adding documentation. Have you checked out the wiki? Most of the items in this issue are already there or being worked on.

from ktor.

PascalLeMerrer avatar PascalLeMerrer commented on May 2, 2024

Yes, I've checked it again yesterday, and although I've seen progress compared to what it was a few months ago, there are still blank pages, and it seems quite light for a documentation. So it remains a bit too early to adopt it for me.
Anyway, it's great to know you're working on it, and I hope it will be mature enough to use it on my next Kotlin project. Thanks for your efforts!

from ktor.

altavir avatar altavir commented on May 2, 2024

Documentation is messed up. Some links in the Wiki lead not to the places they mean to. Most of the classes I've searched not even documented in the source code.
I am considering moving from Ratpack to Ktor (since I generally like Kotlin more than Groovy), but currently I can't find my way around. For example, I need to change routing after application is started. In Ratpack it is done by reloading configuration, but I can't see how it could be done in Ktor.

from ktor.

binhonglee avatar binhonglee commented on May 2, 2024

So uhh... Where should I go for any kind of documentation now? The link above is dead and official website barely has anything (that actually works) in it.

from ktor.

qwertukg avatar qwertukg commented on May 2, 2024

@binhonglee In official Ktor repo u can find a lot of examples. Did u try it?

from ktor.

binhonglee avatar binhonglee commented on May 2, 2024

@qwertukg This is the official repo right? Or is there a different repo? I tried for example in this page, does this

import io.ktor.html.*

as seen on that page but was thrown an error (saying that package doesn't exist) while all the other ktor import was fine. Still couldn't figure out how to do a respondHtml.

from ktor.

binhonglee avatar binhonglee commented on May 2, 2024

@orangy Thanks! That fixed the problem. But yea, I ended up opting for Spark instead.

from ktor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.