Go Beyond | Blog | First Post: TreyfCGI
Go Beyond
So, I'm switching blog systems for about the 4th time. If you've kept up with my
blogs and rants over the years, you'll see that it hasn't exactly been
progressive. Especially this change, anyways. Undoubtedly the uglest revision of
the site, as well as perhaps the strangest to navigate. To my credit, while it
does look like a site from the 90s, at least it doesn't have GIF "Under
Construction" pictures , frames, and a Netscape button at the bottom of every
page.
At least... it is fast! Also very easy for me to update, so I'll hopefully be
adding more and more content. Also looking into the best ways to link in
pictures and sort them about. Would be nice to have some sort of tagging on the
pictures, and a way to search based on the tags.
So, this new framework is written completely in C99 (ish). It's designed to be
stupidly simple, though it biases on the stupid. I've not done any true C coding
in years, and even that was one short experience not remotely equivalent to
this. It's taken me a couple days, a few trips to ##c on Freenode, about 30
pages into K&R C (should have done that first), and much googling to get to
where it's at now. The code is in the public domain, if you're
mildly curious.
It (optionally) ties into FastCGI, but isn't very good otherwise. Planning on
possibly having it output some form of readable/navigatable console interface
when not built with FastCGI support. Only a few lines of code resemble
functionality that way at the moment.
If you're curious about the content syntax for it, append ?s to any TreyfCGI
url. Such as this one.
The name this time is TreyfCGI. And no, it's not Trey FastCGI, but Treyf-CGI.
Treyf, like non-kosher. Mild improvement over Bluag and WebLua, perhaps.
Other recent timesinks include plans for starting a Minecraft host, called
KosherCraft. Hence, in part where Treyf comes from. I figure this is at least a
good coding start to get slightly in the direction of where I'll need to be for
server provisioning infrastructure behind KosherCraft.
Thanks for reading,
Teran (sega01)