(Wikipedia) - Drupal
|Screenshot Home page of a default Drupal 7 installation |
|Dries Buytaert |
|January 2001 (2001-01) |
|7.34 / 19 November 2014 (2014-11-19) |
|11.7 MB (uncompressed core) |
|Content management framework, Content management system, Community and Blog software |
|GPLv2 or later |
Drupal /ˈdruːpəl/ is a free and open-source content-management framework written in PHP and distributed under the GNU General Public License. It is used as a back-end framework for at least 2.1% of all Web sites worldwide ranging from personal blogs to corporate, political, and government sites including WhiteHouse.gov and data.gov.uk. It is also used for knowledge management and business collaboration.
The standard release of Drupal, known as Drupal core, contains basic features common to content management systems. These include user account registration and maintenance, menu management, RSS feeds, taxonomy, page layout customization, and system administration. The Drupal core installation can serve as a simple Web site, a single- or multi-user blog, an Internet forum, or a community Web site providing for user-generated content.
As of October 2014, there are more than 30,000 free community-contributed addons, known as contributed modules, available to alter and extend Drupal''s core capabilities and add new features or customize Drupal''s behavior and appearance. The Drupal community has more than 1 million members (as of October 2013) and 31,000 Developers (as of February 2014). Because of this plug-in extensibility and modular design, "The Drupal Overview" on Drupal''s Web site describes it as a content management framework. Drupal is also described as a Web application framework, as it meets the generally accepted feature requirements for such frameworks.
Although Drupal offers a sophisticated programming interface for developers, basic Web site installation and administration of the framework requires no programming skills.
Drupal runs on any computing platform that supports both a Web server capable of running PHP (including Apache, LiteSpeed, IIS, Lighttpd, Hiawatha, Cherokee or Nginx) and a database (such as MySQL, MongoDB, MariaDB, PostgreSQL, SQLite, or Microsoft SQL Server) to store content and settings. Contents
- 1 History
- 2 Core
- 2.1 Core modules
- 2.2 Core themes
- 2.3 Localization
- 2.4 Auto-update notification
- 2.5 Database abstraction
- 2.6 Embracing Windows developers
- 2.7 Accessibility
- 3 Extending the core
- 3.1 Modules
- 3.2 Themes
- 3.3 Distributions
- 4 Architecture
- 5 Community
- 6 Security
- 7 Criticism
- 8 See also
- 9 References
- 10 Further reading
- 11 External links
Originally written by Dries Buytaert as a message board, Drupal became an open source project in 2001. The name Drupal represents an English rendering of the Dutch word "druppel", which means "drop" (as in "a water droplet"). The name came from the now-defunct Drop.org Web site, whose code slowly evolved into Drupal. Buytaert wanted to call the site "dorp" (Dutch for "village") for its community aspects, but mistyped it when checking the domain name and thought the error sounded better.
Interest in Drupal got a significant boost in 2003 when it helped build "DeanSpace" for Howard Dean, one of the candidates in the U.S. Democratic Party''s primary campaign for the 2004 U.S. presidential election. DeanSpace used open-source sharing of Drupal to support a decentralized network of approximately 50 disparate, unofficial pro-Dean websites that allowed users to communicate directly with one another as well as with the campaign. After Dean ended his campaign, members of his Web team continued to pursue their interest in developing a Web platform that could aid political activism by launching CivicSpace Labs in July 2004, "the first company with full-time employees that was developing and distributing Drupal technology". Other companies began to also specialize in Drupal development. By 2013 the Drupal Web site listed hundreds of vendors that offered Drupal-related services.
As of 2014 Drupal is developed by a community, and its popularity is growing rapidly. From July 2007 to June 2008 the Drupal.org site provided more than 1.4 million downloads of Drupal software, an increase of approximately 125% from the previous year.
As of February 2014 more than 1,015,000 sites used Drupal. These include hundreds of well-known organizations, including corporations, media and publishing companies, governments, non-profits, schools, and individuals. Drupal has won several Packt Open Source CMS Awards and won the Webware 100 three times in a row.
On March 5, 2009 Buytaert announced a code freeze for Drupal 7 for September 1, 2009. Drupal 7 was released on January 5, 2011, with release parties in several countries. After that, maintenance on Drupal 5 stopped, with only Drupal 7 and Drupal 6 maintained. Drupal 7 series maintenance updates are released regularly.
Drupal 8 is in development, with no set release date yet. The work on Drupal 8 is divided into categories, called Core initiatives: Mobile, Layouts, Web Services, Configuration Management, and HTML5. Google Summer of Code is sponsoring 20 Drupal projects. Major versions
Drupal versions 1-6 release history timelineCore
Version Number Release Date
|1.0 ||15 Jan 2001 |
|2.0 ||15 Mar 2001 |
|3.0 ||15 Sep 2001 |
|4.0 ||16 Jun 2002 |
| 4.5 ||16 Oct 2004 |
| 4.6 ||16 Apr 2005 |
| 4.7 ||16 May 2006 |
|5.0 ||15 Jan 2007 |
|6.0 ||13 Feb 2008 |
|7.0 ||5 Jan 2011 |
| 7.34 ||19 Nov 2014 |
|8.0 beta 2 ||15 Oct 2014 |
|8.0 beta 3 ||12 Nov 2014 |
|8.0 beta 4 ||17 Dec 2014 |
|8.0 ||Being Developed |
In the Drupal community, the term "core" means anything outside of the "sites" folder of a Drupal installation. Drupal core is the stock element of Drupal. Bootstrap and Common libraries are defined as Drupal core and all other functionalites are defined as Drupal modules including the system module itself.
In a Drupal website''s default configuration, content can be contributed by either registered or anonymous users (at the discretion of the administrator) and is made accessible to web visitors by a variety of selectable criteria. As of Drupal 8, Drupal has adopted some Symfony libraries into Drupal core.
Core modules also includes a hierarchical taxonomy system, which allows content to be categorized or tagged with key words for easier access.
Drupal maintains a detailed changelog of core feature updates by version. Core modules
Drupal core includes optional modules that can be enabled by the administrator to extend the functionality of the core website.
The core Drupal distribution provides a number of features, including:
Core themesThe color editor being used to adjust the "Garland" core theme
- Access statistics and logging
- Advanced search
- Blogs, books, comments, forums, and polls
- Caching and feature throttling for improved performance
- Descriptive URLs
- Multi-level menu system
- Multi-site support
- Multi-user content creation and editing
- OpenID support
- RSS feed and feed aggregator
- Security and new release update notification
- User profiles
- Various access control restrictions (user roles, IP addresses, email)
- Workflow tools (triggers and actions)
Drupal includes core themes, which customize the "look and feel" of Drupal sites, for example, Garland and Bartik.
The Color Module, introduced in Drupal core 5.0, allows administrators to change the color scheme of certain themes via a browser interface. Localization
As of August 2013, Drupal had been made available in 110 languages and English (the default). Support is included for right-to-left languages such as Arabic, Persian, and Hebrew.
Drupal localization is built on top of gettext, the GNU internationalization and localization (i18n) library. Auto-update notification
Drupal can automatically notify the administrator about new versions of modules, themes, or the Drupal core. It''s important to update quickly after security updates are released. On October 15, 2014, a sql injection vulnerability was announced and update released. Two weeks later the Drupal security team released an advisory explaining that everyone should act under the assumption that any site not updated within 7 hours of the announcement are infected. Thus, it can be extremely important to apply these updates quickly and usage of a tool to make this process easier like drush is highly recommended. Database abstraction
Prior to version 7, Drupal had functions that performed tasks related to databases, such as SQL query cleansing, multi-site table name prefixing, and generating proper SQL queries. In particular, Drupal 6 introduced an abstraction layer that allowed programmers to create SQL queries without writing SQL.
Drupal 7 extends the data abstraction layer so that a programmer no longer needs to write SQL queries as text strings. It uses PHP Data Objects to abstract the database. Microsoft has written a database driver for their SQL Server. Drupal 7 supports the file-based SQLite database engine, which is part of the standard PHP distribution. Embracing Windows developers
With Drupal 7''s new database abstraction layer and ability to run on the Windows web server IIS, it is now easier for Windows developers to participate in the Drupal community. A group on Drupal.org is dedicated to Windows issues. Accessibility
With the release of Drupal 7, Web accessibility has been greatly improved by the Drupal community. Drupal is a good framework for building sites accessible to people with disabilities, because many of the best practices have been incorporated into the program code Core. The accessibility team is carrying on the work of identifying and resolving accessibility barriers and raising awareness within the community. Drupal 7 started the adoption of WAI-ARIA support for Rich Internet Applications and this has been carried further in Drupal 8. There have been many improvements to both the visitor and administrator sides of Drupal, especially:
- Drag and drop functionality
- Improved color contrast and intensity
- Adding skip navigation to Core themes
- Adding labels by default for input forms
- Fixing CSS display:none with consistent methods for hiding and exposing text onfocus.
The community also added an accessibility gate for Core issues in Drupal 8. Extending the core
Drupal core is modular, defining a system of hooks and callbacks, which are accessed internally via an API. This design allows third-party contributed modules and themes to extend or override Drupal''s default behaviors without changing Drupal core''s code.
Drupal isolates core files from contributed modules and themes. This increases flexibility and security and allows administrators to cleanly upgrade to new releases without overwriting their site''s customizations. The Drupal community has the saying "Never hack core", a strong recommendation that site developers do not change core files. Modules
Contributed modules offer such additional or alternate features as image galleries, custom content types and content listings, WYSIWYG editors, private messaging, third-party integration tools, and more. As of October 2014 the Drupal website lists more than 28,200 free modules.
Some of the most commonly used contributed modules include:
- Content Construction Kit (CCK): allows site administrators to dynamically create content types by extending the database schema. "Content type" describes the kind of information. Content types include, but are not limited to, events, invitations, reviews, articles, and products. The CCK Fields API is in Drupal core in Drupal 7.
- Views: facilitates the retrieval and presentation, through a database abstraction system, of content to site visitors. Basic views functionality has been added to core in Drupal 8.
- Panels: drag and drop layout manager that allows site administrators to visually design their site.
- Rules: conditionally executed actions based on recurring events.
- Features: enables the capture and management of features (entities, views, fields, configuration, etc.) into custom modules.
- Context: allows definition of sections of site where Drupal features can be conditionally activated
- Media: makes photo uploading and media management easier
Contributed themes adapt or replace a Drupal site''s default look and feel.
Drupal themes use standardized formats that may be generated by common third-party theme design engines. Many are written in the PHPTemplate engine or, to a lesser extent, the XTemplate engine. Some templates use hard-coded PHP. Drupal 8 will integrate the Twig templating engine.
The inclusion of the PHPTemplate and XTemplate engines in Drupal addressed user concerns about flexibility and complexity. The Drupal theming system utilizes a template engine to further separate HTML/CSS from PHP. A popular Drupal contributed module called ''Devel'' provides GUI information to developers and themers about the page build.
Community-contributed themes at the Drupal website are released under a free GPL license, and most of them are demonstrated at the Drupal Theme Garden. Distributions
In the past, those wanting a fully customized installation of Drupal had to download a pre-tailored version separately from the official Drupal core. Today, however, a distribution defines a packaged version of Drupal that upon installation, provides a website or application built for a specific purpose.
The distributions offer the benefit of a new Drupal site without having to manually seek out and install third-party contributed modules or adjust configuration settings. They are collections of modules, themes, and associated configuration settings that prepare Drupal for custom operation. For example, a distribution could configure Drupal as a "brochureware" site rather than a "news" site or an "online store". Architecture
Drupal is based on less publicized but still widely used architecture Presentation Abstraction Control, or PAC. The menu system acts as the Controller. It accepts input via a single source (HTTP GET and POST), routes requests to the appropriate helper functions, pulls data out of the Abstraction (nodes and, from Drupal 5 onwards, forms), and then pushes it through a filter to get a Presentation of it (the theme system). It even has multiple, parallel PAC agents in the form of blocks that push data out to a common canvas (page.tpl.php). Community
Drupal.org has a large community of users and developers, with over 1,119,000 user accounts and over 35,000 developer accounts (As of October 2014). The semiannual Drupal conference alternates between North America and Europe. Attendance at DrupalCon grew from 500 at Szeged in August 2008 to over 3,700 people at Austin, Texas in June 2014.
Smaller events, known as "Drupal Camps" or DrupalCamp, occur throughout the year all over the world. The annual Florida DrupalCamp brings users together Coding for a Cause for the benefit of nonprofit organizations.
There are a number of active Drupal forums, mailing lists and discussion groups. Drupal also maintains several IRC channels on the Freenode network.
There are over 30 national communities around drupal.org offering language-specific support. Security
Drupal''s policy is to announce the nature of each security vulnerability once the fix is released.
Administrators of Drupal sites are automatically notified of these new releases via the Update Status module (Drupal 6) or via the Update Manager (Drupal 7). Drupal maintains a security announcement mailing list, a history of all security advisories, a security team home page, and an RSS feed with the most recent security advisories. In 2008, eleven security vulnerabilities were reported and fixed in the Drupal core. Security holes were also found and fixed in 64 of the 2243 user-contributed modules.
In 2014, Drupal issued a “highly critical” security advisory regarding an SQL injection bug in Drupal 7. Downloading and installing an upgrade to Drupal 7.32 fixes the vulnerability, but does not remove any backdoor installed by hackers if the site has already been compromised. Attacks began soon after the vulnerability was announced. According to the Drupal security team, where a site was not patched within hours of the announcement, it should be considered compromised and taken offline by being replaced with a static HTML page while the administrator of its server must be told that other sites on the same server may also have been compromised. To solve the problem, the site must be restored using backups from before October 15, be patched and manually updated, and anything merged from the site must be audited. Criticism
| ||This article''s Criticism or Controversy section may compromise the article''s neutral point of view of the subject. Please integrate the section''s contents into the article as a whole, or rewrite the material. (May 2012) |
| ||This section is outdated. Please update this article to reflect recent events or newly available information. (December 2014) |
In a controversial article about the adoption of Drupal by the Whitehouse.gov site, Slate associate editor Chris Wilson lists some common criticisms of Drupal. Other criticisms have included:
- Usability: Aspects of the Drupal 6 administration interface were seen to be confusing and intimidating to some, particularly for new administrators. According to Dries Buytaert, Drupal 7 addressed 90% of the problems identified by Usability tests conducted at the Universities of Minnesota and Baltimore. To achieve this, Acquia (the company founded by the project lead of Drupal) hired user experience designer Mark Boulton to work with the Drupal community to design an improved user interface for Drupal''s administration interface. The majority of his team''s design work has been implemented by the community in Drupal 7. The 2011 usability test results from the University of Minnesota Office of Information Technology show that all of the major usability problems identified in Drupal 6 are either vastly improved or non-existent in Drupal 7. However, some new usability problems were identified. Since the release of Drupal 7 there are now various distributions and applications to enhance the Back-end Usability of Drupal such as Drupal Gardens, Open Enterprise and Mitkom Builder.
- Learning curve: Some users describe Drupal as being difficult to master. Drupal''s many contributed modules can have overlapping functionality and have been reported as overwhelming to new users.
- Backward compatibility (for software development): Drupal does not commit to backward compatibility across major revisions. This means that module and theme developers may have to rework their code to be compatible. However, Drupal''s policy is to not change how it uses one''s data. This means that data from previous versions will still be usable without alteration in the new release. Drupal documents any incompatibilities, allowing the user to make informed decisions about when and whether to upgrade.
- Performance/scalability: In 2008, performance tests between Drupal 6.1 and Joomla 1.5 demonstrated that Drupal''s pages were delivered "significantly faster" than those of Joomla. Despite this, arguments over speed persist. Drupal is likely to be slower than a special-purpose application for a given task. For example, WordPress typically outperforms Drupal as a single-user blogging tool. Drupal positions itself for broader applications requirements that are outside the scope of more narrowly focused applications. Drupal offers caching to store various page elements, the use of which resulted in a 508% improvement in one benchmark. When using Drupal''s default Page Cache mechanism, the cached pages are delivered only to anonymous users, so contributed modules must be installed to allow caching content for logged in users. Like performance, scalability (the ability to add servers to handle growing numbers of visitors with consistent response) can become a concern on large, interactive sites. MySQL''s query caching can help reduce the load on the database server caused by Drupal''s high query rate. Drupal caches database schema metadata as well as elements such as blocks, forms and menus. Drupal 7 increases performance in database queries and reduces PHP code usage.
- Integrability with hosting structures: Because of Drupal''s demanding query requirements, Drupal-based websites can quickly become very taxing to hosts whose databases reside on a machine separate from their HTTP server. While the issue can normally be addressed by implementing aggressive caching as described above, such methods may be unimplementable in cases where the host does not offer access to PHP accelerators like XCache or APC. Drupal has plugins that facilitate similar caching without requiring special PHP extensions.
- The Drupal core search is ineffective at searching content: There are contributed modules that will greatly improve the search functionality on a Drupal website, but they are not easily accessible due to a high learning curve and the difficulty users have in general of finding the right module. One of the faceted search options is Apache Solr Search Integration module, however, the module requires a dedicated server or virtual private server (VPS) to operate because Solr must run on a servlet container, e.g. Tomcat, Jetty or Resin. These requirements make it harder for a Drupal website to have a functional search feature. In response some companies have created Apache Solr SaaS products.