Understanding Drupal Flashcards
What is a content management system?
- Software tool that lets users add, publish, edit or remove content from a website using a web browser.
- Written in scripting language, scripts run on computer with database and web server installed.
- Content and settings stored in database & for each page request that comes to web server, scripts combine information to build pages of website.
What stack is Drupal based on?
LAMP stack
- Linux OS
- Apache web server
- MySQL database
- PHP scripting language
What is Drupal?
Flexible CMS with modular design allowing features to be added and removed using modules, and allowing the look and feel of the site to be changed using themes.
What does the Drupal core download contain?
PHP scripts needed to run the basic CMS functionality, optional modules and themes, JavaScript, CSS and images assets.
Which web servers can Drupal run on?
Apache, Nginx or IIS
Which databases can Drupal run on?
MySQL, PostgreSQL, SQLite or MySQL compatible replacement eg MariaDB or Percona
Can you use another scripting language?
No, the scripts the software uses are written in PHP, so that cannot be changed
Why might you choose to use Drupal CMS?
- Online editing, uniformity, and more complex features requiring a database
- General purpose CMS, if your site falls outside intended purpose of special-purpose CMS it may be complicated to adapt.
- Better than building own CMS-type software. Drupal has thousands of developer hours behind it, including many years of user testing, bug fixing and security hardening.
- Drupal is free and has a less restrictive software licence than other CMS.
What is a module?
A set of PHP, JavaScript and/or CSS files that extends site features and adds functionality. Each module installed adds to the time needed to generate pages on your site.
Where can you view modules on the site?
Manage -> Extend
Which core module manages basic content?
Node module
What is a theme?
A set of files that define the visual look and feel of the site. Determines the HTML markup and CSS styling that wraps the site content.
What are distributions?
Distributions provide site features and functions for a specific type of site as a single download containing the core software, contributed modules, themes and pre-defined configuration.
What are the two types of distributions?
- Full-featured distributions
- Quick start tools
What is a full-featured distribution?
Complete solution to set up a site for specialised purpose i.e. academic, business, government, social etc.
What four types of data are held on the site?
- Content: Information meant to be displayed to visitors, relatively permanent but can normally be edited
- Configuration: Used to define how site behaves or is displayed. Relatively permanent. Sometimes displayed to visitors (e.g. field labels).
- State: Temporary about current state of site e.g. time cron last run
- Session: Information about individual visitors’ interactions with the site e.g. whether logged in, cookies. Technically subtype of State as temporary.
What is Free and Open Source Software?
FOSS is software that is developed by a community of people, released under a non-commercial license and whose source code is freely available.
What is the Drupal Project?
A FOSS whose purpose is to develop the core CMS software as well as modules, additional themes, translations, documentation, and special-purpose distributions.