SlideShare ist ein Scribd-Unternehmen logo
1 von 29
A Tech-lite Overview of
        Drupal




       Robert Carr
       @robertgarr
   rob@cognimatic.com
       Drupal - Technical Introduction   1
20-ish slides:45 minutes
        Overview
    Technical structure
       Customizing
       Performance
      Getting started
           Q&A

        Drupal - Technical Introduction   2
What is it?
Drupal is a free,
community-built
website
development tool
used across the
world.

Mostly software
written in PHP
language.

Currently powers
about 1 in 50
websites.
                    Drupal - Technical Introduction   3
No licensing costs.
Drupal is open-
source software: no
acquisition or
licensing costs.

Built on other open-
source projects


               Drupal - Technical Introduction   4
Build Websites Quickly.
Assemble websites
with the simple UI, or                              > drush dl drupal --drupal-project-rename=example

a powerful shell                                    > cd example
                                                    > drush site-install standard --db-
                                                    url=mysql://[db_user]:[db_pass]@localhost/[db_name] --site-

interface.                                          name=Example
                                                    >




Out-of-the-box
distributions for
complete solutions.
                  Drupal - Technical Introduction                                                          5
Flexible.

Add functionality with [10K+] plug-in
modules.

Writing custom code with versatile API.

Huge worldwide development
community.
               Drupal - Technical Introduction                          6
                                                 © Drupal Association 2011
Customise the look.
Hundreds of templates can be freely
downloaded to customize the appearance.
Use custom HTML and CSS for unique
design.
             Drupal - Technical Introduction   7
Scalable and Deployable
Out of the box, can drive simple
websites or blogs.

Can be scaled-up > 1000s
pages/sec.

Re-use single codebase for
multiple sites.
             Drupal - Technical Introduction   8
Secure.
Code written to high standards.
Dedicated security team.
Patches and advice easily
available.

           Drupal - Technical Introduction   9
Social Publishing Platform
Multiple users can
publish content

Tunable access
controls

Open logins

     Allows people to connect
                 Drupal - Technical Introduction   10
Let’s Get Tinkering




     Drupal - Technical Introduction   11
Drupal Stack

                          PHP

                  Database abstraction layer

      MySQL/PostgreSQL/SQLite/SQL Server/…

             Apache/lighttpd/IIS/nginx/…

         Linux/BSD/OSX/Windows/Solaris/…


• Pre-configured DAMP stack
  (Win/OSX/Debian/Ubuntu)
  network.acquia.com/downloads
• Virtualbox package:Technical Introduction
                 Drupal - drupal.org/project/quickstart   12
Fundamental Drupal
          Architecture
1. Data - Nodes
   (entities).
2. Functionality – core
   and contrib
   modules.
3. Blocks – data
   output
4. Selective access
5. HTML/CSS output

                 Drupal - Technical Introduction   13
Entities
• Nodes (data)
• Users
• Taxonomy
• Comments
Can create custom entities.
Can add custom fields + relationships to
entities.
              Drupal - Technical Introduction   14
Modules
Core                                   Contributed
                                       drupal.org/project/modules
Optional in default install
Examples:                              Some of most popular:
• Blog                                 • Views
                                       • Token
• Forum                                • Pathauto
• Locale                               • WYSIWYG
                                       • Date
• OpenID                               • Webform
• Search
                                       10,000 modules + sandboxes
• RDF                                  Reviews at drupalmodules.com


                      Drupal - Technical Introduction               15
Site Building
DRUSH (Drupal Shell)
drupal.org/project/drush.

Drush Make.
SSH.
Git.

Distributions (off the shelf).
                Drupal - Technical Introduction   16
Drupal
Themes

Each webpage has
regions for content
and blocks.

drupal.org/project/t
hemes

Base themes
Sub-theme
hierarchy

Drupal (7) not quite
HTML5-ready.
                       Drupal - Technical Introduction   17
Template File Content
*.tpl.php
Template files – mix HTML and PHP snippets.
Can override base theme templates.
Custom templates for specific node types.



                 Drupal - Technical Introduction   18
Theme Developer




Contrib module for page inspection (Firebug style)


                 Drupal - Technical Introduction     19
Caching                                  Start


Block caching (core)
                                                         Bootstrap

Page caching - for anonymous
users:                                               Load node by path
• Core (anon)                                            argument

• Boost (anon > static HTML)                         Builder the render
                                                      array for loaded
                                                           node
Memcached – DB + page cache
                                                     Generate markup
                                                      for whole page
