Migrating a massive legacy CMS to WordPress without losing your mind

By | March 4, 2011, 5:50am PST

Summary: I’m going to WordCamp Miami this weekend. If you’re a WordPress user or developer, I hope to see you there!

This has not been the best few days for WordPress. Despite the challenges that WordPress.com is currently dealing with — a massive distributed denial of service attack is never fun — the WordPress ecosystem is going strong.

For the record, I doubt this week’s DDoS was an attack aimed at WordPress itself. Usually, these sorts of attacks are political and aimed at a site hosted by a service. The rest of WordPress.com sites are probably just collateral damage.

WordPress.com, itself, is huge. It’s one of the top sites on the Internet. WordPress.com is differentiated from WordPress, the software. WordPress, the software, is an open-source environment that powers WordPress.com. While I wish the folks running WordPress.com well, what really interests me is the open-source PHP-based software.

That’s where my own connection with this story picks up.

A little over a year ago, I decided to migrate the ZENPRESS content management system, a system I first started coding back in 1997, from UserLand Frontier to WordPress. I chose WordPress for many reasons, not the least of which is that it’s the system that runs both ZDNet and CNN’s Anderson Cooper 360, two sites I write for.

When we started ZATZ Publishing (my day job) back in the late 1990s, there were only a few content management systems, they cost millions of dollars (and weren’t terribly good). PHP was a 1.0, Bill Clinton was President, Matt Mullenweg and Mark Zuckerberg were both 13, and the term “blog” had barely ever been used. It was a long time ago. Since then, ZATZ has published nearly 70,000 articles, linked to more than 150,000 URLs, and fed almost 2 billion Web pages.

Frontier, developed by Web pioneer Dave Winer, was itself a pioneer ahead of its time. Frontier ran the earliest blogs, the earliest RSS feeds, and the earliest podcasts. But time has taken its toll and Frontier hasn’t aged well. Although it was open-sourced in 2004, it had a number of problems, relatively low community support, and suffered from one fatal flaw: a key module was available in binary only, licensed code from a company no longer in business.

I never expected the ZENPRESS code to grow and evolve for 14 years, and it’s definitely outgrown Frontier’s capabilities. Tables in Frontier that should handle only a few tens of thousands of records have been asked to handle millions of records. Frontier crashes regularly on my servers, and I can’t move to 64-bit because Frontier fails on 64-bit environments.

Don’t get me wrong. I have great respect for Frontier. It showed the way for many modern technologies. But time marches on, and I have been in the process of migrating off Frontier for the last year or so.

I chose WordPress, as I said, in part because other sites I respect and work with use it regularly. I chose it because it’s an incredibly capable open-source product, and because it is robust. DDoS notwithstanding, WordPress has a disciplined and well-orchestrated upgrade process and security upgrades occur whenever needed.

For the past year, I’ve been coding in PHP, rewriting ZENPRESS from the ground up, using all the lessons learned from 14 years of iterative design, and creating an entirely new system. Just like the modern Shelby Mustang takes its design cues and is an homage to the original 1960’s Shelby GT500, the new ZENPRESS takes the best of the old ZENPRESS, but upgrades it completely with modern technology.

When I started looking at host environments, systems that would help me migrate ZENPRESS’ many sub-systems as quickly as possible, I looked at a lot of factors. WordPress holds up technologically, and that’s very important. But what sold me was something else entirely.

What sold me was the community, one that’s friendly, helpful, and very well-informed. I started watching videos of WordCamps at WordPress.tv. I liked the people, I liked the speakers, and I learned a lot.

Each year, WordPress developers and bloggers hold gatherings — part technical conference and part love-fest — called WordCamps. They’re actually all over the world, from San Francisco to Seattle, from Wellington, New Zealand to Fukuoka, Japan, and from Boston … to Miami.

In fact, it’s the WordCamp in Miami on Saturday that inspired me to write this piece. I’ll be down at WordCamp Miami, learning about WordPress and meeting members of the community.

I’ll also be speaking, giving a talk called Migrating a massive legacy CMS to WordPress without losing your mind, telling the story of the first programming year of that migration, why I chose WordPress, some of the design principles that were set out, tricks and lessons I’ve learned, a tour of some of the cool plug-ins I’ve developed so far, and tips and hints for anyone else who might want to try migrating a large, custom system while still retaining some shred of sanity.

WordCamp Miami will be an opportunity for me to learn, and to give something back to this astounding community.

If you’re going, I hope to see you there. And if you’re you’re not able to make this WordCamp, visit WordCamp Central and choose one of the upcoming events.

