O'Reilly logo

Drupal®: The Guide to Planning and Building Websites by Cindy McCourt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

POPULATING YOUR SITE

When developing a site, you typically don't use real content; you use test or sample content. After you know the site works with the test content, you clear the test content and enter real content. So, what do you need to consider when loading real content? To answer this question, consider three additional questions:

  • How much content do you want on the site prior to launch?
  • Where will you load the real content — on the development site or a staging site?
  • How will you load the content to your site?

TEST CONTENT

The Devel module provides several development helper tools. One of the tools generates test data for nodes, vocabulary terms, users, comments, and some fields.

Separating Pre- and Post-Launch Data

Rule number one: no test data on a live site. Okay, that one is obvious.

Rule number two is to be sure to load enough content that demonstrates the site is open for visitors. If you plan to launch your live site with a press release and announcements to your intended audience, you should have content loaded that gives your visitors a reason to be there, and a reason to come back. What your site needs to show upon launch is up to you.

Using a Development vs. Staging Site

Depending on the complexity of the site, some people load their content in their development site. There isn't anything wrong with this practice, although some potential issues exist.

If active development is going on in the development site, you run the risk that a development task will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required