Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies
-
Upload
drupalmumbai -
Category
Technology
-
view
177 -
download
1
description
Transcript of Drupal Global Training Day by Drupal Mumbai 6th Sep - Drupal Terminologies
Drupal Mumbai
www.drupalmumbai.org
@DrupalMumbai | FB.me/DrupalMumbai | Gplus.to/DrupalMumbai
Drupal Terminologies
Phone: +1 510 596 1711 Email: [email protected] Website: www.blisstering.com
Blisstering SoluBons 1300 Clay Street, #600 Oakland, CA 94612.
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
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.
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
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.
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.
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.
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.
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
Menus or Links
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.
Views
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).
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.
Regions and Themes
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
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
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.
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.
Code Tree
Drupal Flow
Ques>ons