Building a Jekyll Site – Part 1 of 3: Converting a Static Website To Jekyll

The following is a guest post by Mike Neumegen from CloudCannon. Mike and I talked about doing a little series on building Jekyll sites, which of course I was into because Jekyll is great and more education around static site generators is a good thing. Full disclosure, Mike's company CloudCannon is a CMS on top of Jekyll. As part of this series, he's going to show you how to use that, so I requested it be a sponsored post.


PHP for Beginners: Building Your First Simple CMS

The Magic of PHP + MySQL

It's safe to say that nearly every website that's up-to-date these days is using some form of content management system (CMS). While there are a ton of great free options that provide us with a CMS to power a website (WordPress, Drupal, etc.), it doesn't hurt to peek under the hood and get a feel for how these systems work.

To get our feet wet as back-end developers, we'll be creating a simple PHP class that will:

  • Create a database
  • Connect to a database
  • Display a form with two fields
  • Save the form data in the database
  • Display the saved data from the database

Download Files


Poll Results: What is your favorite CMS?

WordPress was the clear winner in the most recent poll asking What is Your Favorite CMS?

I'm a bit surprised there weren't more people commenting that WordPress isn't really a CMS (which I disagree with). WordPress had more than twice the votes than its nearest competitor, the more "traditional" CMS, Drupal. Actually, Drupal and Joomla were neck and neck at the finish line which makes sense to me as the share much of the same functionality as I understand it.

In fourth place was "Other", and with it came lots and lots of suggestions! Here are the write-ins:

Typo3 (Apparently it's huge in Europe =))
Sava CMS (ColdFusion)
Umbraco (ASP.NET)
Radiant (Ruby on Rails)
Kentico (ASP.NET)
CMS Made Simple
Instant Update

Obviously there are lots of choices out there! No offense to the little guys of course, but when it comes to a CMS, there is something to be said for choosing a long-standing system with a good developer and support community.

Right after "Other" comes "I don't like any CMS". Then final last four are ExpressionEngine, TextPattern, Cushy CMS, and Moveable Type.

To be honest, the one I'd like to check out the most is ExpressionEngine. From what I've read from its hardcore supporters, it sounds very functional, well designed, and very designer friendly.

I'll leave the poll up for a little while longer then retire it to the polls page and come up with something else. Send in any ideas!

New Poll: What is your favorite CMS?

There is a new poll in the sidebar folks. This one is about Content Management Systems (CMS). There was a pretty good comment thread going a little while ago which sparked the idea for this poll.

I've always been a WordPress guy, and now with the ability to easily create different page templates for different page styles, I feel like it really has evolved into a "real" CMS instead of just a blogging platform. However, I am extremely curious and interested in other CMSs and what they have to offer. To me, it seems like Drupal or Joomla would be a smarter route to take if you were creating a site that was segmented into different major areas, each with kind of a life of it's own. For example, DZone has sub-sites like Javalobby and Eclipse Zone. Each of these have different leaders, different RSS feeds, different looks... I think that would be hard to do with WordPress, much easier with Drupal. Am I right?

Cast your vote in the sidebar and let's see which CMS reins supreme favorite amongst CSS-Tricks readers. Remember you can view and participate in past polls on the Polls page.