23
Drupal Mumbai www.drupalmumbai.org @DrupalMumbai | FB.me/DrupalMumbai | Gplus.to/DrupalMumbai

Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Embed Size (px)

DESCRIPTION

Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Citation preview

Page 1: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Drupal  Mumbai          

www.drupalmumbai.org  

@DrupalMumbai | FB.me/DrupalMumbai | Gplus.to/DrupalMumbai

Page 2: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Drupal  Terminologies  

Phone:  +1  510  596  1711  Email:  [email protected]  Website:  www.blisstering.com  

Blisstering  SoluBons  1300  Clay  Street,  #600  Oakland,  CA  94612.  

Page 3: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Drupal  Concepts:  

v Content/Nodes

v Content Types

v Fields

v Taxonomy terms

v Modules

v Menus or Links

v Block

v Views

v Region and Themes

v Users

v Permissions and Roles

v Comments

v Database

v Drupal Flow

Page 4: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Nodes  

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

Drupal web site. A node consists of several fields. Some examples of nodes:

•  Discussion topics in forums

•  Blog entries

•  News article

•  Any content.

Page 5: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

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.)

Example :

•  Video

•  Image

•  Newsfeed

Page 6: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Fields  A Content Type is a pre-defined collection of data types (Fields)

which relate to each other by an informational context.

Example:

One way to think of content types is to visualize the contacts on your

mobile phone. If you were to duplicate this on a Drupal site you

would create a Content Type. You would name your new Content

Type (e.g. Contacts), define the information that you wanted to store

about each contact (called Fields in Drupal), and then add those

Fields (e.g. First name, last name, and mobile phone number, etc.)

to that Content Type.

Page 7: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Taxonomy  terms  

•  Taxonomy is the practice that allows you to connect, relate and

classify your website’s content.

•  Vocabularies are just categories

•  Terms are simply the items that go inside a vocabulary.

Example :

Consider fruits, here fruits will be vocabulary, and we might

have Apples, Bananas, etc. which will be terms under vocabulary.

Page 8: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

En>>es  

In Drupal 7 and onwards, the idea of nodes is expanded and

named Entities(we can say entity as the parent class of nodes).

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.

Page 9: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

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 10: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Menus  and  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 11: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Menus  or  Links  

Page 12: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

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 13: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Views  

Page 14: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

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, or dynamic and static chunks of information that you've

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

Page 15: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Regions  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 16: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Regions  and  Themes  

Page 17: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

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 18: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Permissions  and  Roles  Users on your site can be assigned permissions via roles. To do this,

you first need to create a role. 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 19: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Comments  

•  Users can post comments to discuss a forum topic, a blog post, a book

page, etc.

•  Comments behave like other user submissions.

•  You can specify content permissions for comments

•  You can also specify whether comments are allowed for a specific

node.

Page 20: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

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 21: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Code  Tree  

Page 22: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Drupal  Flow  

Page 23: Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies

Ques>ons