SlideShare ist ein Scribd-Unternehmen logo
1 von 29
By Mahesh
What is Drupal?
Drupal is an open-source platform and content
management system for building dynamic web sites
offering a broad range of features and services including
•user administration,
• publishing workflow,
•discussion capabilities,
•news aggregation,
• metadata functionalities

 using controlled vocabularies and XML publishing for
content sharing purposes.
What is Drupal?
What is Open-Source?
• Open Source means that whoever writes a piece of
computer code makes it available for anybody else to
see it, modify it, or use it.
•Free
•Community Based Support
    •Help find and fix bugs
    •answer questions on forums / blogs
    •provide documentation
    •Code extension modules

•GPL (GNU [GNU Not Unix] Public License) is the
most common open-source license standard
What is Drupal?
What is Content Management?
  •Web pages are often easily created with static
  (non-changing) content, but it is usually very
  difficult to make regular changes to a page.

   •Content Management is the process of easily
   changing what a user sees at a web page.
What is needed to run Drupal?
•A web server capable of executing PHP scripts
   •recommended: Apache
•PHP
   •Recommend using the latest stable release
•A PHP supported database server
   •recommended: mySQL
Drupal Is Cool
•Centralized management
   Templates and modules
   Styles
   Scripting
•Content creation, editing, and maintenance can be
done without technical Web knowledge

•Changes in styles, layout can be done across the site
without content maintainers involvement
…More Cool
•Information management
    Categories
    Taxonomies
    Keywords
•Navigation structures generated for you
•Easy to add Web2.0 features
…Even More Cool
•Authentication, roles
•Workflow
•Customization based on default
designs, templates, styles
   -Intercepts, overrides, and subthemes
General System Info
•Current Version: Drupal 5.1 (Drupal 7 to be released
soon)
•Programming Language: PHP 4 and 5
Data Storage: MySQL or PostgresSQL (support for
other databases, Oracle, MSSQL, DB2, etc).
•Operating System: Linux, FreeBSD, MS Windows
Web server: Apache, IIS
•Recommendation: WAMP
(Window, Apache, MySQL, PHP/Python) for security
purposes, ease of installation, and robustness.
Drupal Features: Quick list
 Content Management                Other Web Features
  System                              Friendly URL and Permalinks
   Content Publishing /               (node/nid)
    Threaded Commenting               Page caching
   Blogging Platform                 Integrated search
   Forums                             functionality
   Version Control (Diff module      Page Hits / Statistics
    shows revision in friendly      Prominent Drupal Sites
    format)                            http://www.mtv.co.uk/
 Polls                                http://www.theonion.com/
 News aggregation / RSS               http://appel.nasa.gov/

 Blocks / Navigation               See also
                                       http://drupal.org/features
 Modules / Themes
Steps to Accessible Design
1.    Install
2.    Update
3.    Select theme
4.    Add modules
5.    Build blocks
Drupal Installation / Site Setup
 •Setup a database container to hold the tables
 •Create the necessary user credentials in database
 •Run the setup program (run database script which
 create the necessary tables in DB)
 •Apache (setup domain, root)
 •In Drupal config file (which matches domain name
 path), point to database instance
 •Setup working directory (web server permissions)
 •Setup CRON job (periodic script), which performs
 various actions, like indexing for search.
2. Update
•Updates are essential
•Each time the administrator logs in Drupal will
display messages of needed updates
•Do them promptly
Theming
•Themes involve HTML templates, CSS files, and a
template.php file for custom theme code and theme
function overrides
•HTML templates use PHP snippets for inserting
variables and control structures
•Zen theme is a great starting theme for creating
custom designs
3. Select Theme
•Tables or tableless?
   •Tableless layouts best, especially if fluid
       Controllable with CSS
       Reading order can be independent of layout
       position
       Fluid sizing allows scaling by user as needed
   •Table layout not so good
       Imposes reading sequence
       Presentation only somewhat controllable
       with CSS
   •Nested tables bad
       Navigation nightmare
•Many theme design philosophies
How do I change a theme
The desired theme must be downloaded to
the server
  •Existing documentation explaining this step in
  detail