Pressflow – High Performance
Drupal distro                                             Sends
                                                         rendered
• Varnish + APC                                            page
                                                           End
                   Drupal - Technical Introduction                        20
Drupal 8 – Addressing
          Problems
Code freeze early 2013,
release within 12 months
• Use of Symfony
• Web services: REST
• HTML5 ready
• Mobile/responsive themes
• Configuration/staging
• Drag and Drop UI
• Change to core
  functionality (-Blog,
  +WYSIWYG…)
                Drupal - Technical Introduction   21
Getting Started
drupalgardens.com.
DAMP stack.
drupal.org/start:
• Downloads/distributions
• Documentation
• Books
• Issue queues
• IRC

                Drupal - Technical Introduction   22
Going Solo – Drupal
                Installation




Download via drupal.org/start and
unpack to server directory                    Navigate to new site root in browser


                            Drupal - Technical Introduction                          23
Basic Configuration




DB config – need to create new
database apriori.



                            Drupal - Technical Introduction   24
Get Started
Start adding content, download modules (via
browser) or configure structure, appearance or
module settings.

                 Drupal - Technical Introduction   25
or… Drush Install
> drush dl drupal
> mysqladmin –u rob –p create drupal7
> drush site-install standard --account-name=admin --
account-pass=letmein--db-
url=mysql://rob:letmein@localhost/drupal7
                                                      (One or two steps missed out..!)




      Install Drupal with Drush via SSH:
                 bit.ly/JB68oq
                    Drupal - Technical Introduction                                      26
Where next?
DrupalCamp Scotland
25-26 May – Edinburgh
camp.drupalscotland.org

drupal.org
groups.drupal.org
Drupal Association:
• DrupalCon
     – Europe: late summer
     – N America: spring
     – S America: winter
•    Local meetups:
     – Glasgow (monthly)
     – Edinburgh (monthly)
     – Tayside?


    The Community is here to
    help                     Drupal - Technical Introduction   27
Why Drupal?
• Open Source => free
• Rapid build
• Customise functionality &
  appearance
• Scalable & deployable
• Secure
• Designed for the social world
• Community support
             Drupal - Technical Introduction   28
Questions?

    Robert Carr
   @robertgcarr
rob@cognimatic.com


      Drupal - Technical Introduction   29

Weitere ähnliche Inhalte

Was ist angesagt?

Drupal Backend Performance and Scalability
Drupal Backend Performance and ScalabilityDrupal Backend Performance and Scalability
Drupal Backend Performance and ScalabilityAshok Modi
 
Drupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using DrupalDrupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using DrupalVibrant Technologies & Computers
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Angela Byron
 
One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Cacereshernanibf
 
Building Your Own Drupal Distribution
Building Your Own Drupal DistributionBuilding Your Own Drupal Distribution
Building Your Own Drupal DistributionAniket Maithani
 
DrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performanceDrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performanceAshok Modi
 
Best Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to DrupalBest Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to DrupalAcquia
 
The Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in DrupalThe Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in DrupalEllie Roepken
 
Drupal Camp LA 2011: Typography modules for Drupal
Drupal Camp LA 2011: Typography modules for DrupalDrupal Camp LA 2011: Typography modules for Drupal
Drupal Camp LA 2011: Typography modules for DrupalAshok Modi
 
Using Foundation with Drupal
Using Foundation with DrupalUsing Foundation with Drupal
Using Foundation with DrupalExove
 
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal IntroDrupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal IntroDrupalMumbai
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuis Rodríguez Castromil
 
Week6 office-hours
Week6 office-hoursWeek6 office-hours
Week6 office-hoursRandall Rode
 
One Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp LondonOne Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp Londonhernanibf
 
Acquia Commons
Acquia CommonsAcquia Commons
Acquia Commonshernanibf
 
Drupal Migrations in 2018
Drupal Migrations in 2018Drupal Migrations in 2018
Drupal Migrations in 2018Pantheon
 

Was ist angesagt? (20)

Drupal Backend Performance and Scalability
Drupal Backend Performance and ScalabilityDrupal Backend Performance and Scalability
Drupal Backend Performance and Scalability
 
Drupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using DrupalDrupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using Drupal
 
Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8Top 8 Improvements in Drupal 8
Top 8 Improvements in Drupal 8
 
Drupal Webinar
Drupal WebinarDrupal Webinar
Drupal Webinar
 
One drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp CaceresOne drupal to rule them all - Drupalcamp Caceres
One drupal to rule them all - Drupalcamp Caceres
 
