Drupal terminology

19
Swarad Mokal Vivek Saurabh Drupal Internals

description

basic terms used in drupal

Transcript of Drupal terminology

Page 1: Drupal terminology

Swarad Mokal

Vivek Saurabh

Drupal Internals

Page 2: Drupal terminology

Imagine a fruit tree!

Page 3: Drupal terminology

Drupal Concepts:

Content/Nodes

Content Types

Modules

Menus or Links

Block

Views

Region and Themes

Users

Permissions and

Roles

Database

Drupal Flow

Page 4: Drupal terminology

Nodes:

Node

A node in Drupal is the generic term for a piece of

content on your Drupal web site. A node consists of

several fields. (Note that the choice of the word "node" is

not meant in the mathematical sense as part of a

network.)

Some examples of nodes:

• Discussion topics in forums

• Blog entries

• News article

• Any content.

Page 5: Drupal terminology

Entities:

In Drupal 7 and onwards, the idea of nodes is

expanded and named Entities. Entities can include

not only nodes but users, comments, relationships

between nodes etc. All entities can have extra

information associated with them (fields) just as

nodes do when using the Content Construction Kit.

Page 6: Drupal terminology

Content types :

 In Drupal, each item of content is called a node, and

each node belongs to a single content type, which

defines various default settings for nodes of that type,

such as whether the node is published automatically and

whether comments are permitted. (Note that in previous

versions of Drupal, content types were known as node

types.)

Page 7: Drupal terminology

Modules:

A module is a software (code) that extends Drupal

features and/or functionality. Core modules are those

included with the main download of Drupal, and you can

turn on their functionality without installing additional

software. You can also create your own modules using a

rich set of Drupal APIs.

Page 8: Drupal terminology

Menus or Links:

Menus are a collection of links (menu items) used to

navigate a website. There are three standard menus in

Drupal:

•Primary Links

•Secondary Links

•Navigation

Page 9: Drupal terminology

Menu and links

Page 10: Drupal terminology

Views

*The Views module provides a flexible method for Drupal site designers to control how lists and tables of content, users, taxonomy terms and other data are presented.

*This tool is essentially a smart query builder that, given enough information, can build the proper query, execute it, and display the results.

Page 11: Drupal terminology

Blocks:

Blocks are discrete chunks of information that are

displayed in the regions of your site's pages. Blocks can

take the form of menus (which are concerned with site

navigation), the output from modules (e.g., hot forum

topics), or dynamic and static chunks of information that

you've created yourself (e.g., a list of upcoming events).

Page 12: Drupal terminology

Region and Themes:

Regions:

Pages on your Drupal site are laid out in regions, which

can include the header, footer, sidebars, and main

content section; your theme may define additional

regions.

Themes:

The theme controls how your site is displayed, including

the graphic look, layout, and colors. A theme consists of

one or more PHP files that define the HTML output of your

site's pages, along with one or more CSS files that define

the layout, fonts, colors, and other styles.

Page 13: Drupal terminology

Region and Themes:

Page 14: Drupal terminology

Users:

Every visitor to your site, whether they have an account

and log in or visit the site anonymously, is considered

a user to Drupal. Each user has a numeric user ID, and

non-anonymous users also have a user name and an

email address.

•Anonymous User

•Authenticated User

Page 15: Drupal terminology

Permissions and Roles:

Users on your site can be assigned permissions

via roles. To do this, you first need to create a role

( "Content editor“ ,"Member“ ). Next, you will assign

permissions to that role, to tell Drupal what that role

can and can't do on the site. Finally, you will grant certain

users on your site your new role. Which will mean that

when those users are logged in, Drupal will let them do

the actions you gave that role permission to do.

Default Roles

•Anonymous user

•Authenticated user

•Administrator

Page 16: Drupal terminology

Database and code:

Drupal stores information in a database; each type of

information has its own database table. For instance, the

basic information about the nodes of your site are stored

in the Node table, the field information is stored in

separate tables. Comments and Users also have their

own database tables, and roles, permissions, and other

settings are also stored in database tables.

Page 17: Drupal terminology

Code tree:

Page 18: Drupal terminology

Drupal Flow:

Page 19: Drupal terminology

Thank you & Questions Please!

[email protected]

Cell : 7208417662

Twitter: @swarad07

Drupal.org : swarad07 Drupal.org : vivek.saurabh

[email protected]

Cell : 9619927607

Twitter: @viveksaurabh75