Gauche > Archives > 2024/07/07

2024/07/07 08:59:37 UTCshiro
#
These days I use Gauche-makiki https://github.com/shirok/Gauche-makiki for web app; it's a pretty simple webserver with routing and basic request/response handling. We don't have a particular middleware DB layer; personally, those db-layer middleware makes it easy to do typical tasks, but I tend to work on atypical stuff and I feel they are getting in my way. But it depends on the nature of app, of course.
2024/07/07 09:56:29 UTCzaxx
#
Great. Just yesterday, after I already posted the question here, I found Makiki! :) I quickly reviewed it and I like it! The only downside for me is that it doesn't have any HTML templates mechanism. It would be really nice if it had that feature, so that HTML responses don't always have to be constructed "manually" using the text.html-lite library, for example. By the way, is there a way to make it so that functions from text.html-lite don't have to be called with the html: prefix? It's very verbose if I always have to write html:table, html:a, html:div instead of table, a, div.
2024/07/07 13:00:34 UTCshiro
#
These days I tend to use SXML to construct HTML response. Check out examples/post.scm in Makiki, for example. SXML is just a S-expression so you can easily construct programatically.
2024/07/07 15:32:29 UTCzaxx
#
Mr. Shiro, as an experienced Scheme developer, can you share your workflow with us? Do you use Emacs? If so, do you use any additional tools or plugins that make scheme programming easier for you (like Geiser or something else)? I'm really interested in how to achieve the optimal programming experience, working in Gauche.
2024/07/07 20:09:59 UTCshiro
#
I just use Emacs + Quack. Old school. I should learn newer ways (and adapt Gauche to work with them smoothly). I'd rather ask what new geenration developers are using.