Hacker News new | past | comments | ask | show | jobs | submit | javalin's comments login

Well, I agree. The title was originally just `realtime-collaboration-example` (as the URL says), but someone said "like google docs then", and I thought why not. If I had to name just one feature of google docs it would be the shared document.

Edit: Also, the HN title was edited by a HN mod, the title I used to post here was "Show HN: Basic Google Docs clone in Kotlin with WebSockets (tutorial)"


I added both links, thanks!


To the mod that removed the "Show HN" tag, could you explain why? I don't really mind, I just want to understand. This isn't a blog-post, and it contains source code that can be tried out. It's also for a library/framework that I'm making, so to me it feels like I'm doing a "show".


Feedback welcome. Implementation is done in Java in order to get good interop (this has a lot of SAM interfaces).


As always, feedback would be appreciated.


I recently finished writing a tutorial on using the AccessManager interface in Javalin (https://javalin.io/documentation#access-manager).

I haven't seen auth solved this way in any other library/framework, so it would be great to get some feedback (both on the tutorial, and the concept of the AccessManager interface itself).


Feedback would be appreciated!


I made some major changes to the API this week, moving from (req, res) -> {} to ctx -> {}. Would love some feedback.


Nice change - it's a shame this got buried.


Got some good feedback here last time, so posting again. I rewrote the library to Kotlin, but I had to leave a few things java, mainly the SAM interfaces and the Javalin class iteself. This had to be done due to limitations in Kotlin (https://youtrack.jetbrains.com/issue/KT-14151, https://devnet.jetbrains.com/thread/461516)

The rest of the library will be ported to Kotlin if this issue is resolved, or and alternative solution is discovered.

I guess the biggest change for Kotlin devs is that Request and Response are now Kotlin.

Feedback/criticism is welcome!


> but what reasons would I want to consider Javalin?

I'm not really trying to convince devs whose main language is Kotlin to use Javalin, it's made more for Java devs and Java devs who are looking to switch to Kotlin.

That being said..! Ktor Hello World example isn't very pretty, and I can't find the docs. All I found was a mostly empty wiki. Where are the official docs?

By the way, pull-requests for other embedded servers would be very welcome in Javalin.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: