SlideShare ist ein Scribd-Unternehmen logo
1 von 31
“Drupal - Introduction”
Cubet Seminar
Presented by “Chinju”
“We help build and architect IT solutions”
About Cubet
Founded in 2007, Cubet Techno Labs
is an end-to-end SMAC (social,
mobile, analytics and cloud) consulting
company with offices at Kochi, India
and London, UK. With expertise in
insightful product strategy, well-crafted
design and proficient development for
high-end web and mobile application
technologies.
Where we stand
Visit – www.cubettech.com
Indroduction
Visit – www.cubettech.com
 Open source content management system
 Drupal is more than a CMS
 Drupal is a free, open-source web development platform for online
content and user communities.
Drupal – In Industry
Visit – www.cubettech.com
PHP
Visit – www.cubettech.com
 Drupal is written in PHP
 Web application scripting language
Data Persistence
 Like most web applications Drupal needs to store data
 Data is in a database (MySQL/PgSQL)
Composition of Drupal
Visit – www.cubettech.com
 Drupal includes a common set of files to“bootstrap” Drupal
Set up database connections, provide authentication, present
output, etc.
 Drupal has additional modules
These are dynamically included depending on configuration
33+ modules are included in the Drupal core
Build in Modules
Visit – www.cubettech.com
 Aggregator - The Aggregator module is a feed reader that is included in
Drupal core. When enabled, the Aggregator module can fetch syndicated
content from other websites.
 Block - Blocks are boxes of content rendered into an area, or region, of a web
page.
 Blog - Enables multi-user blogs.
 Book - Allows users to create and organize related content in an outline.
Books can be used for manuals, site resource guides, Frequently Asked
Questions (FAQs)
 Color - Allows administrators to change the color scheme of compatible
themes.
Build in Modules
Visit – www.cubettech.com
 Comment - Allows users to comment on and discuss published content.
 Contact - Enables the use of both personal and site-wide contact forms.
 Database logging - Logs and records system events to the database.
 Filter - Filters content in preparation for display.
 Forum - Provides discussion forums.
 Help - Manages the display of online help.
 Image - Provides image manipulation tools.
 List - Defines list field types. Use with Options to create selection lists.
 Locale - Adds language handling functionality and enables the translation of
the user interface to languages other than English.
 Menu - Allows administrators to customize the site navigation menu.
 Node - Allows content to be submitted to the site and displayed on pages.
Drupal filesystem structure
Visit – www.cubettech.com
/includes - Drupal core PHP files
/misc - Various image and js files
/modules - Core modules
/profiles - Profile settings (own tree)
/scripts - Maintenance non-web scripts
/sites - Site definitions
/themes - Core themes
Drupal sites folder
Visit – www.cubettech.com
Sites : Site definitions
- all
- libraries
- modules
- themes
- default
- files
- settings.php
Top Level Files
Visit – www.cubettech.com
 Several critical php files:
cron.php - web interface for scheduled tasks
index.php - everything flows through index.php
install.php - installation file (remove)
update.php - update install (for new modules)
xmlrpc.php - provide remote procedures (opt.)
 Various other text files
Running Drupal
Visit – www.cubettech.com
 Every Drupal request goes to index.php, even if the URL looks
like a different location
 Index.php does bootstrapping:
checks database for enabled modules
loads modules that are appropriate
checks permissions
queries database for content
applies theme
renders the page
How to install Drupal
Visit – www.cubettech.com
 You need a database and a web server with PHP already running
 Create a database for the Drupal site
 Download the Drupal code from Drupal.org
 Point web browser to Drupal root and the rest is automated
Drupal terminology
Visit – www.cubettech.com
 Drupal uses a lot of words that have very specific meaning:
Module
Theme
Block
Node
Content Type
Taxonomy
Menu
User Roles and Permissions
Views
Modules - functionality
Visit – www.cubettech.com
 Modular piece of code that extends Drupal
 Uses the Drupal API
 Just a set of functions defined in the Drupal core (or
other modules)
 Can be enabled/disabled (in the database)
 Provide additional functionality without altering the
Drupal core
Themes - Look and Feel
Visit – www.cubettech.com
 Many components of Drupal are defined in the “theme”
 Themes are mainly comprised of HTML, CSS, PHP and images
 Themes utilize the same hierarchy as modules
 Theme files are called “templates”
Blocks
Visit – www.cubettech.com
 Blocks are pieces of content placed in regions of Drupal pages
 Blocks are arbitrary pieces of content
 Usually the stuff that appears in sidebar, header and footer content
 Blocks can be content, forms, special lists, polls, or arbitrary HTML
 Themes define regions for blocks
Nodes
Visit – www.cubettech.com
Drupal organizes most content around the concept of a “node”
Nodes are just pieces of content
Only a few things aren't nodes – users, groups, modules, and themes being
the main ones
Other stuff, from calendar events, to RSS feed items, to page content is a
node
How Nodes Work
Visit – www.cubettech.com
 Nodes support versioning
 As a result node content is stored in the node_revisions table
 The Drupal “node” table stores basic data about nodes
 Nodes can have various modules applied to them to adjust input and
output handling
Content Types
Visit – www.cubettech.com
 “Basic Page” and “Article” are two default content types
 Content types define input fields and how the content is displayed
 New content types can easily be created
 Content type creation should follow careful consideration of site
architecture and purpose
Taxonomy
Visit – www.cubettech.com
Taxonomy is another way to organize content
 Taxonomy are “tags” that are applied to content
 “Vocabularies” set up as taxonomies
 Vocabularies then contain terms
 Taxonomies can be extended and used for various rules in the Drupal back
end
 Taxonomy can also be used for display purposes
Menus
Visit – www.cubettech.com
Drupal menu system is also fairly arbitrary
 Display and positioning is controlled by themes
 Three default menus:
Navigation
Primary links
Secondary links
Users and Roles
Visit – www.cubettech.com
 Users are assigned to roles
 By default two roles are defined in Drupal
Authenticated User
Anonymous User
Permissions
Visit – www.cubettech.com
Drupal utilizes a Role Based Access Control (RBAC) system
 Users are assigned to roles, roles receive permissions
 Permissions are set through the Drupal administrative interface
 Userid 1 user (created during install) has all permissions
Views
Visit – www.cubettech.com
 The views module allows administrators and site designers to create, manage, and
display lists of content.
 Each list managed by the views module is known as a "view", and the output of a
view is known as a "display".
 Displays are provided in either block or page form, and a single view may have
multiple displays.
 For more technical users, views can be understood as a user interface to compose
SQL-queries, pulling information (Content, Users, etc.) from the database and showing
it on screen in the desired format.
 The "building block" design of the views system provides power and flexibility,
allowing parameters to be specified only when needed.
Viewsis a query builder
Visit – www.cubettech.com
The first fundamental thing you need to know about Views is that it is a tool
to build queries. You can even inspect the query as you build it.
Custom Module Development
Visit – www.cubettech.com
A Drupal site can have three kinds of modules (the 3 Cs):
Core modules that ship with Drupal and are approved by the core
developers and the community.
Contributed modules written by the Drupal community and shared under
the same GNU Public License (GPL) as Drupal.
Custom modules created by the developer – often for a particular use case
specific to the site they're working on.
Hook system for Drupal modules
Visit – www.cubettech.com
 Hooks are how modules can interact with the core code of Drupal.
 They make it possible for a module to define new urls and pages within
the site (hook_menu), to add content to pages (hook_block, hook_footer,
etc.), to set up custom database tables (hook_schema), and more.
Our Technologies Stack:
Server Side Application JavaScript Frameworks
Mobile App Development
Database System and Cloud
Visit – www.cubettech.com
THANKS!
ANY QUESTIONS? PLEASE GET IN TOUCH!
www.cubettech.com
Email : info@cubettech.com
Skype : cubet.se
Phone: +91 484 405 4324
Contact us:
Kemp House
160 City Road
London- EC1V2NX,
UK.info@cubettech.com
+44 2071938618
Carnival Info Park,
Unit IX-C, 9th floor PhaseIV,
Kochi, Kerala, India
info@cubettech.com
+91 484 4054324

Weitere ähnliche Inhalte

Was ist angesagt?

From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course OverviewFrom Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
Italo Mairo
 
Preventing Drupal Headaches: Establishing Flexible File Paths From The Start
Preventing Drupal Headaches: Establishing Flexible File Paths From The StartPreventing Drupal Headaches: Establishing Flexible File Paths From The Start
Preventing Drupal Headaches: Establishing Flexible File Paths From The Start
Acquia
 

Was ist angesagt? (20)

From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course OverviewFrom Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
 
Plan your Chunks! Win the Future with Information Architecture NOW
Plan your Chunks! Win the Future with Information Architecture NOWPlan your Chunks! Win the Future with Information Architecture NOW
Plan your Chunks! Win the Future with Information Architecture NOW
 
In-Fisherman.com - Building an Enterprise Level Drupal Site
In-Fisherman.com - Building an Enterprise Level Drupal SiteIn-Fisherman.com - Building an Enterprise Level Drupal Site
In-Fisherman.com - Building an Enterprise Level Drupal Site
 
Drupal for Libraries 05/28/09
Drupal for Libraries 05/28/09Drupal for Libraries 05/28/09
Drupal for Libraries 05/28/09
 
Media handling in Drupal (Drupalcamp Leuven 2013)
Media handling in Drupal (Drupalcamp Leuven 2013)Media handling in Drupal (Drupalcamp Leuven 2013)
Media handling in Drupal (Drupalcamp Leuven 2013)
 
Rendering engine
Rendering engineRendering engine
Rendering engine
 
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
 
CalArts presentation
CalArts presentationCalArts presentation
CalArts presentation
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipe
 
Open Source CMS
Open Source CMSOpen Source CMS
Open Source CMS
 
Preventing Drupal Headaches: Establishing Flexible File Paths From The Start
Preventing Drupal Headaches: Establishing Flexible File Paths From The StartPreventing Drupal Headaches: Establishing Flexible File Paths From The Start
Preventing Drupal Headaches: Establishing Flexible File Paths From The Start
 
Cms an overview
Cms an overviewCms an overview
Cms an overview
 
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBlog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
Drupal intro-training-in-mumbai
Drupal intro-training-in-mumbaiDrupal intro-training-in-mumbai
Drupal intro-training-in-mumbai
 
Drupal intro (1)
Drupal intro (1)Drupal intro (1)
Drupal intro (1)
 
Access Management Technologies Update by Simon McLeish and John Paschoud
Access Management Technologies Update by Simon McLeish and John PaschoudAccess Management Technologies Update by Simon McLeish and John Paschoud
Access Management Technologies Update by Simon McLeish and John Paschoud
 
Drupal intro
Drupal introDrupal intro
Drupal intro
 
Synapse india reviews on drupal intro
Synapse india reviews on drupal introSynapse india reviews on drupal intro
Synapse india reviews on drupal intro
 
Drupal -Introduction to Drupal
Drupal -Introduction to DrupalDrupal -Introduction to Drupal
Drupal -Introduction to Drupal
 
Drupal 8 theming deep dive
Drupal 8 theming deep diveDrupal 8 theming deep dive
Drupal 8 theming deep dive
 

Ähnlich wie Drupal_cubet seminar

Drupal - presentazione formazione sessione I
Drupal - presentazione formazione sessione IDrupal - presentazione formazione sessione I
Drupal - presentazione formazione sessione I
Gian Luca Matteucci
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management Systems
Matthew Turland
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To Drupal
Lauren Roth
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
Rachel Vacek
 