Administration > Site Configuration >
Themes
  •Select desired theme in default theme
  dropdown box
     •Sets the default theme seen by most users, although
     users can change the theme to what they want by
     editing their accounts
Managing Themes
4. Add Modules
•Hundreds of modules are available
•Offer a wide range of functionality
    Editors, games, feeds, tools
•Most are standards compliant
    Problem: Inconsistent implementations among
    modules
•Frequently updated
How do I Develop and Use a
          Module?
•Modules are used to add menus to Drupal
Examples of available modules are:
stories, blogs, polls, images, etc
•Creating modules in Drupal is simple:
    •It is simply a text file, including PHP code, in
    the directory that ends in .module
    •Allows the use of any text editor
•Modules can easily integrate with Drupal core or
other modules by using the Drupal API
(http://api.drupal.org/)
Managing Modules
How to Use a Node Module
 Nodes are the individual pieces of content which
make up the entire Drupal community—like
individual page in website

 Node Modules differ from regular modules in that
they contain a _node hook.

 What is a _node hook?:
  A Special PHP function that is defined in a
  module

 What the _node hook does for the module:
  Tells Drupal what type node the module defines.
5. Build Blocks
•Blocks contain the code fragments for the different
areas of your layout
•Blocks are placed in page regions
•Must be well-formed and strictly compliant to fit in
context
    Structured, semantic markup very desirable to
    get CSS to work
•How you add things like “Skip to Content”
Drupal Basics
1.   Block
2.   User, Roles, Permissions
3.   Taxonomy
4.   URL aliases
5.   Menus and Navigations
Blocks
•Blocks allow the placement of secondary content in
various regions on the page
•Out-of-the-box Drupal allows 5 regions (left
column, right column, header, footer and content)
•Modules can provide blocks with specific
functionality
•Custom blocks can be created
Users, Roles, Permissions
•First user created is the website administrator, and
this user has complete control over the system.
•Other users can be created by administrator or by
online registration (with or without admin approval)
•Roles: anonymous, authenticated, and custom
•Users can belong to one or more roles
•Permissions within system are role based
•Therefore, once users are created in the system and
assigned a role, they have permission to various
parts of the framework, including content creation.
Taxonomy
•Taxonomy is a method of categorizing your content
in a flexible way
•Taxonomy is usually the most confusing aspect of
Drupal for the uninitiated
•Category groups are defined as “Vocabularies”
•Categories themselves are defined as “Terms”
URL Aliases
•Makes Drupal sites easily SEO friendly
•URLs typically have variables embedded in them
that are required by PHP to process the page request
correctly
•URL alias mask these url variables with any URL of
your choice
•The PathAuto module allows logical rules to be
used in automatically creating path alias’ for content
Menus and Navigation
•Drupal allows the creation of unlimited menu
groups, each with it’s own hierarchy
•Menu items can be tied directly to a content page or
be unattached
•Menu system is tied to permissions, so menu items
will only appear for users with permission to view
that page
72d5drupal

Weitere ähnliche Inhalte

Was ist angesagt?

Deployer - Deployment tool for PHP
Deployer - Deployment tool for PHPDeployer - Deployment tool for PHP
Deployer - Deployment tool for PHPhernanibf
 
itPage LDC 09 Presentation
itPage LDC 09 PresentationitPage LDC 09 Presentation
itPage LDC 09 PresentationEric Landmann
 
Oxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websiteOxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websitehernanibf
 
Discover Drupal preview
Discover Drupal previewDiscover Drupal preview
Discover Drupal previewdropsolid
 
Drupal Training Topics
Drupal Training TopicsDrupal Training Topics
Drupal Training Topicsvibrantuser
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibilityhernanibf
 
WordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational IntranetWordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational IntranetTech Liminal
 
Drupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using DrupalDrupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using DrupalVibrant Technologies & Computers
 
Drupal 8 Deep Dive: Plugin System
Drupal 8 Deep Dive: Plugin SystemDrupal 8 Deep Dive: Plugin System
Drupal 8 Deep Dive: Plugin SystemAcquia
 
Acquia Commons
Acquia CommonsAcquia Commons
Acquia Commonshernanibf
 
The things we found in your website
The things we found in your websiteThe things we found in your website
The things we found in your websitehernanibf
 
Showcasing drupal
Showcasing drupalShowcasing drupal
Showcasing drupalOpevel
 
My site is slow
My site is slowMy site is slow
My site is slowhernanibf
 
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOsDrupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOsZyxware Technologies
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeJulie Kuehl
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal BasicsJuha Niemi
 

Was ist angesagt? (20)

Deployer - Deployment tool for PHP
Deployer - Deployment tool for PHPDeployer - Deployment tool for PHP
Deployer - Deployment tool for PHP
 
itPage LDC 09 Presentation
itPage LDC 09 PresentationitPage LDC 09 Presentation
itPage LDC 09 Presentation
 
Oxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your websiteOxford DrupalCamp 2012 - The things we found in your website
Oxford DrupalCamp 2012 - The things we found in your website
 
Discover Drupal preview
Discover Drupal previewDiscover Drupal preview
Discover Drupal preview
 
Drupal Training Topics
Drupal Training TopicsDrupal Training Topics
Drupal Training Topics
 
Drupal content editor flexibility
Drupal content editor flexibilityDrupal content editor flexibility
Drupal content editor flexibility
 
WordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational IntranetWordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational Intranet
 
Drupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using DrupalDrupal - Introduction to Building Library Web Site Using Drupal
Drupal - Introduction to Building Library Web Site Using Drupal
 
Drupal 8 Deep Dive: Plugin System
Drupal 8 Deep Dive: Plugin SystemDrupal 8 Deep Dive: Plugin System
Drupal 8 Deep Dive: Plugin System
 
Acquia Commons
Acquia CommonsAcquia Commons
Acquia Commons
 
The things we found in your website
The things we found in your websiteThe things we found in your website
The things we found in your website
 
Showcasing drupal
Showcasing drupalShowcasing drupal
Showcasing drupal
 
My site is slow
My site is slowMy site is slow
My site is slow
 
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOsDrupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
 
Drupal intro
Drupal introDrupal intro
Drupal intro
 
Drupal intro
Drupal introDrupal intro
Drupal intro
 
Anatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress ThemeAnatomy and Architecture of a WordPress Theme
Anatomy and Architecture of a WordPress Theme
 
Drupal -Introduction to Drupal
Drupal -Introduction to DrupalDrupal -Introduction to Drupal
Drupal -Introduction to Drupal
 
Drupal_cubet seminar
Drupal_cubet seminarDrupal_cubet seminar
Drupal_cubet seminar
 
Introduction to Drupal Basics
Introduction to Drupal BasicsIntroduction to Drupal Basics
Introduction to Drupal Basics
 

Ähnlich wie 72d5drupal

Online Drupal Training Syllabus
Online Drupal Training SyllabusOnline Drupal Training Syllabus
Online Drupal Training Syllabusvibrantuser
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an OverviewMatt Weaver
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To DrupalLauren Roth
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalRod Martin
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation Micky Metts
 
Drupal intro-training-in-mumbai
Drupal intro-training-in-mumbaiDrupal intro-training-in-mumbai
Drupal intro-training-in-mumbaivibrantuser
 
Synapse india reviews on drupal intro
Synapse india reviews on drupal introSynapse india reviews on drupal intro
Synapse india reviews on drupal introTarunsingh198
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupalsdmaxey
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management SystemsMatthew Turland
 
Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2Anil Sagar
 
Drupal training-1-in-mumbai
Drupal training-1-in-mumbaiDrupal training-1-in-mumbai
Drupal training-1-in-mumbaivibrantuser
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to DrupalTom Deryckere
 
Open Source CMS Playroom
Open Source CMS PlayroomOpen Source CMS Playroom
Open Source CMS Playroomlibrarywebchic
 
BITM3730 11-8.pptx
BITM3730 11-8.pptxBITM3730 11-8.pptx
BITM3730 11-8.pptxMattMarino13
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With LoveUp2 Technology
 
Phase2 Large Drupal Multisites (gta case study)
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)Phase2
 
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech DayCreating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech DaySuzanne Dergacheva
 

Ähnlich wie 72d5drupal (20)

Online Drupal Training Syllabus
Online Drupal Training SyllabusOnline Drupal Training Syllabus
Online Drupal Training Syllabus
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an Overview
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To Drupal
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 
Drupal intro (1)
Drupal intro (1)Drupal intro (1)
Drupal intro (1)
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
 
Drupal Webinar
Drupal WebinarDrupal Webinar
Drupal Webinar
 
Drupal intro-training-in-mumbai
Drupal intro-training-in-mumbaiDrupal intro-training-in-mumbai
Drupal intro-training-in-mumbai
 
Synapse india reviews on drupal intro
Synapse india reviews on drupal introSynapse india reviews on drupal intro
Synapse india reviews on drupal intro
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
Drupal - Introduction to User Management in Drupal
Drupal - Introduction to User Management in DrupalDrupal - Introduction to User Management in Drupal
Drupal - Introduction to User Management in Drupal
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management Systems
 
Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2Blisstering drupal module development ppt v1.2
Blisstering drupal module development ppt v1.2
 
Drupal training-1-in-mumbai
Drupal training-1-in-mumbaiDrupal training-1-in-mumbai
Drupal training-1-in-mumbai
 
Introduction to Drupal
Introduction to DrupalIntroduction to Drupal
Introduction to Drupal
 
