IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
1. INTRO TO DRUPAL
Part 1: Intro to Drupal (10:00 - 10:50am)
Part 2: Getting Started / Demo (11:00-11:50am)
2011 Cleveland Regional APCUG Annual Meeting
http://cleveland.apcug.org/
Sunday, July 17, 2011
2. JEFF SCHULER
jeff@websubstrate.com
http://www.websubstrate.com
http://drupal.org/user/239714/ (jeffschuler)
Cleveland Drupal User Group
http://www.meetup.com/cleveland-drupal/
Sunday, July 17, 2011
3. WHAT IS DRUPAL?
• Tool for building & running web sites and apps
• Content Management Framework (CMF)
• Product or Framework?
Sunday, July 17, 2011
8. SEE MORE EXAMPLES
• http://drupal.org/cases
• http://websites.usandv.com/who-is-using-drupal
• http://buytaert.net/tag/drupal-sites
Sunday, July 17, 2011
9. SOME NUMBERS
• 1+million sites (1.7% of the web)
•> 10,000 modules on drupal.org
•> 1,000 themes
•> 9,000 developers committed code to drupal.org
•> 3,000 people at DrupalCon Chicago 2011
Sunday, July 17, 2011
10. TYPES OF SITES
• Brochureware • Publishing (workflows)
• Blogs • E-commerce
• Content managed • Geo
• Groups/communities • Media-rich
• Social networking • Relational-data-heavy
• Intranets • International
Sunday, July 17, 2011
11. STRENGTHS WEAKNESSES
• Multi-user • Usability
• Rapid development • Learning curve
• Developer-friendly • Upgrading
• Community • Available themes
• Flexibility • Flexibility
• PHP • PHP
Sunday, July 17, 2011
13. OPEN SOURCE &
COMMUNITY
• All code and files on drupal.org licensed under GPL (>= 2)
• Generally free
• Do-ocracy
• Issue Queues on drupal.org and IRC
Sunday, July 17, 2011
14. TECHNOLOGY
• LAMP, or really ***P
• Runs on a webserver (usually Apache)
• Needs a database (usually MySQL)
• PHP (& JS)
Sunday, July 17, 2011
15. CORE & CONTRIB
• Drupal is modular
• Core: Basic, typical functionality and API
• Contrib: Universe of possibility
Sunday, July 17, 2011
17. CONTRIB
•> 10,000 modules - http://drupal.org/project/modules
"There's a module for that."
•> 1,000 themes - http://drupal.org/project/themes
• Contrib sometimes becomes Core
• Install profiles
Sunday, July 17, 2011
18. CORE INITIATIVES FOR 8
• HTML 5
• Better support for web services and context (mobile)
• Configuration management
• Better multi-lingual
• Design
• http://drupal.org/community-initiatives/drupal-core
Sunday, July 17, 2011
19. DRUPAL PRODUCTS
• OpenAtrium - http://openatrium.com/
• OpenPublish - http://openpublishapp.com/
• OpenPublic - http://openpublicapp.com/
• ManagingNews - http://managingnews.com/
• Features => Drupal App Store
Sunday, July 17, 2011
20. REQUIREMENTS
• UNIX/Linux, Mac OS X, or Windows
• Disk space: code (3MB - 50MB,) database, media
• Webserver: Apache, IIS, (and nginx and Lighthttpd)
• Database server: MySQL, PostgreSQL (D7:) SQLite and MariaDB,
(Contrib:) SQL Server, Oracle
• PHP: recommended 5.2 for D6, 5.3 for D7
• http://drupal.org/requirements
Sunday, July 17, 2011
21. BUT WHAT IS IT?
• Drupal code (core, modules, themes) files
• Database: configuration and content data
• Your files (media, etc.)
• (let’s see...)
Sunday, July 17, 2011
22. NECESSARY TOOLS?
• Browser
• Text Editor (for HTML, CSS, PHP)
• Firebug - http://getfirebug.com/
• For reviewing/submitting patches: git
• Hardcore: IDE (ex. Eclipse), debugger (ex. XDebug)
Sunday, July 17, 2011
23. SETUP & INSTALL
(TRADITIONAL)
• Set up stack (LAMP)
• Download Drupal
• Create database and a user with permissions to it
• Add database credentials to sites/default/settings.php
• Run installer through browser
Sunday, July 17, 2011
25. GETTING DRUPAL
• http://drupal.org/project/drupal
• D6 vs. D7
• One-click installers (on your webhost)
• (and Acquia Drupal / Drupal Gardens)
Sunday, July 17, 2011
26. THEMES
• http://drupal.org/project/themes
• Using base themes: Zen, Fusion, Omega
• Starting with existing HTML
• (install, enable, anatomy)
Sunday, July 17, 2011