by jarrett · 13y ago · 0 comments
I'm working on an open-source Wordpress replacement right now. (No link yet. I want to get a little farther before I put it out there.) The basic concept is:
1) Use Rails, to ease development of plugins and per-site functionality.
2) Don't save content or site config in the database. Save it to disk.
3) Git keeps track of your content and config, just like a regular Rails project. The user-friendly admin interface is actually just a wrapper around Git plus a text editor and some menus. Developers can work in a text editor and a terminal while the client works in the GUI.
4) Because content and config are Git-controlled text files and not database records, you have a sane workflow for developing locally then deploying.
The choice of language in particular is a place where I don't want to compromise, because it's such a fundamental component, and it sets the tone for everything else. It's not just the language itself, but the community you're importing when you choose a language. There are plenty of good programmers using PHP, but the language also attracts a high percentage of the clueless. (If you're reading this and you code PHP, chances are you're in the first camp, so this isn't a stab against you.)
Wordpress works on all manners of shared and dedicated web hosting because they all (or at least the majority) support PHP
The biggest missing ingredient is a one-liner installer for all the dependencies. Installing Rails, the MySQL gem, and Passenger on a fresh server is not terribly hard for an experienced Unix user, but it is quite intimidating for casual users. So one of my goals for the project is to create a "worse is better" Rails installer. I.e. a really quick-and-dirty script, bundled with the CMS, which gives you a minimal Rails/Passenger/MySQL environment. It would be optimized for issue-free installation on a variety of hosts, rather than for bleeding edge features or maximum performance.