Drupal seminar at DDIT Nadiad
Drupal seminar at DDIT NadiadDrupal seminar at DDIT Nadiad
Drupal seminar at DDIT Nadiad
karmraj
 
Mlb drupal bizday_presentation
Mlb drupal bizday_presentationMlb drupal bizday_presentation
Mlb drupal bizday_presentation
erlee72
 
Introduction to basics of drupal
Introduction to basics of drupalIntroduction to basics of drupal
Introduction to basics of drupal
lrtraining05
 

Ähnlich wie Drupal_cubet seminar (20)

Beginner's guide to drupal
Beginner's guide to drupalBeginner's guide to drupal
Beginner's guide to drupal
 
drupal theme developer in hyderabad
drupal theme developer in hyderabaddrupal theme developer in hyderabad
drupal theme developer in hyderabad
 
Drupal - presentazione formazione sessione I
Drupal - presentazione formazione sessione IDrupal - presentazione formazione sessione I
Drupal - presentazione formazione sessione I
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management Systems
 
Drupal and Winona360
Drupal and Winona360Drupal and Winona360
Drupal and Winona360
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To Drupal
 
Synapseindia drupal intro 0
Synapseindia drupal intro 0Synapseindia drupal intro 0
Synapseindia drupal intro 0
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
 
Drupal Webinar
Drupal WebinarDrupal Webinar
Drupal Webinar
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
 
Drupal
DrupalDrupal
Drupal
 
Vskills certified open source cms drupal professional sample material
Vskills certified open source cms drupal professional sample materialVskills certified open source cms drupal professional sample material
Vskills certified open source cms drupal professional sample material
 
Drupal - short introduction.
Drupal - short introduction.Drupal - short introduction.
Drupal - short introduction.
 
Drupal seminar at DDIT Nadiad
Drupal seminar at DDIT NadiadDrupal seminar at DDIT Nadiad
Drupal seminar at DDIT Nadiad
 
Drupal Training | Online Drupal Training
Drupal Training | Online Drupal TrainingDrupal Training | Online Drupal Training
Drupal Training | Online Drupal Training
 
Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupal
 
Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7Taking your site from Drupal 6 to Drupal 7
Taking your site from Drupal 6 to Drupal 7
 
Mlb drupal bizday_presentation
Mlb drupal bizday_presentationMlb drupal bizday_presentation
Mlb drupal bizday_presentation
 
Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs
 
Introduction to basics of drupal
Introduction to basics of drupalIntroduction to basics of drupal
Introduction to basics of drupal
 

Mehr von Cubet Techno Labs

Mehr von Cubet Techno Labs (6)

Sass_Cubet seminar
Sass_Cubet seminarSass_Cubet seminar
Sass_Cubet seminar
 
Let's start with REDUX
Let's start with REDUXLet's start with REDUX
Let's start with REDUX
 
JMeter_ Cubet Seminar ppt
JMeter_ Cubet Seminar pptJMeter_ Cubet Seminar ppt
JMeter_ Cubet Seminar ppt
 
Fabricjs ppt
Fabricjs pptFabricjs ppt
Fabricjs ppt
 
An Introduction to AngularJS End to End Testing using Protractor
An Introduction to AngularJS End to End Testing using ProtractorAn Introduction to AngularJS End to End Testing using Protractor
An Introduction to AngularJS End to End Testing using Protractor
 
