Drupal terminology
-
Upload
vivek-verma -
Category
Technology
-
view
260 -
download
0
description
Transcript of Drupal terminology
Swarad Mokal
Vivek Saurabh
Drupal Internals
Imagine a fruit tree!
Drupal Concepts:
Content/Nodes
Content Types
Modules
Menus or Links
Block
Views
Region and Themes
Users
Permissions and
Roles
Database
Drupal Flow
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.
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.
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.)
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 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
Menu and 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.
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).
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.
Region 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
( "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
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:
Thank you & Questions Please!
Cell : 7208417662
Twitter: @swarad07
Drupal.org : swarad07 Drupal.org : vivek.saurabh
Cell : 9619927607
Twitter: @viveksaurabh75