72
Drupal An introduction to Drupal for developers

Introduction to Drupal for (non-Drupal) developers

  • Upload
    davyvdb

  • View
    4.762

  • Download
    1

Embed Size (px)

DESCRIPTION

The goal is to give developers working with another CMS or language a taste of where Drupal came from, where it's at, how it works and give them enough information to get them started on their own. Expect a Drupal history overview, recommended modules, recommended information resources, a list of books to get you started, an introduction to what hooks are, how theming works, ...

Citation preview

Page 1: Introduction to Drupal for (non-Drupal) developers

DrupalAn introduction to Drupal for developers

Page 2: Introduction to Drupal for (non-Drupal) developers

Bird’s  eye  view

Page 3: Introduction to Drupal for (non-Drupal) developers

Bird’s  eye  view  (1)

• What  is  Drupal?

• Where  does  it  come  from?

• Who's  who  in  Drupal?

• Some  cool  features

• Recommended  modules

• Module  development

• Theming

Page 4: Introduction to Drupal for (non-Drupal) developers

Bird’s  eye  view  (2)

• Performance

• Where  to  find  informaGon?

• Books

• The  future

Page 5: Introduction to Drupal for (non-Drupal) developers

What  is  Drupal  ?

Page 6: Introduction to Drupal for (non-Drupal) developers

DefiniGon

Drupal  is  a  completely  free,  open  source  content  management  

system  that  many  intelligent  companies  are  using  today  to  provide  

for  their  needs.  Drupal's  many  features  and  add-­‐ons  allow  it  to  be  

used  for  a  variety  of  website  needs;  perhaps  for  markeGng,  

internal  communicaGons,  informaGonal  websites,  or  for  social  

networking  purposes.  If  a  needed  feature  is  not  currently  available,  

it  has  a  proven  community  of  developers  who  can  be  paid  to  do  

the  work  for  you.  Drupal's  access  control  system  means  that  it  can  

be  easily  applied  to  your  organizaGonal  structure.  Overall,  Drupal  is  

a  good  choice  for  today's  companies  of  any  size  because  it  is  free,  

easy,  and  incredibly  flexible.

Page 7: Introduction to Drupal for (non-Drupal) developers

CMS/  CMF

• Content  Management  System

• Content  Management  Framework

• Community  Management  System

• CommunicaGon  Management  System

Page 8: Introduction to Drupal for (non-Drupal) developers

Built  on  LAMP  /  MAMP  /  WAMP

Linux  (Windows  /  OS  X  /  Solaris)

Apache MySQL

PHP

Drupal

Page 9: Introduction to Drupal for (non-Drupal) developers

GPL  license

Page 10: Introduction to Drupal for (non-Drupal) developers

Core

Modules

Themes

TranslaG

ons

Install  

profi

les

Architecture

Page 11: Introduction to Drupal for (non-Drupal) developers

Core

Modules

Themes

TranslaG

ons

Install  

profi

les

Modules

Themes

Contribute Core

Modules

Themes

Custom

Pluggable

Page 12: Introduction to Drupal for (non-Drupal) developers

Where  does  it  come  from  ?

Page 13: Introduction to Drupal for (non-Drupal) developers

Dries  Buytaert

• Drupal  founder

• Belgian  ciGzen

• Discussion  board  for  

his  dorm  (drop.org)

• Open  sourced  in  

2001

Page 14: Introduction to Drupal for (non-Drupal) developers

The  name

• dorp.org  

misregistered  as  

drop.org

• drop  is  english  for  

“druppel”

• drupal  is  english  

rendering  for  

“druppel”

Page 15: Introduction to Drupal for (non-Drupal) developers

Who’s  who  in  Drupal  ?

Page 16: Introduction to Drupal for (non-Drupal) developers

Dries  Buytaert

• Founder  and  lead  

developer

• Permanent  core  

commi_er

• Trademark  owner

Page 17: Introduction to Drupal for (non-Drupal) developers

Branch  maintainers

Neil  Drumm  (D5)

Gabor  Hojtsy  (D6)

Angie  Byron  (D7)

Page 18: Introduction to Drupal for (non-Drupal) developers

Maintainers  and  contributors

• Maintainers

• Core  contributors

• Module  contributors

• Theme  contributors

• TranslaGon  contributors

• DocumentaGon  contributors

Page 19: Introduction to Drupal for (non-Drupal) developers

Acquia

• Acquia  Drupal  (DistribuGon)

• Acquia  Network  (Monitoring,  CRON,  Docs,  

Forum,  ...)

• Search  (Apache  Solr)

• HosGng  (Drupal  gardens  and  hosGng)

• Professional  Services  (Training,  Audits,  ...)

Page 20: Introduction to Drupal for (non-Drupal) developers

Some  cool  features

Page 21: Introduction to Drupal for (non-Drupal) developers

Cool  !=  the  usual  suspects...

• Content  creaGon

• Taxonomy

• Menu

• PublicaGon  status

• User  management

• Permissions

• ...

Page 22: Introduction to Drupal for (non-Drupal) developers

Blocks

Page 23: Introduction to Drupal for (non-Drupal) developers

Content  ConstrucGon  Kit  (1)

Page 24: Introduction to Drupal for (non-Drupal) developers