Angularjs 2
Angularjs 2 Angularjs 2
Angularjs 2
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Drupal_cubet seminar

  • 1. “Drupal - Introduction” Cubet Seminar Presented by “Chinju” “We help build and architect IT solutions”
  • 2. About Cubet Founded in 2007, Cubet Techno Labs is an end-to-end SMAC (social, mobile, analytics and cloud) consulting company with offices at Kochi, India and London, UK. With expertise in insightful product strategy, well-crafted design and proficient development for high-end web and mobile application technologies. Where we stand Visit – www.cubettech.com
  • 3. Indroduction Visit – www.cubettech.com  Open source content management system  Drupal is more than a CMS  Drupal is a free, open-source web development platform for online content and user communities.
  • 4. Drupal – In Industry Visit – www.cubettech.com
  • 5. PHP Visit – www.cubettech.com  Drupal is written in PHP  Web application scripting language Data Persistence  Like most web applications Drupal needs to store data  Data is in a database (MySQL/PgSQL)
  • 6. Composition of Drupal Visit – www.cubettech.com  Drupal includes a common set of files to“bootstrap” Drupal Set up database connections, provide authentication, present output, etc.  Drupal has additional modules These are dynamically included depending on configuration 33+ modules are included in the Drupal core
  • 7. Build in Modules Visit – www.cubettech.com  Aggregator - The Aggregator module is a feed reader that is included in Drupal core. When enabled, the Aggregator module can fetch syndicated content from other websites.  Block - Blocks are boxes of content rendered into an area, or region, of a web page.  Blog - Enables multi-user blogs.  Book - Allows users to create and organize related content in an outline. Books can be used for manuals, site resource guides, Frequently Asked Questions (FAQs)  Color - Allows administrators to change the color scheme of compatible themes.
  • 8. Build in Modules Visit – www.cubettech.com  Comment - Allows users to comment on and discuss published content.  Contact - Enables the use of both personal and site-wide contact forms.  Database logging - Logs and records system events to the database.  Filter - Filters content in preparation for display.  Forum - Provides discussion forums.  Help - Manages the display of online help.  Image - Provides image manipulation tools.  List - Defines list field types. Use with Options to create selection lists.  Locale - Adds language handling functionality and enables the translation of the user interface to languages other than English.  Menu - Allows administrators to customize the site navigation menu.  Node - Allows content to be submitted to the site and displayed on pages.
  • 9. Drupal filesystem structure Visit – www.cubettech.com /includes - Drupal core PHP files /misc - Various image and js files /modules - Core modules /profiles - Profile settings (own tree) /scripts - Maintenance non-web scripts /sites - Site definitions /themes - Core themes
  • 10. Drupal sites folder Visit – www.cubettech.com Sites : Site definitions - all - libraries - modules - themes - default - files - settings.php
  • 11. Top Level Files Visit – www.cubettech.com  Several critical php files: cron.php - web interface for scheduled tasks index.php - everything flows through index.php install.php - installation file (remove) update.php - update install (for new modules) xmlrpc.php - provide remote procedures (opt.)  Various other text files
  • 12. Running Drupal Visit – www.cubettech.com  Every Drupal request goes to index.php, even if the URL looks like a different location  Index.php does bootstrapping: checks database for enabled modules loads modules that are appropriate checks permissions queries database for content applies theme renders the page
  • 13. How to install Drupal Visit – www.cubettech.com  You need a database and a web server with PHP already running  Create a database for the Drupal site  Download the Drupal code from Drupal.org  Point web browser to Drupal root and the rest is automated
  • 14. Drupal terminology Visit – www.cubettech.com  Drupal uses a lot of words that have very specific meaning: Module Theme Block Node Content Type Taxonomy Menu User Roles and Permissions Views
  • 15. Modules - functionality Visit – www.cubettech.com  Modular piece of code that extends Drupal  Uses the Drupal API  Just a set of functions defined in the Drupal core (or other modules)  Can be enabled/disabled (in the database)  Provide additional functionality without altering the Drupal core
  • 16. Themes - Look and Feel Visit – www.cubettech.com  Many components of Drupal are defined in the “theme”  Themes are mainly comprised of HTML, CSS, PHP and images  Themes utilize the same hierarchy as modules  Theme files are called “templates”
  • 17. Blocks Visit – www.cubettech.com  Blocks are pieces of content placed in regions of Drupal pages  Blocks are arbitrary pieces of content  Usually the stuff that appears in sidebar, header and footer content  Blocks can be content, forms, special lists, polls, or arbitrary HTML  Themes define regions for blocks
  • 18. Nodes Visit – www.cubettech.com Drupal organizes most content around the concept of a “node” Nodes are just pieces of content Only a few things aren't nodes – users, groups, modules, and themes being the main ones Other stuff, from calendar events, to RSS feed items, to page content is a node
  • 19. How Nodes Work Visit – www.cubettech.com  Nodes support versioning  As a result node content is stored in the node_revisions table  The Drupal “node” table stores basic data about nodes  Nodes can have various modules applied to them to adjust input and output handling
  • 20. Content Types Visit – www.cubettech.com  “Basic Page” and “Article” are two default content types  Content types define input fields and how the content is displayed  New content types can easily be created  Content type creation should follow careful consideration of site architecture and purpose
  • 21. Taxonomy Visit – www.cubettech.com Taxonomy is another way to organize content  Taxonomy are “tags” that are applied to content  “Vocabularies” set up as taxonomies  Vocabularies then contain terms  Taxonomies can be extended and used for various rules in the Drupal back end  Taxonomy can also be used for display purposes
  • 22. Menus Visit – www.cubettech.com Drupal menu system is also fairly arbitrary  Display and positioning is controlled by themes  Three default menus: Navigation Primary links Secondary links
  • 23. Users and Roles Visit – www.cubettech.com  Users are assigned to roles  By default two roles are defined in Drupal Authenticated User Anonymous User
  • 24. Permissions Visit – www.cubettech.com Drupal utilizes a Role Based Access Control (RBAC) system  Users are assigned to roles, roles receive permissions  Permissions are set through the Drupal administrative interface  Userid 1 user (created during install) has all permissions
  • 25. Views Visit – www.cubettech.com  The views module allows administrators and site designers to create, manage, and display lists of content.  Each list managed by the views module is known as a "view", and the output of a view is known as a "display".  Displays are provided in either block or page form, and a single view may have multiple displays.  For more technical users, views can be understood as a user interface to compose SQL-queries, pulling information (Content, Users, etc.) from the database and showing it on screen in the desired format.  The "building block" design of the views system provides power and flexibility, allowing parameters to be specified only when needed.
  • 26. Viewsis a query builder Visit – www.cubettech.com The first fundamental thing you need to know about Views is that it is a tool to build queries. You can even inspect the query as you build it.
  • 27. Custom Module Development Visit – www.cubettech.com A Drupal site can have three kinds of modules (the 3 Cs): Core modules that ship with Drupal and are approved by the core developers and the community. Contributed modules written by the Drupal community and shared under the same GNU Public License (GPL) as Drupal. Custom modules created by the developer – often for a particular use case specific to the site they're working on.
  • 28. Hook system for Drupal modules Visit – www.cubettech.com  Hooks are how modules can interact with the core code of Drupal.  They make it possible for a module to define new urls and pages within the site (hook_menu), to add content to pages (hook_block, hook_footer, etc.), to set up custom database tables (hook_schema), and more.
  • 29. Our Technologies Stack: Server Side Application JavaScript Frameworks Mobile App Development Database System and Cloud Visit – www.cubettech.com
  • 30. THANKS! ANY QUESTIONS? PLEASE GET IN TOUCH! www.cubettech.com Email : info@cubettech.com Skype : cubet.se Phone: +91 484 405 4324
  • 31. Contact us: Kemp House 160 City Road London- EC1V2NX, UK.info@cubettech.com +44 2071938618 Carnival Info Park, Unit IX-C, 9th floor PhaseIV, Kochi, Kerala, India info@cubettech.com +91 484 4054324