Entries Tagged as 'Building A Content Management System'

Tuesday, July 15th, 2008

Pass Blocks to Your Markdown Helper

For the new site, I’m going to be using Markdown to handle the formatting of all of my content. I created a simple helper to make things easy:

def markdown(str) RDiscount.new(str).to_html end

(Note: I’m using the RDiscount library instead of BlueCloth, for reasons discussed here)

However, what if I wanted to add a “Read more” link at [...]

Saturday, July 12th, 2008

Redevelopment Update

I put together a quick video showing where I’m at with the new design and backend for KyleSlattery.com. Take a look, and let me know what you think!

Thursday, April 3rd, 2008

Building a CMS: Simplifying Posts with Single Table Inheritance

“Posts” will make up the majority of my site’s content, and there will be a few different types: articles, reviews, links, and comments. While I could create separate tables in the database for each, I’ve decided to utilize Rails’ single table inheritance, whereby multiple models share the same table and some common behavior. [...]

Wednesday, April 2nd, 2008

Building a Content Management System on Rails

In my first post, I mentioned building a content management system from scratch. To introduce the project, I figured I should go through my reasons for it, and what I want to accomplish.

Why write my own?

Sure, there are loads of systems out there for running a web site, and it’d be really easy to [...]