Drupal by fire
-
Upload
embl-ebi-web-development -
Category
Technology
-
view
26 -
download
0
Transcript of Drupal by fire
![Page 1: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/1.jpg)
February 2017
Drupal
![Page 2: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/2.jpg)
February 2017
Drupal��
![Page 3: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/3.jpg)
![Page 4: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/4.jpg)
It could be worse.Don’t panic
![Page 5: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/5.jpg)
![Page 6: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/6.jpg)
Drupal =Web server +PHP +Database +Configuration +HTML/CSS/JS
Drupal is like many others
![Page 7: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/7.jpg)
Drupal =Web server +PHP +Database +Configuration +HTML/CSS/JS
Drupal is like many others
![Page 8: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/8.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/9.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/10.jpg)
1)Submit content
2)View content
Let’s do an enactment
![Page 11: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/11.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/12.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/13.jpg)
It’s all subject to changePanic
![Page 14: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/14.jpg)
It’s all subject to changePanic
![Page 15: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/15.jpg)
Drupal: “Do it like this!”
![Page 16: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/16.jpg)
Drupal: “Do it like this!”
Theme: “Show it like this!”
![Page 17: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/17.jpg)
Drupal: “Do it like this!”
Theme: “Show it like this!”
Module with hooks: “Do and show like this!”
![Page 18: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/18.jpg)
Users
Content types / nodes
“Entities”
Configuration
Hooks (Modules) add to and change this
Drupal
Input filters
Site settings
Permissions
![Page 19: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/19.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/20.jpg)
WebformUsers
Content types / nodes
“Entities”
Configuration
Example: Webform
Drupal
Input filters
Site settings
Permissions
Output sent to end user
![Page 21: Drupal by fire](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/21.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/22.jpg)
• 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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/23.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/24.jpg)
• 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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/25.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022070517/58cf465d1a28ab254a8b648d/html5/thumbnails/26.jpg)
End