Better HN
topnewbestaskshowjobs
Log inSign up

rafaelmartins

65 karma · joined May 29, 2014 (12y ago) · 13 submissions

Submissions

comment 10y ago · link · parent

thanks for sharing your experience. I appreciate it

comment 10y ago · link · parent

haha, no, it is a joke with "bucket" in brazilian portuguese, but its not the first time I see someone relating it with bald people ;)

comment 10y ago · link · parent

hey, thanks for the comment, it is far away from being rude :)

blog posts were never the focus, they are mostly for myself, to remember how things work, as I don't work on the framework for some time, and need to have it fresh in mind to write proper docs. it may also help other people willing to help writing docs. also, whoever published balde website here in HN found it due to these blog posts, then they were worth already. :) and to be honest, I'd not publish the framework here in hacker news right now, I'd wait for documentation to be ready, but someone else couldn't wait, so...

but you're right. the focus now is writing documentation.

thanks

comment 10y ago · link · parent

I love kcgi, but we have different focus. I may use it as FCGI layer for balde, though :)

comment 10y ago · link · parent

I'd love to make balde BSD-licensed ( see https://github.com/balde/balde/wiki/Converting-from-LGPL-to-... ) but unfortunately I have to deal with GLib for now... :/

comment 10y ago · link · parent

I'm just avoiding claims without evidence... unlike the guy who says that SCGI is slow ;)

comment 10y ago · link · parent

of course. I'll just get some benchmark results published before doing such claim on the website. :)

comment 10y ago · link · parent

as it is a microframework, it does not cares about such details, you can handle memory allocation by hand, or use memory pools provided by glib, create gobjects and use refcount, etc. It is up to you :)

Internally used memory should be free'd manually with the balde_app_free function. it encapsulates most of it for you.

comment 10y ago · link · parent

yes, it lacks documentation, I started this blog post series to try to address this: https://rgm.io/post/balde-internals-part1-foundations/

if you have some specific question, feel free to ask

comment 10y ago · link · parent

You are supposed to use SCGI in production. The embedded HTTPD is provided to help during development, so you don't need to setup SCGI in your local machine. I never did any serious testing on the HTTPD, but it was not developed with security and performance in mind.

comment 10y ago · link · parent

Hi guys, I'm the author of this framework, and it seems that someone shared it here because I started this blog post series this weekend: https://rgm.io/post/balde-internals-part1-foundations/

This is why most of the documentation is marked as TODO, but the API docs are reasonably up-to-date.

If someone has interest on it or is willing to help, please let me know :)

EDIT:

simple url shortener example, using redis: https://gist.github.com/rafaelmartins/9f8392a8909e62820ae0

"complete" app, with templates and stuff: https://github.com/rafaelmartins/bluster

comment 12y ago · link · parent

the project just uses the very basic structures from GLib, then it is possible (and planned) to migrate out of it in the future.

comment 12y ago · link · parent

haha. exactly! :)