28
Walking the walk and talking the talk… THE LANGUAGE OF DRUPAL

Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

Embed Size (px)

Citation preview

Page 1: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

Walking the walk and talking the talk…

THE LANGUAGE OF DRUPAL

Page 2: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

ZONE OF PROXIMAL DEVELOPMENT

Here to There

Page 3: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

CONTEXT OF DRUPAL

Page 4: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

WHAT IS DRUPAL

Open

Community

Content Management System

Content

Design

Technical Design

Page 5: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

DRUPAL CORE

The basic features common to Content Management Systems.

Includes modules, themes, maintenance, admin

Anything outside of the sites folder in a Drupal installation

Page 6: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

DISTRIBUTIONS

Drupal 5.0

Drupal 6.0

Windows XP

Drupal 7.0

Improve performance/scalability

Beef up core modules

Increase adoption

Drupal 8.0

Better HTML5

More mobile

More modern framework

Page 7: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

DRUPAL CORE

Content

File uploads/downloads

Menus

User Accounts

Roles and Permissions

Taxonomy

Blogs

Forums

Polls

Search engine

Language capabilities

Logging and error reporting

Page 8: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

MODULES

An add-on in Drupal that provides enhanced features and functionality

Core Contributed

Page 9: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

COMMUNITY

DrupalCon

Semi-annual event alternating between North America and Europe Over 3,300 attended latest event in Portland

Drupal Camp

Smaller events

Us!

Page 10: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

NODE

Piece of content

Based on same type of data structure

Have a title and body content

Comprised of fields

Node types

Extend the base node by adding data attributes

Not everything is a node

Users, blocks, comments

Page 11: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

CONTENT

Content Types

Predefined collection of data types (fields) which relate to each other in an informational context.

Examples Page

Article

Page 12: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

CONTENT TYPES

Basic Page

Title field

Body field

Article

Title field

Body field

Image field

Defined tags

Custom

Page 13: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

FRAMEWORK

Page Region

Block

Block

Regi

on

Page 14: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

BLOCKS

Snippets of text or functionality that live outside main content areas

Left/right sidebars

Header/footers

Have a title/description

Not full-fledged content

Not a node

Can be amazingly complex

Page 15: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

FIELDS

Reusable pieces of data

Name of field

Type of data

Page 16: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

ENTITIES

Entity Types

• Nodes (content)

• Comments• Taxonomy

terms• User

profiles

Bundles

• Subtypes of entity type

• Not all entity subtypes have

Fields

• Reusable piece of content

• Helps organize data

Entity

• One instance of a particular entity type

• Noun; not a verb

Page 17: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

TAXONOMY

A mechanism for organizing content of your site (categories)

Vocabulary - Group of related terms

Term - Word or phrase that describes distinct aspect of a vocabulary

Movie Genre

Comedy

Slapstick

Romantic

ActionAction

Drama

Vocabulary

Terms

Actors

Page 18: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

VIEWS

An easy to use module that allows you to select and display lists of content on your website.

Arrangement of data on a page to create desired display

Page 19: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

PANELS

Module that allows you to divide up your content area beyond regions and blocks

Two-column stacked

Three-column

Flexible

Page 20: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

THEME

System

Collection of files that make up the look and feel of your site

Come with core

Download from the web

Pay from the web

Design your own

Responsive

Omega

Page 21: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

THEME

Core

Free sites

Paid sites

Design Your Own

Page 22: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

FORM API

Application Programming Interface

Generate, validate, process HTML forms

Instead of HTML, you create an array and let the engine generate the HTML

Very easy to modify

Map form elements to theme functions

Secure

Page 23: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

EVENTS AND TRIGGERS

Event

A message sent from one component of the system to others

Hook

Modules hook into flow of execution

Operation

Specific process within the hook

Trigger

Combination of the hook and operation that causes an action

Action

Something Drupal does

Page 24: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

HOOKS

Internal Drupal events

“Callbacks”

Allow modules to “hook into” what is happening in the rest of Drupal.

Most common way to tap into Drupal’s core functionality.

Example: Log in and the user hook. Helps shape the user experience at login

Page 25: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

FILE LAYOUT

The directory structure of a default Drupal installation

Page 26: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

BOOTSTRAP PROCESS

How Drupal serves requests

Initializes configuration

Early page cache

Initialize database

Hostname/IP-based access control

Initialize session handling

Late page cache

Language determination

Path

Full

Processes request

Themes data

Page 27: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

OTHER TERMS

Actions

Something Drupal does

Function

Clearly defined task

Users

Permissions

Page 28: Walking the walk and talking the talk… T HE L ANGUAGE OF D RUPAL

OTHER TERMS I MISSED

Drush

Cache