What is Drupal?

Exclusive offer: get 50% off this eBook here
Instant Premium Drupal Themes [Instant]

Instant Premium Drupal Themes [Instant] — Save 50%

Learn how to create visually stunning themes to add the wow factor to all of your Drupal sites!

$14.99    $7.50
by Pankaj Sharma | October 2013 | Open Source

This article, written by Pankaj Sharma, the author of Instant Premium Drupal Themes discusses about the advantages of using the Drupal platform. Drupal is an open source content management platform. It is being used by millions of websites and this count is increasing with each day. Drupal can be used to create website of any category and domain.

(For more resources related to this topic, see here.)

Currently Drupal is being used as a CMS in below listed domains

  • Arts
  • Banking and Financial
  • Beauty and Fashion
  • Blogging
  • Community
  • E-Commerce
  • Education
  • Entertainment
  • Government
  • Health Care
  • Legal Industry
  • Manufacturing and Energy
  • Media
  • Music
  • Non-Profit
  • Publishing
  • Social Networking
  • Small business

Diversity that is being offered by Drupal is the reason of its growing popularity.

Drupal is written in PHP.PHP is open source server side scripting language and it has changed the technological landscape to great extent.

The Economist, Examiner.com and The White house websites have been developed in Drupal.

System requirements

Disk space

A minimum installation requires 15 Megabytes. 60 MB is needed for a website with many contributed modules and themes installed. Keep in mind you need much more for the database, files uploaded by the users, media, backups and other files.

Web server

Apache, Nginx, or Microsoft IIS.

Database

Drupal 6: MySQL 4.1 or higher, PostgreSQL 7.1, Drupal 7: MySQL 5.0.15 or higher with PDO, PostgreSQL 8.3 or higher with PDO, SQLite 3.3.7 or higher

Microsoft SQL Server and Oracle are supported by additional modules.

PHP

Drupal 6: PHP 4.4.0 or higher (5.2 recommended).

Drupal 7: PHP 5.2.5 or higher (5.3 recommended).

Drupal 8: PHP 5.3.10 or higher.

How to create multiple websites using Drupal

Multi-site allows you to share a single Drupal installation (including core code, contributed modules, and themes) among several sites

One of the greatest features of Drupal is Multi-site feature. Using this feature a single Drupal installation can be used for various websites.

Multisite feature is helpful in managing code during the code upgradation.Each site will have will have its own content, settings, enabled modules, and enabled theme.

When to use multisite feature?

  • If the sites are similar in functionallity (use same modules or use the same drupal distribution) you should use multisite feature.
  • If the functionality is different don't use multisite.

To create a new site using a shared Drupal code base you must complete the following steps:

  1. Create a new database for the site (if there is already an existing database you can also use this by defining a prefix in the installation procedure).
  2. Create a new subdirectory of the 'sites' directory with the name of your new site (see below for information on how to name the subdirectory).
  3. Copy the file sites/default/default.settings.php into the subdirectory you created in the previous step. Rename the new file to settings.php.
  4. Adjust the permissions of the new site directory.
  5. Make symbolic links if you are using a subdirectory such as packtpub.com/subdir and not a subdomain such as subd.example.com.
  6. In a Web browser, navigate to the URL of the new site and continue with the standard Drupal installation procedure.

Summary

This article discusses in brief about the Drupal platform and also the requirements for installing it.

Resources for Article:


Further resources on this subject:


Instant Premium Drupal Themes [Instant] Learn how to create visually stunning themes to add the wow factor to all of your Drupal sites!
Published: October 2013
eBook Price: $14.99
See more
Select your format and quantity:

About the Author :


Pankaj Sharma

Pankaj Sharma is a senior software engineer with a multinational IT firm in Noida, India. He has more than five years of developing experience in Perl, PHP, and CMS (WordPress, Drupal). Besides these technologies, he has also worked on AJAX, JavaScript, MySQL, and PostgreSQL. He has developed scalable websites for some of the world's leading companies in FMCG and the media and entertainment domain. He completed his degree (BSc.) in 2003 and post-graduate Master's degree (MCA) in 2007 in Dehradun. His interests include Cloud Computing and Big Data and his hobbies include writing, reading, travelling, and delving into philosophy.

Books From Packt


Drupal 7 Multilingual Sites
Drupal 7 Multilingual Sites

Drupal 7 Multi Sites Configuration
Drupal 7 Multi Sites Configuration

Migrating to Drupal 7
Migrating to Drupal 7

Drupal Rules How-to [Instant]
Drupal Rules How-to [Instant]

Drupal 6 Themes
Drupal 6 Themes

Drupal 7 Cookbook
Drupal 7 Cookbook

Drupal 7 Mobile Web Development Beginner’s Guide
Drupal 7 Mobile Web Development Beginner’s Guide

Drupal 7 Module Development
Drupal 7 Module Development


No votes yet

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
9
h
r
6
N
j
Enter the code without spaces and pay attention to upper/lower case.
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software