4. PantaRei Design
â
Everything Changes and Nothing Remains Still
â
Reinvent Enterprise with Open Source Software and Cloud Computing
â
Hong Kong based FOSS service provider
â Content Management System (CMS) with Drupal
â Cloud Hosting Solution with Amazon Web Services (AWS)
â Team collaborate solution with Atlassian
â
Business Partner with industry leaders
â 2012, AWS Consulting Partner
â 2013, Acquia Partner
â 2013, Atlassian Experts
â 2014, Rackspace Hosting Partner
â
http://pantarei-design.com
5.
6. Hong Kong Drupal User Group
â
The Hong Kong Drupal User Group are open to everyone with
an interest in Drupal and are a great opportunity to learn more
about what Drupal can do and what folks are building with it.
â
Drupal is a free software package that allows you to easily
organize, manage and publish your content, with an endless
variety of customization.
â Event organizing: http://www.meetup.com/drupalhk
â Technological discussion: https://groups.drupal.org/drupalhk
â Business connection: http://www.linkedin.com/groups/?gid=6644792
â General sharing: https://www.facebook.com/groups/drupalhk
7.
8.
9.
10.
11.
12.
13. Outline
â
Drupal 8 Quick Overview
â
Assembling Pages
â
The Drupal Magic Trick
â
Building Drupal Site
â
Customizing Your Site
â
What's Next?
15. ďŹ
Open source content management system.
ďŹ
Web application framework.
ďŹ
Design and Display.
ďŹ
Collaborative and Administrative.
ďŹ
Many tools to organize, structure, find and re-
use the content.
ďŹ
Interact with external media and file services.
16.
17. Drupal Showcases
ďŹ
South China Morning Post
ďŹ
The White House
ďŹ
Tesla Motors
ďŹ
Twitter
ďŹ
LinkedIn Developers
ďŹ
American Red Cross
25. What does Drupal 8 run on?
⢠Built in PHP, HTML, CSS,
JS.
⢠LAMP stack is most widely
used and tested.
⢠Other OSs, servers, DBs
possible (in orange)
Details drupal.org/requirements
Drupal
Framework: Symfony
Language: PHP
Server: Apache Database: MySQL
Operating System: Linux
31. Task: Get into your site
⢠Everyone has their
site installed?
⢠If so, try changing
your site title.
32. Limited by a mental model
example.com section
section
page
pagepage
page
Home page
About us
Team
Mission
News
Category
Category
News item
News item
Services
Your "mental"
site map
âPagesâ in physical âfoldersâ
33. Other CMSs?
This example is Typo3, what is your previous CMS like?
Page added
âintoâ site
structure
34. Drupal holds data
Structured data: referred to as âContent entityâ types in D8.
Articles
Users
Basic
pages Comments
â
â
Terms
Blocks
35. Demo: Add a page
⢠Add a Basic page.
⢠Add link to menu.
⢠Manage menu.
36. Task: Add a basic page
⢠Add a âBasic pageâ.
⢠Link from the âMain
menu.â
⢠Challenge: Manage
menu or Add an article.
37. The Drupal Magic Trick
â
What is Content Type?
â
How Drupal's Entity Works?
â
Add a Field to...
38. Structured data: Fields
Compare: Which allows for better input and display control?
In HTML:
Body text
Tags
Location
Media (video, images)
Title
Image upload
Title
Location
Tags
Body text
39. Content types and fields
Content types: Define defaults and add fields (usually)
Generic Content type settingsGeneric Content type settings
TitleTitle
AuthorAuthor
Date publishedDate published
CommentsComments
Menu optionsMenu options
RevisionsRevisions
Article + fields:Article + fields:
ImageImage
Body textBody text
TagsTags
Tips + fields:Tips + fields:
VideoVideo
Body textBody text
TagsTags
LinkLink
40. Drupal Entities
Taxonomy termsUsers
E. Webb
Germany
J. Beeman
Spain
adventure
city break
sailing
shopping
city break
Comments
dwight
8 Sept
Wow, can't
wait to get
visit.
joe
8 Sept
Me too!
Content (nodes)
⢠Pet-friendly holidays
for the whole family.
⢠Drum and dance in
Mali.
⢠Indian adventure on a
river boat cruise.
⢠Mud baths and hot
springs of Beppu.
⢠Hidden Paris by night
in the winter.
Blocks
Block title
Block text here.
Some information
about something.
http://link123.com
Contact forms
Subject
Message text field.
Custom fields as
needed.
Entities are one instance of
an entity type.
Each has a unique ID.
These are examples of
âContent entitiesâ in Drupal.
Examples of content entities in Drupal 8
46. Link: a module providing a field type
Manage > Structure > Content types > Article > Manage fields
47. Demo: Adding a field
⢠Enable Link module.
⢠Add a new field to the
article content type.
⢠Test by creating an
article.
Extend > Link module
48. Task: Customize a content type
A. Create an article
B. Enable Link module
C. New field on Article
D. Test Articles
50. Most sites: Lists of data?
⢠Dynamic lists of content
⢠Users, members
⢠By terms or categories
⢠Most
popular/commented
Visit http://opensource.com an example Drupal site
51. Views wizard
Once you select the base table of your
query this canât be changed.
Base table (content, user, terms, etc) cannot be changed later.
52. How to format & displayWhat to select & filter
Views UI
53. Demo: List of articles
⢠Add list of Articles
⢠Tab in main menu
Structure > Views > + Add new view
54. Task: Create a list of articles
⢠Add a view
⢠Select options for
Content type > Article.
⢠Challenge: Change
display!
Structure > Views > + Add new view
62. How are they using it?
⢠In every industry from
large sites to small.
⢠In-depth case studies on
Drupal.org.
drupal.org/case-studies
63. Drupal 8 Feature Highlight
â
Mobile in its DNA
â
Multilingual Capabilities
â
Accessibility Integration
â
Effortless Authoring
â
Field Power
â
Views, Out of the Box
â
Build-in Web Services
64. Mobile in its DNA
ďŹ
Administration pages: a snap to use
ďŹ
New administration experience
ďŹ
Mobile-first Back to site button
65.
66.
67. Multilingual Capabilities
ďŹ Translate anything in the system with built-in
user interfaces.
ďŹ Build pages with Views language filtering and
block visibility.
ďŹ Get software translation updates automatically
from the Drupal community.
70. Effortless Authoring
ďŹ
In-place editing of content without having to
use the full edit form.
ďŹ
WYSIWYG configuration made easy with
web security in mind.
ďŹ
Draft saving made easier.
71.
72. Field Power
ďŹ
More field types in core
ďŹ
Attach fields to more types of content
ďŹ
Entity reference, link, date, e-mail, telephone,
etc.
73.
74. Views, Out of the Box
ďŹ
Easily customize the front page, listing
blocks, and more.
ďŹ
Simply create custom admin pages,
customize filters, actions, and more.
75.
76.
77. Built-in Web Services
ďŹ
Build mobile apps
â Drupal as the data source
â Even post back to Drupal from the client
ďŹ
Implement state-of-the-art Hypertext
Application Language (HAL)
ďŹ
Expose content as JOSN, XML, etc.
82. Open Source Software = Community
All photos by Kathleen Murtagh code sprints (CC BY 2.0)
83. How big is the community?
Hint: For latest data, check âd.oâ
84. DrupalCon
⢠1500-3000 attendees
â 5 days of learning and
collaboration
â Affordable tickets
â Scholarships!
⢠Q: Where's the next
DrupalCon?
Hint! association.drupal.org/drupalcon
âTrivia nightâ Photo by Josef Jerabek (CC BY-NC-ND 2.0)
https://www.flickr.com/photos/pepej/15451001565/
85. Task: Connect locally
⢠Attend meet-ups
⢠DrupalCamps (local
conferences)
⢠Training â Free Global
training days and paid
training.
What is happening next in your area? http://drupical.com
86.
87.
88.
89.
90. Task: Search for modules
⢠Search through
contributed modules.
drupal.org/project/project_module
94. I Need More Help!
â
Read documents from Drupal Community
â https://drupal.org/documentation
â
Join Hong Kong Drupal User Group
â Event organizing: http://www.meetup.com/drupalhk
â Technological discussion: https://groups.drupal.org/drupalhk
â Business connection: http://www.linkedin.com/groups/?gid=6644792
â General sharing: https://www.facebook.com/groups/drupalhk
â
Contact us for one (1) month free-trial support service
â http://pantarei-design.com/services/support/#support-service-plans
95. Address: Unit 326, 3/F, Building 16W
No.16 Science Park West Avenue,
Hong Kong Science Park, Shatin, N.T.
â Phone: +852 3576 3812
â Fax: +852 3753 3663
â Email: sales@pantarei-design.com
â Web: http://pantarei-design.com
Contact us