Content  ConstrucGon  Kit  (2)

Page 25: Introduction to Drupal for (non-Drupal) developers

Views  (1)

Page 26: Introduction to Drupal for (non-Drupal) developers

Views  (2)

Page 27: Introduction to Drupal for (non-Drupal) developers

RSS

Page 28: Introduction to Drupal for (non-Drupal) developers

MulGlingual  sites

Page 29: Introduction to Drupal for (non-Drupal) developers

Interface  translaGon

Page 30: Introduction to Drupal for (non-Drupal) developers

Content  translaGon

Page 31: Introduction to Drupal for (non-Drupal) developers

Form  builder  (1)

Page 32: Introduction to Drupal for (non-Drupal) developers

Form  builder  (2)

Page 33: Introduction to Drupal for (non-Drupal) developers

Form  builder  (3)

Page 34: Introduction to Drupal for (non-Drupal) developers

Clean  URLs

Page 35: Introduction to Drupal for (non-Drupal) developers

Image  presets

Page 36: Introduction to Drupal for (non-Drupal) developers

Scheduling

Page 37: Introduction to Drupal for (non-Drupal) developers

MulGsite

Page 38: Introduction to Drupal for (non-Drupal) developers

Recommended  modules

Page 39: Introduction to Drupal for (non-Drupal) developers

Recommended  modules  (1)

• CCK

• Views

• Filefield  (Imagefield,  Filefield  Sources)

• IMCE  (IMCE  Crop,  IMCE  Mkdir)

• Scheduler

• Webform

• Pathauto

Page 40: Introduction to Drupal for (non-Drupal) developers

Recommended  modules  (2)

• I18N

• ApacheSOLR

• Google  AnalyGcs

• ImageCache  (ImageAPI)

• Pathologic

• SpamSpan

• Mollom

Page 41: Introduction to Drupal for (non-Drupal) developers

Module  development

Page 42: Introduction to Drupal for (non-Drupal) developers

Module  folder

Page 43: Introduction to Drupal for (non-Drupal) developers

.info  file

Page 44: Introduction to Drupal for (non-Drupal) developers

.module  file  with  hook_menu

Page 45: Introduction to Drupal for (non-Drupal) developers

Form  API

Page 46: Introduction to Drupal for (non-Drupal) developers

drupal_alter

Page 47: Introduction to Drupal for (non-Drupal) developers

DB  API

Page 48: Introduction to Drupal for (non-Drupal) developers

Theming

Page 49: Introduction to Drupal for (non-Drupal) developers

hook_theme

Page 50: Introduction to Drupal for (non-Drupal) developers

Performance

Page 51: Introduction to Drupal for (non-Drupal) developers

Performance

• Caching  API  (cache_get  and  cache_set)

• System  caching  (page,  block,  ...)

• Boost

• Pressflow

• Varnish

• Memcache

Page 52: Introduction to Drupal for (non-Drupal) developers

Where  to  find  informaGon  ?

Page 53: Introduction to Drupal for (non-Drupal) developers

Drupal  website

• h_p://drupal.org

• News

• Download  Drupal,  modules,  themes,  

translaGons,  installaGon  profiles,  ...

• Bug  reports

• Discussion  groups

• Forums

Page 55: Introduction to Drupal for (non-Drupal) developers

Drupal  API  reference

h_p://api.drupal.org

Page 56: Introduction to Drupal for (non-Drupal) developers

Drupal  handbook

• h_p://drupal.org/handbook

• Wiki

• InstallaGon,  module  installaGon,  module  

help,  performance  Gps,  hosGng  Gps,  how  to  

contribute,  ...

Page 57: Introduction to Drupal for (non-Drupal) developers

drupalmodules.com

• h_p://drupalmodules.com

• Unofficial

• Search  engine  for  modules

• Reviews,  raGngs,  ...

Page 58: Introduction to Drupal for (non-Drupal) developers

Aggregators

• Drupal  Planet

• h_p://drupal.org/planet

• DrupalFire

• h_p://drupalfire.com

Page 59: Introduction to Drupal for (non-Drupal) developers

Other

• RSS  feeds  (h_p://drupal.org/node/63589)

• IRC  (h_p://drupal.org/irc)

• Mailing  lists  (h_p://drupal.org/mailing-­‐lists)

• Security  (h_p://drupal.org/security)

Page 60: Introduction to Drupal for (non-Drupal) developers

Books

Page 61: Introduction to Drupal for (non-Drupal) developers
Page 62: Introduction to Drupal for (non-Drupal) developers
Page 63: Introduction to Drupal for (non-Drupal) developers
Page 64: Introduction to Drupal for (non-Drupal) developers
Page 65: Introduction to Drupal for (non-Drupal) developers
Page 66: Introduction to Drupal for (non-Drupal) developers

More...

h_p://drupal.org/books

Page 67: Introduction to Drupal for (non-Drupal) developers

The  future

Page 68: Introduction to Drupal for (non-Drupal) developers

drupal.org  redesign

Page 69: Introduction to Drupal for (non-Drupal) developers

new  logo

Page 70: Introduction to Drupal for (non-Drupal) developers

Drupal  7

Page 71: Introduction to Drupal for (non-Drupal) developers

QuesGons  ?