Sporkmonger

purveyor of fabulously ambiguous eating utensils

Project List

Posted by sporkmonger
Written April 1st, 2007

I’m willing to admit to being responsible for:

There’s some other bits of code floating around in various states of disrepair.

I’ve also got a couple of C libraries I’m working on, but I’m not likely to talk much about them until they’re further along.

GentleCMS Development Log: Part 6

Posted by sporkmonger
Written November 14th, 2006

I’m beginning to think that perhaps GentleCMS is badly named. It’s a content management system, yes, but it’s also a lot more. It would probably be more accurate to call it a content management framework.

I’ve pretty much finished the main stuff for the backend. There’s some polishing left to do still, but without a frontend in place, further work on the backend code is going to inevitably end up getting out of touch with reality. I really need to get the code to the point where frontend development is sane, and as quickly as possible.

I’ve almost got the second rewrite of the theming code done. (Seriously, I don’t think there will be even a single component that hasn’t been rewritten at least once when I finally release this thing.) I’m going to keep the internal templating code exceptionally simple for the time being because at this point, it’s looking highly likely that I’m going to end up writing a custom templating system, probably based on Kid. (I’ll release it as a separate project most likely.) It’s not necessary yet though, so in the meantime, I’m just going to stick with very, very simple Erb templates so that any work I do is eventually going to be reusable. In any case, GentleCMS doesn’t really care too much how the templates are implemented, and as an end user, you’ll be able to pick and choose without any fuss.

Originally, my intention had been for GentleCMS to be a Rails application which was able to host other applications. That plan had a lot of shortcomings, not the least of which was that I really didn’t think a Rails application was going to be a good way to distribute, deploy, or upgrade things. Gem-based installers like the one Typo and other projects have recently started using would alleviate some of the pain points, but upgrades would still be problematic.

But beyond that, GentleCMS is nothing like Rails. Rails’ sweet-spot (quickly producing small database-backed web apps) is that which you should probably never try to do on GentleCMS. So, aside from hype-factor, why on earth would I want to tie this thing into Rails? Rails isn’t a webserver, and really, a webserver is all GentleCMS needs, not a full-blown framework, because GentleCMS is already the framework.

Which brings me to the option I’ve actually decided to go with: hooking directly into Mongrel. This gives me a lot of extra options, like for instance, multithreading like Merb, as well as a lot more control. Plus the performance is a lot better.

GentleCMS Development Log: Part 1

Posted by sporkmonger
Written June 26th, 2006

I got a lot of work on GentleCMS done while I was at RailsConf. I’ll probably start putting regular entries up on my progress so that it doesn’t get too quiet around here.

Read the rest of this entry…

TagTools project

Posted by sporkmonger
Written August 28th, 2005

Well, I woke up this morning to see an entry on tagging with Rails in NewNewsWire. I commented about the implementation on the ROR weblog.

So anyways, I’ve been working for the last week or so on a tagging system for Rails. When I saw the post I decided to try to finish my code before the day was over. 200mg of caffeine later… well… it’s now 5:30am. I finally got it clean enough for public consumption, though it may still have at least a couple of bugs to work out. Lots more features coming soon, including related tags.

Have fun with the thing! Let me know if you have any issue with it. I’ll probably wake up in a week or two to deal with the bugs. Good night!

TagTools documentation.