Hey Nim community,
I'm a Python dev getting interested into Nim. Most of my web apps need an admin. Python has Django, Ruby has Rails and most other languages have their own framework with an admin enabled.
I was wondering if Nim had a similar fullstack framework? Jester seemed to be lighter and not to bundle such a feature.
Any recommandation?
Thanks! :)
Prologue would probably be a more appropriate framework for constructing such a large feature. I'll have a deeper look.
I had a look at https://github.com/SoftwareBrothers/admin-bro a while ago and I guess it could be the closest to combine and get a full admin with Prologue, Jester or others.
Thanks for your reply, that's at least clearer!
Yes, it's mostly CRUD. I currently use Django admin and it's for basic administration of content for users who don't want to break the database.
Would be great to see your work in progress @jasonfi. Is is based on a specific framework or database or is it very generic?
I'm also need something like that. Thinking about maybe using Headless CMS (like Admin UI in React.JS in TypeScript) + Nim REST API.
Creating it in Nim would be nice, but feels like a too big task..., it feels easier to adopt something already made....
I'm hoping one day someone in Nim would adopt approach pioneered by Phoenix LiveView, that allows to create a lot with very little code.
It's better to showcase by example, take look at gif and the full code it's made with https://twitter.com/joerichsen/status/1109122286139965441
Advantages vs Modern Web Apps like React/Karax:
Advantages vs Old Web Sites like PHP/RoR/Django:
Costs:
But, for usual Sites, Web Apps, and especially for Admin UI - it's ideal. Very little code to write to get things done.
Hope some day one bright Nim developer can alter/adopt Karax to work on server the way Phoenix LiveView do. As far as I know Nim and took a look at Karax - it should be quite possible... Karax should run on server and all the events/html-diffs to apply to DOM should be serialized and sent back and forth over network.