So what do y’all think about this for all the code you need for a basic POST/redirect/GET guestbook web app with Kitten?
Does it all make sense?
https://codeberg.org/kitten/app/src/branch/development-mode/examples/guestbook
Basically, you run kitten on that directory and hit https://localhost.
(Note: Kitten is not ready for use yet. I think the core design is solid now though. You can play with it but I’m only starting to work on the developer experience now. Should be far nicer in the next few weeks.)
#kitten #web #dev #smallTech #smallWeb
Does it all make sense?
https://codeberg.org/kitten/app/src/branch/development-mode/examples/guestbook
Basically, you run kitten on that directory and hit https://localhost.
(Note: Kitten is not ready for use yet. I think the core design is solid now though. You can play with it but I’m only starting to work on the developer experience now. Should be far nicer in the next few weeks.)
#kitten #web #dev #smallTech #smallWeb
norwin
in reply to Aral Balkan • • •also it looks scary that there is no html escaping of user input, but i guess that's handled by the html template func? in that case it would be good to have that pointed out
Aral Balkan
in reply to norwin • • •The html template function does handle escaping (there’s a raw() function you can call to pass unescaped content) and yes, that should be documented, thank you. I’ll open an issue for that now :)
Aral Balkan
in reply to Aral Balkan • • •Document html template function, including security properties
Codeberg.orgnorwin
in reply to norwin • • •Aral Balkan
in reply to norwin • • •