Hi there,
I just very recently stumbled upon nim, and I realy like it.
And one thing I would like to have for nim is a client+server webframework. (like OCamls ocsigen or ur/web or opa-lang) So i decided to take initiative, and started writing something like that:
https://github.com/choltreppe/nim_serclim
Im not very experienced in writing libraries and there is still a lot missing. So every help to make this a real production ready thing is very welcome.
greetings Joel
I'm working on a server/client framework myself, but with a Flutter engine on the client: https://nexusdev.tools/
I would like to release an initial code drop sometime next month.
I worked on a similar project a while back, no idea if any of my code is applicable for your purposes but feel free to copy anything helpful :)
thanks for explaining. Forgott to look in the forum for some days :/
This probably means that it is (or at least that it could be) type checked since it's all one project.
Yes.
the latter of which could simply be stored directly in the binary as the result to some route.
That would be the better way. But I couldnt figure out how to put the compiler output directly into a string to use for the server. So for now it is compiled into a seperate file. But I will probably change that. If it doesnt work any other way, I could just compile into temp file read it and delete the file or something.
but I wouldn't be surprised if it used one of them in the background
I started with building on top of prologue, with the idea of making it pluggable for any framework in the long run, but that didnt seem to work very elegantly. So I started to write the whole framework from scratch. And used the oportunity to put some ideas from rust/rocket that I realy like into it. ( the routing system that automatically parses the parameters to reduce even more poilerplate)
I never shipped anything, but I was working on a SPA web app with the following stack: Front end: Karax API: Nerve DB interface: Norm Didn't need much for server side routing because Nerve routes itself and Karax routed the front end.
Dropped the project because I got busy, but I was happy with the way the different libraries interacted.