Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  1. 1. DRUPAL By B.M. Chandra 08Q61A0512
  2. 2. What is Drupal? <ul><li>Open Source software written in php. </li></ul><ul><li>A CMS or content-management system. </li></ul><ul><li>A sophisticated web application building tool. </li></ul>
  3. 3. What is a CMS? <ul><li>Simply put, a CMS is a website you build using the website itself. </li></ul><ul><li>Wikipedia definition: A content management system ( CMS ) such as a document management system (DMS) is a computer application used to manage work flow needed to collaboratively create, edit, review, index, search, publish and archive various kinds of digital media and electronic text . </li></ul>
  4. 4. What can Drupal be? <ul><li>blog </li></ul><ul><li>Forum </li></ul><ul><li>Online newspaper, Portal / Directory </li></ul><ul><li>Brocure site, portfolio, flickr like photo drop </li></ul><ul><li>Social community site, job post board </li></ul><ul><li>Video site like youtube </li></ul><ul><li>Project management site </li></ul><ul><li>CRM, ERP, SCM, Wiki </li></ul><ul><li>Shopping cart system </li></ul><ul><li>E-learning, training site </li></ul><ul><li>Anything you can think of… </li></ul>
  5. 5. Why use a CMS? <ul><li>It helps manage complexity. </li></ul><ul><li>It provides a user interface (UI) for adding, editing and publishing content. </li></ul><ul><li>It provides a means for collaboration among many to perform the above tasks. </li></ul>
  6. 6. What is a UI? <ul><li>UI is a user-interface, which is a general term for the layout of options, widgets and settings used to configure the system or manage content. </li></ul><ul><li>‘ Site-building’ activities refer to configuring settings or managing content through the UI, such as building navigation menus. </li></ul>
  7. 7. Drupal Structure <ul><li>Drupal is a database-driven (‘dynamic’) application. It requires a database. </li></ul><ul><li>Drupal has a core filesystem whose functionality can be extended using the UI itself, modules and themes. </li></ul><ul><li>The UI settings are stored in the database. </li></ul>
  8. 8. Modules <ul><li>Packages of files in a directory that you upload into drupal’s module space (/sites/all/modules) </li></ul><ul><li>Add functionality to drupal </li></ul><ul><li>‘ Core’ Modules come shipped with drupal </li></ul><ul><li>‘ Contributed’ Modules are downloads from drupal.org </li></ul>
  9. 9. Using Modules <ul><li>A newly enabled module will add an administration menu. </li></ul><ul><li>Go to that module and read the help before changing anything. </li></ul><ul><li>Play around and learn it’s feature set. </li></ul><ul><li>Install the ‘Advanced Help’ module to get more verbose help with modules. </li></ul>
  10. 10. Themes <ul><li>Packages of files in a directory that you upload into drupal’s theme space (/sites/all/themes) </li></ul><ul><li>Themes adjust the site layout and style. Like ‘skinning’ your media player. </li></ul><ul><li>Themes can be easily changed in the UI. </li></ul>
  11. 11. Drupal Database <ul><li>Drupal’s database tracks things like : </li></ul><ul><li>Site and Module settings, </li></ul><ul><li>User’s information, </li></ul><ul><li>Access information, </li></ul><ul><li>Logging information, </li></ul><ul><li>Permissions and User Roles, </li></ul><ul><li>System Paths </li></ul><ul><li>Content and content metadata </li></ul>
  12. 12. Nodes <ul><li>A node is the primary form of content in a drupal site. At a minimum it is a title and a body, and can be ‘specialized’. </li></ul><ul><li>A ‘page’ and ‘story’ for example are node types that have a specific node settings. </li></ul><ul><li>A node type is a blueprint for creating instances of content of a particular type. </li></ul>
  13. 13. Layout and Regions <ul><li>A Region is an area in a layout, such as a header, footer, content, left/right sidebar into which blocks can be placed and arranged. </li></ul><ul><li>A block is a box containing some information </li></ul><ul><li>A node resides only in the content area of the layout (except in special circumstances). </li></ul><ul><li>Think of the content region as a big ‘node’ block that allows other blocks in it but the node itself can’t move. </li></ul>
  14. 14. Blocks <ul><li>Blocks are added by modules. </li></ul><ul><li>Blocks can contain views, widgets, menus, nodes (in special circumstances), and panels. </li></ul><ul><li>Blocks can be moved around through the UI </li></ul><ul><li>Blocks can be styled individually. </li></ul>
  15. 15. Users <ul><li>All CMSes (wordpress, Joomla, Drupal) have a user login system; users have a username/pw. </li></ul><ul><li>Drupal also supports the concepts of 1) Roles and 2) Permissions. </li></ul><ul><li>Roles are user designations to groups having the same set of permissions. </li></ul>
  16. 16. Anonymous User <ul><li>A (not-logged-in) site visitor is called a ‘guest’, ‘visitor’ or ‘anonymous user’. </li></ul><ul><li>Has a user-id (uid) of 0 (zero). </li></ul><ul><li>All anonymous users belong to the ‘anonymous user role’ (a role ID of 1) and have a set of permissions assigned to them. </li></ul>
  17. 17. Authenticated User <ul><li>A user in drupal may belong to one or more roles. </li></ul><ul><li>Every registered user in Drupal belongs to at least the ‘authenticated user’ role. </li></ul><ul><li>Authenticated user role has a role ID of 2 </li></ul>
  18. 18. Root ‘Admin’ User <ul><li>The ‘root’ user or ‘root admin’ has the ability to do anything on the site and is a special user. </li></ul><ul><li>The ‘root’ user has a user-id (uid) of 1. </li></ul><ul><li>The ‘root’ user does NOT have role-permissions to set because they are effectively gods within Drupal. </li></ul>
  19. 19. Managing Permissions <ul><li>KEY concept: if you grant permission to an authenticated user, it applies to ALL roles except the anonymous user. </li></ul><ul><li>To grant a permission to everyone on a site, you must grant the permission to both the anonymous user and authenticated user. </li></ul>
  20. 20. Managing Permissions <ul><li>To grant permission to only a newly created ‘dentist role’, tick the permission on that role. </li></ul><ul><li>Leave all the other roles deselected. </li></ul><ul><li>If you grant to both the ‘dentist role’ AND the ‘authenticated user’ role, you would be doing it wrong. Drupal assumes you know this. </li></ul>
  21. 21. Downsides to the Druup <ul><li>Drupal has a steeper learning curve than wordpress or Joomla. </li></ul><ul><li>Drupal and it’s developers make no excuse for this fact- it is a robust, flexible tool </li></ul><ul><li>That said, the drupal community is constantly addressing usability and user-experience issues because they want the industry market share. </li></ul>
  22. 22. <ul><li>THANK YOU </li></ul>