It is done. My blog design is finally finished, and the default WordPress theme is history. But getting here took far longer than expected.
Choosing the right blogging / content management system
First, after about a year away from WordPress, I needed to familiarise myself with the template structure and the most common commands. That went fairly quickly, since WordPress really does use descriptive names for its core functions, leaving little room for misunderstanding. As most of the layout already existed as a Photoshop mockup, it did not take long to introduce the basic design to WordPress.
At that point, fortunately, I decided to test it on the live system. I installed a fresh copy of WordPress, uploaded my new theme and then wanted to install the plugins I needed. That was where the trouble began. I could not use automatic installation from the backend because WP apparently could not communicate with the outside world. I wanted to get to the bottom of that first. Here was my checklist:
- Firewall settings: all outbound communication from the local system is allowed – check
- PHP is not in Safe Mode and can access remote resources via:
- fopen() – check
- fsockopen() – check
- cURL – check
- File permissions are set correctly: the owner of the files is the same as the user running the corresponding Apache instance – check
What followed, of course, was bewilderment. After spending a morning trying unsuccessfully to track down the problem, I started wondering: is WordPress actually the right system for me? What do I really need?
- 100% control of the HTML output
- A convenient way to create static pages
- A weblog with the usual features
- Optionally: managing projects in a portfolio
Sure, WordPress can do that. Only the last point left me uncertain because of my limited WP experience. So, the reverse question: what do I not need?
- A huge overhead of features
- A WYSIWYG editor that produces invalid code
- Automatic updates and automatic plugin installation that unfortunately do not work
- Lots of useful plugins that usually do not do exactly what you want
- An iPhone application for accessing the backend
The question was: is there another system that might meet my needs better? Since I work extensively with ExpressionEngine for a client, this lean CMS was the first that came to mind. With its feature set in my head and my checklist in front of me, I quickly decided on EE. I am not saying it is better or worse than WordPress, nor am I trying to make a big comparison here. I was simply tired of wrestling with WordPress and wanted to reach the result I had in mind more quickly.
So I installed a fresh ExpressionEngine on the live system and tested all the features I needed, with the satisfying result that everything worked without much fiddling. Of course, I now had to convert the almost-finished WordPress theme for ExpressionEngine. But that went much faster than expected: all I had to do was replace the WordPress tags with their ExpressionEngine equivalents. Then a quick transfer of the existing content, and done.
Looking back, I am very happy with the decision because, from my perspective, it offers these advantages:
- Much cleaner templates without a jumble of PHP tags
- Better, more detailed control over my content and its structure through individual “weblogs” and custom field groups
- This also lets me manage my portfolio projects perfectly through the CMS
- No badly behaved plugins
- A much smaller but very knowledgeable community
So far, so good. I had found my CMS and had a working website with the features and appearance I wanted.
The frontend – exploring new territory
The layout mainly took shape over a relaxed weekend in the Eifel. In truth, I only designed the header and a few smaller elements, such as the date background in the weblog and the footer. For everything else, I experimented with CSS directly in the prototype from the start. In my view, many things are simply easier to try on the live object. My creative process also often works better that way than in Photoshop.
Technically, I ventured into somewhat experimental territory and chose HTML5 and CSS3. In particular, I use the new header, nav, article, aside and footer tags, and on the CSS side, @font-face and gradients. For HTML5, the article “Trying Something New” by Marc Tobias Kunisch in Webstandards Magazin (issue 04/09) was a great help. I will cover font replacement with @font-face and a Cufón fallback separately, since the solution currently running here is not yet entirely satisfactory.
Interaction design – a little fun is essential
The next step was interaction design with jQuery. This appears in two places on the website: the article pages and the portfolio. On article pages, I decided to display comments in a smaller column (250px) beside the article. That makes sense here because I do not initially expect too many comments, and they will usually be fairly short. Nevertheless, I wanted to make longer discussions possible while retaining attractive typography and readability. Clicking the plus sign in the heading therefore swaps the widths of the article and comment columns. The article column becomes narrower, all elements except the actual text are hidden, and the comment column takes on the article column’s width. Et voilà: even longer comments can be read comfortably without too much scrolling.
In my small portfolio, I wanted both to experiment and to make the experience more fun for visitors. Projects are displayed in a carousel and can individually be “flipped over” to reveal more information about their implementation.
In both cases, I made sure everything remains fully usable with JavaScript disabled (“unobtrusive JavaScript”).
Conclusion
I finally have what I think is a lovely little website again, and at last it includes a weblog. The path was certainly a little rocky, but also very educational. Now I have exactly what I wanted, and I am very happy with it.