Open Source CMS Playroom
Open Source CMS PlayroomOpen Source CMS Playroom
Open Source CMS Playroom
 
BITM3730 11-8.pptx
BITM3730 11-8.pptxBITM3730 11-8.pptx
BITM3730 11-8.pptx
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
Phase2 Large Drupal Multisites (gta case study)
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)
 
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech DayCreating a Reusable Drupal Website for Higher Education - at USG Tech Day
Creating a Reusable Drupal Website for Higher Education - at USG Tech Day
 

72d5drupal

  • 2. What is Drupal? Drupal is an open-source platform and content management system for building dynamic web sites offering a broad range of features and services including •user administration, • publishing workflow, •discussion capabilities, •news aggregation, • metadata functionalities using controlled vocabularies and XML publishing for content sharing purposes.
  • 3. What is Drupal? What is Open-Source? • Open Source means that whoever writes a piece of computer code makes it available for anybody else to see it, modify it, or use it. •Free •Community Based Support •Help find and fix bugs •answer questions on forums / blogs •provide documentation •Code extension modules •GPL (GNU [GNU Not Unix] Public License) is the most common open-source license standard
  • 4. What is Drupal? What is Content Management? •Web pages are often easily created with static (non-changing) content, but it is usually very difficult to make regular changes to a page. •Content Management is the process of easily changing what a user sees at a web page.
  • 5. What is needed to run Drupal? •A web server capable of executing PHP scripts •recommended: Apache •PHP •Recommend using the latest stable release •A PHP supported database server •recommended: mySQL
  • 6. Drupal Is Cool •Centralized management Templates and modules Styles Scripting •Content creation, editing, and maintenance can be done without technical Web knowledge •Changes in styles, layout can be done across the site without content maintainers involvement
  • 7. …More Cool •Information management Categories Taxonomies Keywords •Navigation structures generated for you •Easy to add Web2.0 features
  • 8. …Even More Cool •Authentication, roles •Workflow •Customization based on default designs, templates, styles -Intercepts, overrides, and subthemes
  • 9. General System Info •Current Version: Drupal 5.1 (Drupal 7 to be released soon) •Programming Language: PHP 4 and 5 Data Storage: MySQL or PostgresSQL (support for other databases, Oracle, MSSQL, DB2, etc). •Operating System: Linux, FreeBSD, MS Windows Web server: Apache, IIS •Recommendation: WAMP (Window, Apache, MySQL, PHP/Python) for security purposes, ease of installation, and robustness.
  • 10. Drupal Features: Quick list  Content Management  Other Web Features System  Friendly URL and Permalinks  Content Publishing / (node/nid) Threaded Commenting  Page caching  Blogging Platform  Integrated search  Forums functionality  Version Control (Diff module  Page Hits / Statistics shows revision in friendly  Prominent Drupal Sites format)  http://www.mtv.co.uk/  Polls  http://www.theonion.com/  News aggregation / RSS  http://appel.nasa.gov/  Blocks / Navigation  See also  http://drupal.org/features  Modules / Themes
  • 11. Steps to Accessible Design 1. Install 2. Update 3. Select theme 4. Add modules 5. Build blocks
  • 12. Drupal Installation / Site Setup •Setup a database container to hold the tables •Create the necessary user credentials in database •Run the setup program (run database script which create the necessary tables in DB) •Apache (setup domain, root) •In Drupal config file (which matches domain name path), point to database instance •Setup working directory (web server permissions) •Setup CRON job (periodic script), which performs various actions, like indexing for search.
  • 13. 2. Update •Updates are essential •Each time the administrator logs in Drupal will display messages of needed updates •Do them promptly
  • 14. Theming •Themes involve HTML templates, CSS files, and a template.php file for custom theme code and theme function overrides •HTML templates use PHP snippets for inserting variables and control structures •Zen theme is a great starting theme for creating custom designs
  • 15. 3. Select Theme •Tables or tableless? •Tableless layouts best, especially if fluid Controllable with CSS Reading order can be independent of layout position Fluid sizing allows scaling by user as needed •Table layout not so good Imposes reading sequence Presentation only somewhat controllable with CSS •Nested tables bad Navigation nightmare •Many theme design philosophies
  • 16. How do I change a theme The desired theme must be downloaded to the server •Existing documentation explaining this step in detail Administration > Site Configuration > Themes •Select desired theme in default theme dropdown box •Sets the default theme seen by most users, although users can change the theme to what they want by editing their accounts
  • 18. 4. Add Modules •Hundreds of modules are available •Offer a wide range of functionality Editors, games, feeds, tools •Most are standards compliant Problem: Inconsistent implementations among modules •Frequently updated
  • 19. How do I Develop and Use a Module? •Modules are used to add menus to Drupal Examples of available modules are: stories, blogs, polls, images, etc •Creating modules in Drupal is simple: •It is simply a text file, including PHP code, in the directory that ends in .module •Allows the use of any text editor •Modules can easily integrate with Drupal core or other modules by using the Drupal API (http://api.drupal.org/)
  • 21. How to Use a Node Module  Nodes are the individual pieces of content which make up the entire Drupal community—like individual page in website  Node Modules differ from regular modules in that they contain a _node hook.  What is a _node hook?: A Special PHP function that is defined in a module  What the _node hook does for the module: Tells Drupal what type node the module defines.
  • 22. 5. Build Blocks •Blocks contain the code fragments for the different areas of your layout •Blocks are placed in page regions •Must be well-formed and strictly compliant to fit in context Structured, semantic markup very desirable to get CSS to work •How you add things like “Skip to Content”
  • 23. Drupal Basics 1. Block 2. User, Roles, Permissions 3. Taxonomy 4. URL aliases 5. Menus and Navigations
  • 24. Blocks •Blocks allow the placement of secondary content in various regions on the page •Out-of-the-box Drupal allows 5 regions (left column, right column, header, footer and content) •Modules can provide blocks with specific functionality •Custom blocks can be created
  • 25. Users, Roles, Permissions •First user created is the website administrator, and this user has complete control over the system. •Other users can be created by administrator or by online registration (with or without admin approval) •Roles: anonymous, authenticated, and custom •Users can belong to one or more roles •Permissions within system are role based •Therefore, once users are created in the system and assigned a role, they have permission to various parts of the framework, including content creation.
  • 26. Taxonomy •Taxonomy is a method of categorizing your content in a flexible way •Taxonomy is usually the most confusing aspect of Drupal for the uninitiated •Category groups are defined as “Vocabularies” •Categories themselves are defined as “Terms”
  • 27. URL Aliases •Makes Drupal sites easily SEO friendly •URLs typically have variables embedded in them that are required by PHP to process the page request correctly •URL alias mask these url variables with any URL of your choice •The PathAuto module allows logical rules to be used in automatically creating path alias’ for content
  • 28. Menus and Navigation •Drupal allows the creation of unlimited menu groups, each with it’s own hierarchy •Menu items can be tied directly to a content page or be unattached •Menu system is tied to permissions, so menu items will only appear for users with permission to view that page