Building a small blog cms in rails

Yes, building a blog cms in rails is apparently very simple, well to be true it’s simple if you want something really limited like a post model, a couple of static pages, controllers and one for the contact form and you’re settled. Actually for something like this one can use Sinatra (not to say that Sinatra is better for small applications, but you really don’t need all the Rails stack, of course Rails 3 is more modular and everything, but still).

That’s why the cms (I really dislike this word) backing up my personal site it’s not going to be something trivial, I’ve actually based it on more general cms I’ve been using for projects I work on.

“It is better to take many small steps in the right direction than to make a great leap forward only to stumble backward.”

From the vanilla state, I’ve got RBAC implemented (keeping in mind that I’m the only one posting articles on the site it is a bit useless) - this will cost some _small _performance in the admin but having it online will let me test it and improuve it for actual usage in real world.

Biography:

  • CMS - content management system
  • Sinatra - a DSL for quickly creating web applications in Ruby with minimal effort
  • RBAC - Role Based Acces Control

Tagged under: