Drupal Commerce is a powerful Commerce framework build on the Drupal 8 API, core and contrib. It puts the distributions on the map once again through the Commerce Kickstart package, a ready to go e-commerce store.
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.
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.
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