Drupal: Community Plumbing for Public Libraries
Drupal:  Community Plumbing for Public LibrariesDrupal:  Community Plumbing for Public Libraries
Drupal: Community Plumbing for Public Libraries
 
Building Your Own Drupal Distribution
Building Your Own Drupal DistributionBuilding Your Own Drupal Distribution
Building Your Own Drupal Distribution
 
DrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performanceDrupalCampLA 2011: Drupal backend-performance
DrupalCampLA 2011: Drupal backend-performance
 
Best Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to DrupalBest Practices for Migrating a Legacy-Based CMS to Drupal
Best Practices for Migrating a Legacy-Based CMS to Drupal
 
The Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in DrupalThe Foundations of Being Sassy in Drupal
The Foundations of Being Sassy in Drupal
 
Drupal Camp LA 2011: Typography modules for Drupal
Drupal Camp LA 2011: Typography modules for DrupalDrupal Camp LA 2011: Typography modules for Drupal
Drupal Camp LA 2011: Typography modules for Drupal
 
Using Foundation with Drupal
Using Foundation with DrupalUsing Foundation with Drupal
Using Foundation with Drupal
 
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal IntroDrupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Intro
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
 
I <3 Drupal
I <3 DrupalI <3 Drupal
I <3 Drupal
 
Week6 office-hours
Week6 office-hoursWeek6 office-hours
Week6 office-hours
 
One Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp LondonOne Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp London
 
Drupal 7
Drupal 7Drupal 7
Drupal 7
 
Acquia Commons
Acquia CommonsAcquia Commons
Acquia Commons
 
Drupal Migrations in 2018
Drupal Migrations in 2018Drupal Migrations in 2018
Drupal Migrations in 2018
 

Ähnlich wie Drupal Overview For Techies

Rapid site production with Drupal
Rapid site production with DrupalRapid site production with Drupal
Rapid site production with DrupalRob Sawyer
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an OverviewMatt Weaver
 
Collaborating with the Community
Collaborating with the CommunityCollaborating with the Community
Collaborating with the Communitytinacallahan
 
Phase2 Large Drupal Multisites (gta case study)
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)Phase2
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To DrupalLauren Roth
 
Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7Phase2
 
Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)Joachim Neubert
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Acquia
 
Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Paulo Gomes
 
Drupal: Community Plumbing for Public Libraries
Drupal:  Community Plumbing for Public LibrariesDrupal:  Community Plumbing for Public Libraries
Drupal: Community Plumbing for Public LibrariesLaura Solomon
 
Drupal
DrupalDrupal
Drupalbtopro
 
Drupal Training Topics
Drupal Training TopicsDrupal Training Topics
Drupal Training Topicsvibrantuser
 
Drupal Roadmap 2010
Drupal Roadmap 2010Drupal Roadmap 2010
Drupal Roadmap 2010kathyhh
 
Modernize Your Drupal Development
Modernize Your Drupal DevelopmentModernize Your Drupal Development
Modernize Your Drupal DevelopmentChris Tankersley
 
Building a Drupal Distribution using Features, Drush Make, Installation Profi...
Building a Drupal Distribution using Features, Drush Make, Installation Profi...Building a Drupal Distribution using Features, Drush Make, Installation Profi...
Building a Drupal Distribution using Features, Drush Make, Installation Profi...Ben Shell
 

Ähnlich wie Drupal Overview For Techies (20)

Drupal
DrupalDrupal
Drupal
 
Rapid site production with Drupal
Rapid site production with DrupalRapid site production with Drupal
Rapid site production with Drupal
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an Overview
 
Collaborating with the Community
Collaborating with the CommunityCollaborating with the Community
Collaborating with the Community
 
Phase2 Large Drupal Multisites (gta case study)
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To Drupal
 
Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7
 
Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs
 
Drupal distribution
Drupal distributionDrupal distribution
Drupal distribution
 
SynapseIndia drupal presentation on drupal
SynapseIndia drupal  presentation on drupalSynapseIndia drupal  presentation on drupal
SynapseIndia drupal presentation on drupal
 
Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8
 
Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)
 
Drupal: Community Plumbing for Public Libraries
Drupal:  Community Plumbing for Public LibrariesDrupal:  Community Plumbing for Public Libraries
Drupal: Community Plumbing for Public Libraries
 
Drupal
DrupalDrupal
Drupal
 
Drupal Training Topics
Drupal Training TopicsDrupal Training Topics
Drupal Training Topics
 
Drupal Roadmap 2010
Drupal Roadmap 2010Drupal Roadmap 2010
Drupal Roadmap 2010
 
Modernize Your Drupal Development
Modernize Your Drupal DevelopmentModernize Your Drupal Development
Modernize Your Drupal Development
 
I Heart Drupal
I Heart DrupalI Heart Drupal
I Heart Drupal
 
Building a Drupal Distribution using Features, Drush Make, Installation Profi...
Building a Drupal Distribution using Features, Drush Make, Installation Profi...Building a Drupal Distribution using Features, Drush Make, Installation Profi...
Building a Drupal Distribution using Features, Drush Make, Installation Profi...
 

Mehr von Robert Carr

Why I've Not bothered With Drupal 8
Why I've Not bothered With Drupal 8Why I've Not bothered With Drupal 8
Why I've Not bothered With Drupal 8Robert Carr
 
Organic Groups - Overview
Organic Groups - OverviewOrganic Groups - Overview
Organic Groups - OverviewRobert Carr
 
Rhetoric and Flexible Content with Drupal
Rhetoric and Flexible Content with DrupalRhetoric and Flexible Content with Drupal
Rhetoric and Flexible Content with DrupalRobert Carr
 
Gentle Intro to Search Engine Optimisation
Gentle Intro to Search Engine OptimisationGentle Intro to Search Engine Optimisation
Gentle Intro to Search Engine OptimisationRobert Carr
 
Introduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingIntroduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingRobert Carr
 
Search Engine Optimization & Drupal
Search Engine Optimization & DrupalSearch Engine Optimization & Drupal
Search Engine Optimization & DrupalRobert Carr
 

Mehr von Robert Carr (7)

Why I've Not bothered With Drupal 8
Why I've Not bothered With Drupal 8Why I've Not bothered With Drupal 8
Why I've Not bothered With Drupal 8
 
Organic Groups - Overview
Organic Groups - OverviewOrganic Groups - Overview
Organic Groups - Overview
 
Rhetoric and Flexible Content with Drupal
Rhetoric and Flexible Content with DrupalRhetoric and Flexible Content with Drupal
Rhetoric and Flexible Content with Drupal
 
Gentle Intro to Search Engine Optimisation
Gentle Intro to Search Engine OptimisationGentle Intro to Search Engine Optimisation
Gentle Intro to Search Engine Optimisation
 
Introduction to Drupal (7) Theming
Introduction to Drupal (7) ThemingIntroduction to Drupal (7) Theming
Introduction to Drupal (7) Theming
 
Wireframes
WireframesWireframes
Wireframes
 
Search Engine Optimization & Drupal
Search Engine Optimization & DrupalSearch Engine Optimization & Drupal
Search Engine Optimization & Drupal
 

Kürzlich hochgeladen

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Kürzlich hochgeladen (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Drupal Overview For Techies

  • 1. A Tech-lite Overview of Drupal Robert Carr @robertgarr rob@cognimatic.com Drupal - Technical Introduction 1
  • 2. 20-ish slides:45 minutes Overview Technical structure Customizing Performance Getting started Q&A Drupal - Technical Introduction 2
  • 3. What is it? Drupal is a free, community-built website development tool used across the world. Mostly software written in PHP language. Currently powers about 1 in 50 websites. Drupal - Technical Introduction 3
  • 4. No licensing costs. Drupal is open- source software: no acquisition or licensing costs. Built on other open- source projects Drupal - Technical Introduction 4
  • 5. Build Websites Quickly. Assemble websites with the simple UI, or > drush dl drupal --drupal-project-rename=example a powerful shell > cd example > drush site-install standard --db- url=mysql://[db_user]:[db_pass]@localhost/[db_name] --site- interface. name=Example > Out-of-the-box distributions for complete solutions. Drupal - Technical Introduction 5
  • 6. Flexible. Add functionality with [10K+] plug-in modules. Writing custom code with versatile API. Huge worldwide development community. Drupal - Technical Introduction 6 © Drupal Association 2011
  • 7. Customise the look. Hundreds of templates can be freely downloaded to customize the appearance. Use custom HTML and CSS for unique design. Drupal - Technical Introduction 7
  • 8. Scalable and Deployable Out of the box, can drive simple websites or blogs. Can be scaled-up > 1000s pages/sec. Re-use single codebase for multiple sites. Drupal - Technical Introduction 8
  • 9. Secure. Code written to high standards. Dedicated security team. Patches and advice easily available. Drupal - Technical Introduction 9
  • 10. Social Publishing Platform Multiple users can publish content Tunable access controls Open logins Allows people to connect Drupal - Technical Introduction 10
  • 11. Let’s Get Tinkering Drupal - Technical Introduction 11
  • 12. Drupal Stack PHP Database abstraction layer MySQL/PostgreSQL/SQLite/SQL Server/… Apache/lighttpd/IIS/nginx/… Linux/BSD/OSX/Windows/Solaris/… • Pre-configured DAMP stack (Win/OSX/Debian/Ubuntu) network.acquia.com/downloads • Virtualbox package:Technical Introduction Drupal - drupal.org/project/quickstart 12
  • 13. Fundamental Drupal Architecture 1. Data - Nodes (entities). 2. Functionality – core and contrib modules. 3. Blocks – data output 4. Selective access 5. HTML/CSS output Drupal - Technical Introduction 13
  • 14. Entities • Nodes (data) • Users • Taxonomy • Comments Can create custom entities. Can add custom fields + relationships to entities. Drupal - Technical Introduction 14
  • 15. Modules Core Contributed drupal.org/project/modules Optional in default install Examples: Some of most popular: • Blog • Views • Token • Forum • Pathauto • Locale • WYSIWYG • Date • OpenID • Webform • Search 10,000 modules + sandboxes • RDF Reviews at drupalmodules.com Drupal - Technical Introduction 15
  • 16. Site Building DRUSH (Drupal Shell) drupal.org/project/drush. Drush Make. SSH. Git. Distributions (off the shelf). Drupal - Technical Introduction 16
  • 17. Drupal Themes Each webpage has regions for content and blocks. drupal.org/project/t hemes Base themes Sub-theme hierarchy Drupal (7) not quite HTML5-ready. Drupal - Technical Introduction 17
  • 18. Template File Content *.tpl.php Template files – mix HTML and PHP snippets. Can override base theme templates. Custom templates for specific node types. Drupal - Technical Introduction 18
  • 19. Theme Developer Contrib module for page inspection (Firebug style) Drupal - Technical Introduction 19
  • 20. Caching Start Block caching (core) Bootstrap Page caching - for anonymous users: Load node by path • Core (anon) argument • Boost (anon > static HTML) Builder the render array for loaded node Memcached – DB + page cache Generate markup for whole page Pressflow – High Performance Drupal distro Sends rendered • Varnish + APC page End Drupal - Technical Introduction 20
  • 21. Drupal 8 – Addressing Problems Code freeze early 2013, release within 12 months • Use of Symfony • Web services: REST • HTML5 ready • Mobile/responsive themes • Configuration/staging • Drag and Drop UI • Change to core functionality (-Blog, +WYSIWYG…) Drupal - Technical Introduction 21
  • 22. Getting Started drupalgardens.com. DAMP stack. drupal.org/start: • Downloads/distributions • Documentation • Books • Issue queues • IRC Drupal - Technical Introduction 22
  • 23. Going Solo – Drupal Installation Download via drupal.org/start and unpack to server directory Navigate to new site root in browser Drupal - Technical Introduction 23
  • 24. Basic Configuration DB config – need to create new database apriori. Drupal - Technical Introduction 24
  • 25. Get Started Start adding content, download modules (via browser) or configure structure, appearance or module settings. Drupal - Technical Introduction 25
  • 26. or… Drush Install > drush dl drupal > mysqladmin –u rob –p create drupal7 > drush site-install standard --account-name=admin -- account-pass=letmein--db- url=mysql://rob:letmein@localhost/drupal7 (One or two steps missed out..!) Install Drupal with Drush via SSH: bit.ly/JB68oq Drupal - Technical Introduction 26
  • 27. Where next? DrupalCamp Scotland 25-26 May – Edinburgh camp.drupalscotland.org drupal.org groups.drupal.org Drupal Association: • DrupalCon – Europe: late summer – N America: spring – S America: winter • Local meetups: – Glasgow (monthly) – Edinburgh (monthly) – Tayside? The Community is here to help Drupal - Technical Introduction 27
  • 28. Why Drupal? • Open Source => free • Rapid build • Customise functionality & appearance • Scalable & deployable • Secure • Designed for the social world • Community support Drupal - Technical Introduction 28
  • 29. Questions? Robert Carr @robertgcarr rob@cognimatic.com Drupal - Technical Introduction 29

Hinweis der Redaktion

  1. wget http://drupal.org/files/projects/drupal-x.x.tar.gztar -zxvfdrupal-x.x.tar.gz