drupal by fire

26
February 2017 Drupal

Upload: embl-ebi-web-development

Post on 20-Mar-2017

26 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Drupal by fire

February 2017

Drupal

Page 2: Drupal by fire

February 2017

Drupal��

Page 3: Drupal by fire
Page 4: Drupal by fire

It could be worse.Don’t panic

Page 5: Drupal by fire
Page 6: Drupal by fire

Drupal =Web server +PHP +Database +Configuration +HTML/CSS/JS

Drupal is like many others

Page 7: Drupal by fire

Drupal =Web server +PHP +Database +Configuration +HTML/CSS/JS

Drupal is like many others

Page 8: Drupal by fire

Drupal is like many others

Web server (typ Apache)

Drupal / WordPress / Joomla / a lot of “LAMP” CMSs

PHP DB (typ MySQL)

OS (typ Linux)

User’s screen

HTML + CSS + JSExternal CSS + JS

Page 9: Drupal by fire

BlocksUsers

Content types / nodes

“Entities”

Configuration

Drupal “core” works like…

Drupal

PHP DB (typ MySQL)

Input filtersSite settings

Output sent to end user

Permissions

Pages (“Menu” system)

Page 10: Drupal by fire

1)Submit content

2)View content

Let’s do an enactment

Page 11: Drupal by fire

Theme: can wrap, mold, but not hook and change!

UsersContent types / nodes

“Entities”

Configuration

Don’t forget themes!

Drupal

PHP DB (typ MySQL)

Input filtersSite settings

Output sent to end user

Permissions

Pages (“Menu” system)

Page 12: Drupal by fire

Drupal is about shaping/organising content,and controlling access.

Look and feel can be done anywhere, doesn’t have to be done in Drupal.

CMS CMF

It’s all about content

Page 13: Drupal by fire

It’s all subject to changePanic

Page 14: Drupal by fire

It’s all subject to changePanic

Page 15: Drupal by fire

Drupal: “Do it like this!”

Page 16: Drupal by fire

Drupal: “Do it like this!”

Theme: “Show it like this!”

Page 17: Drupal by fire

Drupal: “Do it like this!”

Theme: “Show it like this!”

Module with hooks: “Do and show like this!”

Page 18: Drupal by fire

Users

Content types / nodes

“Entities”

Configuration

Hooks (Modules) add to and change this

Drupal

Input filters

Site settings

Permissions

Page 19: Drupal by fire

Views

Users

Content types / nodes

“Entities”

Configuration

Example: Views

Drupal

Input filters

Site settings

Permissions

Output sent to end user

Page 20: Drupal by fire

WebformUsers

Content types / nodes

“Entities”

Configuration

Example: Webform

Drupal

Input filters

Site settings

Permissions

Output sent to end user

Page 21: Drupal by fire

A module can do as much or little as you need.

You can make your own module — this is very important! Everything in Drupal is like clay*

*Clay with bits of broken glass in it.

Modules open new possibilities

Page 22: Drupal by fire

• ConfigurationSettings, content creation, blocks, etc.

• ModuleEnable new logic and add new configuration options

• ThemeAdd some logic, configuration options, but best to just do things that affect the “look”

Ways to do it with Drupal

Page 23: Drupal by fire

Any number of ways to do something with Drupal (that’s great!)

but the “right” way to do it often depends on what else the site is already doing (that’s confusing!)

A freaky yoga master

Page 24: Drupal by fire

• Core Drupal structure• Configuration• Nodes (entities)• Blocks• Theme• User permissions• And how things nest and relate

• Modules and their use of hooks

Key concepts

Page 25: Drupal by fire

Some sample things to explore:• What you get “out of the box”• How to enforce access control, and circumvent• Adapting appearance of content (input filters)• Creating content functionality• Querying content to display• Adding miscellaneous bits of content

Hands on

Page 26: Drupal by fire

End