See you in Miami!

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

David Gewirtz, Distinguished Lecturer at CBS Interactive, is an author, U.S. policy advisor, and computer scientist. He is featured in The History Channel special The President's Book of Secrets.

Disclosure

David Gewirtz

At various times during his adult life, David has voted for both Democrats and Republicans, and has been disappointed by both. He is deeply disturbed by how partisanship has come before patriotism in America, which gives him the freedom to pick on both sides.

David is a frequent guest on TV and radio stations across America and can usually be heard or seen on-the-air at least once a week. He writes weekly commentary and analysis for CNN’s Anderson Cooper 360 and has been interviewed by Fox News, CNN, various ABC and NBC affiliates, and Canada’s Global TV. He has been a featured guest on National Public Radio and has also been featured on Voice of America, Radio Free Europe, and Radio Liberty where his commentaries on technology, industry, and emerging nations have been broadcast into 46 countries (all in their own unique translations).

David is the executive director of U.S. Strategic Perspective Institute, a nonprofit research and policy organization. He is the Cyberterrorism Advisor for the International Association for Counterterrorism & Security Professionals, a columnist for The Journal of Counterterrorism and Homeland Security and a special contributor to Frontline Security Magazine. He is a member of the FBI’s InfraGard program, the security partnership between the FBI and industry. David is also a member of the U.S. Naval Institute and the National Defense Industrial Association, the leading defense industry association promoting national security.

David is an advisory board member for the Technical Communications and Management Certificate program at the University of California, Berkeley extension. He is also a member of the instructional faculty at the University of California, Berkeley extension.

David’s “day job” is as publisher and editor-in-chief of ZATZ publishing, an online publisher of technical magazines. Other than than his ownership stake in Component Enterprises, Inc. (the parent company of ZATZ), David has no additional industry investments.

ZATZ has many advertisers who do, in part, provide for David’s lush income and extravagant lifestyle. Most of them are IBM and Lotus aftermarket suppliers, some of them make goodies for Microsoft Outlook, and a few make all sorts of strange mobile devices and add-on products. David has been a regular judge of the IBM Awards, but has no formal financial interest in or with IBM.

Because the ZATZ online magazines often review products, David and ZATZ are sent an overwhelming stream of unsolicited, silly, and often useless products to review. Because they’re such a pain to track and ship back, these products often wind up in a dumpster or fill up the corner of a large closet. Although David has no plans to review products in connection to his ZDNet blog, if he does do a product review, he will disclose any relationship completely in that posting.

Both through ZATZ and independently, David derives a small income through various advertising and sales relationships with Amazon.com and Google. These are minor relationships and they will not impede his willingness or ability to chastise either company should they deserve it.

David has many other business relationships, but none of them relate to anything he covers in his ZDNet blog. David does have a bit of the sales-guy bug and if he’s not doing a sales deal with someone at least once a month, he goes through withdrawal. He has a number of consulting clients, but none of them relate to anything he covers for ZDNet (and if they ever do, he will either disclose that fact, or decline to write about them).

Back in the 1980s, David held the unusual title of “Godfather” at Apple. He has written and published 40 incredibly simplistic applications for Apple’s iPhone.

Although David is forbidden to disclose the terms of his iPhone developer agreement, he isn’t drinking the Apple Kool Aid, will never be confused with a metrosexual, and feels free to mock Apple, and Apple users, any time the occasion permits, on alternate Tuesdays, or if he’s bored.

Biography

David Gewirtz

In addition to hosting the ZDNet Government and ZDNet DIY-IT blogs, CBS Interactive's Distinguished Lecturer David Gewirtz is an author, U.S. policy advisor, and computer scientist. He is featured in The History Channel special The President's Book of Secrets, is one of America's foremost cyber-security experts, and is a top expert on saving and creating jobs. He is also director of the U.S. Strategic Perspective Institute as well as the founder of ZATZ Publishing.

David is a member of FBI InfraGard, the Cyberwarfare Advisor for the International Association for Counterterrorism & Security Professionals, a columnist for The Journal of Counterterrorism and Homeland Security, and has been a regular CNN contributor, and a guest commentator for the Nieman Watchdog of the Nieman Foundation for Journalism at Harvard University. He is the author of Where Have All the Emails Gone?, the definitive study of email in the White House, as well as How To Save Jobs and The Flexible Enterprise, the classic book that served as a foundation for today's agile business movement.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?

The discussion hasn’t started yet. Why don’t you begin it?

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix