Your SlideShare is downloading. ×
A Tech-lite Overview of        Drupal       Robert Carr       @robertgarr   rob@cognimatic.com       Drupal - Technical In...
20-ish slides:45 minutes        Overview    Technical structure       Customizing       Performance      Getting started  ...
What is it?Drupal is a free,community-builtwebsitedevelopment toolused across theworld.Mostly softwarewritten in PHPlangua...
No licensing costs.Drupal is open-source software: noacquisition orlicensing costs.Built on other open-source projects    ...
Build Websites Quickly.Assemble websiteswith the simple UI, or                              > drush dl drupal --drupal-pro...
Flexible.Add functionality with [10K+] plug-inmodules.Writing custom code with versatile API.Huge worldwide developmentcom...
Customise the look.Hundreds of templates can be freelydownloaded to customize the appearance.Use custom HTML and CSS for u...
Scalable and DeployableOut of the box, can drive simplewebsites or blogs.Can be scaled-up > 1000spages/sec.Re-use single c...
Secure.Code written to high standards.Dedicated security team.Patches and advice easilyavailable.           Drupal - Techn...
Social Publishing PlatformMultiple users canpublish contentTunable accesscontrolsOpen logins     Allows people to connect ...
Let’s Get Tinkering     Drupal - Technical Introduction   11
Drupal Stack                          PHP                  Database abstraction layer      MySQL/PostgreSQL/SQLite/SQL Ser...
Fundamental Drupal          Architecture1. Data - Nodes   (entities).2. Functionality – core   and contrib   modules.3. Bl...
Entities• Nodes (data)• Users• Taxonomy• CommentsCan create custom entities.Can add custom fields + relationships toentiti...
ModulesCore                                   Contributed                                       drupal.org/project/modules...
Site BuildingDRUSH (Drupal Shell)drupal.org/project/drush.Drush Make.SSH.Git.Distributions (off the shelf).               ...
DrupalThemesEach webpage hasregions for contentand blocks.drupal.org/project/themesBase themesSub-themehierarchyDrupal (7)...
Template File Content*.tpl.phpTemplate files – mix HTML and PHP snippets.Can override base theme templates.Custom template...
Theme DeveloperContrib module for page inspection (Firebug style)                 Drupal - Technical Introduction     19
Caching                                  StartBlock caching (core)                                                        ...
Drupal 8 – Addressing          ProblemsCode freeze early 2013,release within 12 months• Use of Symfony• Web services: REST...
Getting Starteddrupalgardens.com.DAMP stack.drupal.org/start:• Downloads/distributions• Documentation• Books• Issue queues...
Going Solo – Drupal                InstallationDownload via drupal.org/start andunpack to server directory                ...
Basic ConfigurationDB config – need to create newdatabase apriori.                            Drupal - Technical Introduct...
Get StartedStart adding content, download modules (viabrowser) or configure structure, appearance ormodule settings.      ...
or… Drush Install> drush dl drupal> mysqladmin –u rob –p create drupal7> drush site-install standard --account-name=admin ...
Where next?DrupalCamp Scotland25-26 May – Edinburghcamp.drupalscotland.orgdrupal.orggroups.drupal.orgDrupal Association:• ...
Why Drupal?• Open Source => free• Rapid build• Customise functionality &  appearance• Scalable & deployable• Secure• Desig...
Questions?    Robert Carr   @robertgcarrrob@cognimatic.com      Drupal - Technical Introduction   29
Upcoming SlideShare
Loading in...5
×

Drupal Overview For Techies

3,038

Published on

A gentle introduction and overview to Drupal. Intended for a more technical audience

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,038
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • wget http://drupal.org/files/projects/drupal-x.x.tar.gztar -zxvfdrupal-x.x.tar.gz
  • Transcript of "Drupal Overview For Techies"

    1. 1. A Tech-lite Overview of Drupal Robert Carr @robertgarr rob@cognimatic.com Drupal - Technical Introduction 1
    2. 2. 20-ish slides:45 minutes Overview Technical structure Customizing Performance Getting started Q&A Drupal - Technical Introduction 2
    3. 3. What is it?Drupal is a free,community-builtwebsitedevelopment toolused across theworld.Mostly softwarewritten in PHPlanguage.Currently powersabout 1 in 50websites. Drupal - Technical Introduction 3
    4. 4. No licensing costs.Drupal is open-source software: noacquisition orlicensing costs.Built on other open-source projects Drupal - Technical Introduction 4
    5. 5. Build Websites Quickly.Assemble websiteswith the simple UI, or > drush dl drupal --drupal-project-rename=examplea 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-boxdistributions forcomplete solutions. Drupal - Technical Introduction 5
    6. 6. Flexible.Add functionality with [10K+] plug-inmodules.Writing custom code with versatile API.Huge worldwide developmentcommunity. Drupal - Technical Introduction 6 © Drupal Association 2011
    7. 7. Customise the look.Hundreds of templates can be freelydownloaded to customize the appearance.Use custom HTML and CSS for uniquedesign. Drupal - Technical Introduction 7
    8. 8. Scalable and DeployableOut of the box, can drive simplewebsites or blogs.Can be scaled-up > 1000spages/sec.Re-use single codebase formultiple sites. Drupal - Technical Introduction 8
    9. 9. Secure.Code written to high standards.Dedicated security team.Patches and advice easilyavailable. Drupal - Technical Introduction 9
    10. 10. Social Publishing PlatformMultiple users canpublish contentTunable accesscontrolsOpen logins Allows people to connect Drupal - Technical Introduction 10
    11. 11. Let’s Get Tinkering Drupal - Technical Introduction 11
    12. 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. 13. Fundamental Drupal Architecture1. Data - Nodes (entities).2. Functionality – core and contrib modules.3. Blocks – data output4. Selective access5. HTML/CSS output Drupal - Technical Introduction 13
    14. 14. Entities• Nodes (data)• Users• Taxonomy• CommentsCan create custom entities.Can add custom fields + relationships toentities. Drupal - Technical Introduction 14
    15. 15. ModulesCore Contributed drupal.org/project/modulesOptional in default installExamples: 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. 16. Site BuildingDRUSH (Drupal Shell)drupal.org/project/drush.Drush Make.SSH.Git.Distributions (off the shelf). Drupal - Technical Introduction 16
    17. 17. DrupalThemesEach webpage hasregions for contentand blocks.drupal.org/project/themesBase themesSub-themehierarchyDrupal (7) not quiteHTML5-ready. Drupal - Technical Introduction 17
    18. 18. Template File Content*.tpl.phpTemplate files – mix HTML and PHP snippets.Can override base theme templates.Custom templates for specific node types. Drupal - Technical Introduction 18
    19. 19. Theme DeveloperContrib module for page inspection (Firebug style) Drupal - Technical Introduction 19
    20. 20. Caching StartBlock caching (core) BootstrapPage caching - for anonymoususers: Load node by path• Core (anon) argument• Boost (anon > static HTML) Builder the render array for loaded nodeMemcached – DB + page cache Generate markup for whole pagePressflow – High PerformanceDrupal distro Sends rendered• Varnish + APC page End Drupal - Technical Introduction 20
    21. 21. Drupal 8 – Addressing ProblemsCode 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. 22. Getting Starteddrupalgardens.com.DAMP stack.drupal.org/start:• Downloads/distributions• Documentation• Books• Issue queues• IRC Drupal - Technical Introduction 22
    23. 23. Going Solo – Drupal InstallationDownload via drupal.org/start andunpack to server directory Navigate to new site root in browser Drupal - Technical Introduction 23
    24. 24. Basic ConfigurationDB config – need to create newdatabase apriori. Drupal - Technical Introduction 24
    25. 25. Get StartedStart adding content, download modules (viabrowser) or configure structure, appearance ormodule settings. Drupal - Technical Introduction 25
    26. 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. 27. Where next?DrupalCamp Scotland25-26 May – Edinburghcamp.drupalscotland.orgdrupal.orggroups.drupal.orgDrupal 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. 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. 29. Questions? Robert Carr @robertgcarrrob@cognimatic.com Drupal - Technical Introduction 29

    ×