SlideShare una empresa de Scribd logo
1 de 95
Descargar para leer sin conexión
Hong Kong Drupal User Group
(HKDUG)
Website DIY with Drupal 8
HKOSCon 2015
2015 Jun 26th
Edison Wong
●
2005 - Drupal Developer & Contributor
– https://drupal.org/user/33940
●
2008 - HKDUG Co-founder
– https://groups.drupal.org/drupalhk
●
2010 - CEO, PantaRei Design
– hswong3i@pantarei-design.com
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
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
Outline
●
Drupal 8 Quick Overview
●
Assembling Pages
●
The Drupal Magic Trick
●
Building Drupal Site
●
Customizing Your Site
●
What's Next?
Drupal 8 Quick Overview
●
About Drupal
●
Drupal Showcases
●
Drupal 8 Feature Highlight
●
Drupal 8 Release Status

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.
Drupal Showcases

South China Morning Post

The White House

Tesla Motors

Twitter

LinkedIn Developers

American Red Cross
Drupal 8 capabilities
drupal.org/drupal-8.0
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
Drupal 8 Release Status
What's Next?
Assembling Pages
●
Get Your Drupal 8 Testbed!
●
Let's Create a Page!
●
Add Page to Main Menu
●
Administrate Content
simplytest.me

Evaluate Drupal projects online.

Just Try It!
 http://simplytest.me/project/drupal/8.0.x
Task: Get into your site
• Everyone has their
site installed?
• If so, try changing
your site title.
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”
Other CMSs?
This example is Typo3, what is your previous CMS like?
Page added
“into” site
structure
Drupal holds data
Structured data: referred to as “Content entity” types in D8.
Articles
Users
Basic
pages Comments
“
“
Terms
Blocks
Demo: Add a page
• Add a Basic page.
• Add link to menu.
• Manage menu.
Task: Add a basic page
• Add a “Basic page”.
• Link from the “Main
menu.”
• Challenge: Manage
menu or Add an article.
The Drupal Magic Trick
●
What is Content Type?
●
How Drupal's Entity Works?
●
Add a Field to...
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
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
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
Consider your design
• Limit your fields to only what you need to reuse
and display.
3 example display options
View modes
Flexibility for different conditions
With Drupal, you can reuse content intelligently.
Demo: Adding an article
• Go to Content > +Add
content.
• Select article.
• Review the form.
Content > + Add content > Article
Structured input and display
Link: a module providing a field type
Manage > Structure > Content types > Article > Manage fields
Demo: Adding a field
• Enable Link module.
• Add a new field to the
article content type.
• Test by creating an
article.
Extend > Link module
Task: Customize a content type
A. Create an article
B. Enable Link module
C. New field on Article
D. Test Articles
Building Drupal Site
●
Displaying Content
●
What is Views?
●
Create a View to List Content
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
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.
How to format & displayWhat to select & filter
Views UI
Demo: List of articles
• Add list of Articles
• Tab in main menu
Structure > Views > + Add new view
Task: Create a list of articles
• Add a view
• Select options for
Content type > Article.
• Challenge: Change
display!
Structure > Views > + Add new view
Everything is configurable
Change the image styles!
You can change the display and even the image styles, crop, etc.
Customizing Your Site
●
Change Site Name
●
Change Theme
●
Customize Theme
Core themes
Bartik: Default theme Stark: Default core markup
Currently under development
Task: Change theme
• Change to Classy or
Stark.
• Inspect markup.
What's Next?
●
Drupal and the Community
●
Online Resources
Who’s using Drupal?
drupalshowcase.com
How are they using it?
• In every industry from
large sites to small.
• In-depth case studies on
Drupal.org.
drupal.org/case-studies
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
Mobile in its DNA

Administration pages: a snap to use

New administration experience

Mobile-first Back to site button
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.
Accessibility Integration

More Semantic

Aural Alerts

Controlled Tab Order

Hidden/Invisible/On-focus

Fieldsets

jQuery UI

Alt Text

Bartik
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.
Field Power

More field types in core

Attach fields to more types of content

Entity reference, link, date, e-mail, telephone,
etc.
Views, Out of the Box

Easily customize the front page, listing
blocks, and more.

Simply create custom admin pages,
customize filters, actions, and more.
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.
Developing with Drupal 8
api.drupal.org/api/drupal/8
Building with Drupal
Contributed modules
• The majority of your
development will rely on
contributed code.
drupal.org/project/project_module
Reporting issues
• Use the Issue queue
• Search first
• Report issues
drupal.org/node/317
Open Source Software = Community
All photos by Kathleen Murtagh code sprints (CC BY 2.0)
How big is the community?
Hint: For latest data, check “d.o”
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/
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
Task: Search for modules
• Search through
contributed modules.
drupal.org/project/project_module
Online Resources

Drupal Tutorial:
 http://www.siteground.com/tutorials/drupal/
 http://www.techiestuffs.com/learn-drupal-best-d
rupal-online-resources-for-beginners-and-develo
pers/

Community Document:
 https://www.drupal.org/documentation

Drupal Code Search:
 http://www.drupalcodesearch.com/
Q&A
References
●
http://www.slideshare.net/AcquiaInc/ready-set-drupal-an-intro-to-drupal-8-part-1
●
http://www.slideshare.net/AcquiaInc/ready-set-drupal-an-intro-to-drupal-8-part-2
●
http://cmsmatrix.org/
●
https://www.drupal.org/drupal-8.0
●
http://simplytest.me/project/drupal/8.0.x
●
http://www.drupalshowcase.com/
●
http://trends.builtwith.com/cms
●
http://barcamp.hk/
●
http://cms.about.com/od/cms-basics/a/Pros-And-Cons-Of-Joomla-Wordpress-And-
Drupal.htm
●
http://www.adobe.com/sea/products/cq/web-content-management.html#wcm
●
http://www.meetup.com/drupalhk/events/207982752/
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
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

Más contenido relacionado

La actualidad más candente

Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
Rachel Vacek
 
What is SharePoint Development??
What is SharePoint Development??What is SharePoint Development??
What is SharePoint Development??
Mark Rackley
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
Rachel Vacek
 
Empower The Power User by @KerriAbraham and @SharePointWendy
Empower The Power User by @KerriAbraham and @SharePointWendyEmpower The Power User by @KerriAbraham and @SharePointWendy
Empower The Power User by @KerriAbraham and @SharePointWendy
Wendy Neal
 

La actualidad más candente (19)

HTML CSS JavaScript jQuery Training
HTML CSS JavaScript jQuery TrainingHTML CSS JavaScript jQuery Training
HTML CSS JavaScript jQuery Training
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
 
What is SharePoint Development??
What is SharePoint Development??What is SharePoint Development??
What is SharePoint Development??
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
 
Getting Started with Drupal
Getting Started with DrupalGetting Started with Drupal
Getting Started with Drupal
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
A First Look At Drupal
A First Look At DrupalA First Look At Drupal
A First Look At Drupal
 
Html5
Html5Html5
Html5
 
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD CombinationLotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Discover SharePoint 2013
Discover SharePoint 2013Discover SharePoint 2013
Discover SharePoint 2013
 
W3C Digital Publishing Interest Group Update
W3C Digital Publishing Interest Group UpdateW3C Digital Publishing Interest Group Update
W3C Digital Publishing Interest Group Update
 
Web Components v1
Web Components v1Web Components v1
Web Components v1
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
Empower The Power User by @KerriAbraham and @SharePointWendy
Empower The Power User by @KerriAbraham and @SharePointWendyEmpower The Power User by @KerriAbraham and @SharePointWendy
Empower The Power User by @KerriAbraham and @SharePointWendy
 
Web Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and TechnologiesWeb Design and Development Life Cycle and Technologies
Web Design and Development Life Cycle and Technologies
 
What is jQuery?
What is jQuery?What is jQuery?
What is jQuery?
 
Html5 with SharePoint 2010
Html5 with SharePoint 2010Html5 with SharePoint 2010
Html5 with SharePoint 2010
 
2012 - HTML5, CSS3 and jQuery with SharePoint 2010
2012 - HTML5, CSS3 and jQuery with SharePoint 20102012 - HTML5, CSS3 and jQuery with SharePoint 2010
2012 - HTML5, CSS3 and jQuery with SharePoint 2010
 

Destacado

Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Acquia
 

Destacado (15)

What is Drupal? And Why is it Useful? Webinar
What is Drupal? And Why is it Useful? WebinarWhat is Drupal? And Why is it Useful? Webinar
What is Drupal? And Why is it Useful? Webinar
 
CMS web publishing solution for a travel related website using Drupal
CMS web publishing solution for a travel related website using DrupalCMS web publishing solution for a travel related website using Drupal
CMS web publishing solution for a travel related website using Drupal
 
Developing a Communication & Knowledge management Strategy - my experience at...
Developing a Communication & Knowledge management Strategy - my experience at...Developing a Communication & Knowledge management Strategy - my experience at...
Developing a Communication & Knowledge management Strategy - my experience at...
 
The Wonderful World of Drupal 8 Multilingual
The Wonderful World of Drupal 8 MultilingualThe Wonderful World of Drupal 8 Multilingual
The Wonderful World of Drupal 8 Multilingual
 
Drupal: My Search for a CMS
Drupal: My Search for a CMSDrupal: My Search for a CMS
Drupal: My Search for a CMS
 
Introduction to Drupal features
Introduction to Drupal featuresIntroduction to Drupal features
Introduction to Drupal features
 
Content Staging in Drupal 8
Content Staging in Drupal 8Content Staging in Drupal 8
Content Staging in Drupal 8
 
Business benefits of Drupal 8
Business benefits of Drupal 8Business benefits of Drupal 8
Business benefits of Drupal 8
 
Webform and Drupal 8
Webform and Drupal 8Webform and Drupal 8
Webform and Drupal 8
 
Decoupled Drupal: What This Means for Developers
Decoupled Drupal: What This Means for DevelopersDecoupled Drupal: What This Means for Developers
Decoupled Drupal: What This Means for Developers
 
Drupal 8: The Foundation for Digital Experience and Digital Business
Drupal 8: The Foundation for Digital Experience and Digital BusinessDrupal 8: The Foundation for Digital Experience and Digital Business
Drupal 8: The Foundation for Digital Experience and Digital Business
 
Drupal 8 - A Brief Introduction
Drupal 8 - A Brief IntroductionDrupal 8 - A Brief Introduction
Drupal 8 - A Brief Introduction
 
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
Setting the Record Straight: Drupal as an Enterprise Web Content Management S...
 
Drupal end.ppt
Drupal end.pptDrupal end.ppt
Drupal end.ppt
 
What is a Content Management System or CMS
What is a Content Management System or CMSWhat is a Content Management System or CMS
What is a Content Management System or CMS
 

Similar a [HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8

Contributions: what they are and how to find them
Contributions: what they are and how to find themContributions: what they are and how to find them
Contributions: what they are and how to find them
Pedro Cambra
 
Drupal seminar at DDIT Nadiad
Drupal seminar at DDIT NadiadDrupal seminar at DDIT Nadiad
Drupal seminar at DDIT Nadiad
karmraj
 

Similar a [HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8 (20)

DruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cmsDruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cms
 
drustack a mobile-friendly web content management system (cms)
drustack   a mobile-friendly web content management system (cms)drustack   a mobile-friendly web content management system (cms)
drustack a mobile-friendly web content management system (cms)
 
Drupal 6x Installation
Drupal 6x Installation Drupal 6x Installation
Drupal 6x Installation
 
Contributions: what they are and how to find them
Contributions: what they are and how to find themContributions: what they are and how to find them
Contributions: what they are and how to find them
 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
 
Drupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.xDrupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.x
 
Introduction to the Drupal - Web Experience Toolkit
Introduction to the Drupal - Web Experience ToolkitIntroduction to the Drupal - Web Experience Toolkit
Introduction to the Drupal - Web Experience Toolkit
 
Open Innovation Lab (OIL) - 2014 Sep 26th
Open Innovation Lab (OIL) - 2014 Sep 26thOpen Innovation Lab (OIL) - 2014 Sep 26th
Open Innovation Lab (OIL) - 2014 Sep 26th
 
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 training-1-in-mumbai
Drupal training-1-in-mumbaiDrupal training-1-in-mumbai
Drupal training-1-in-mumbai
 
Twig in the Wild
Twig in the WildTwig in the Wild
Twig in the Wild
 
Online Drupal Training Syllabus
Online Drupal Training SyllabusOnline Drupal Training Syllabus
Online Drupal Training Syllabus
 
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
Drupaldelphia 2013 Presentation- Making Your Site more Friendly to Search Eng...
 
Migrating to Drupal: Open Source Library Intranets
Migrating to Drupal: Open Source Library IntranetsMigrating to Drupal: Open Source Library Intranets
Migrating to Drupal: Open Source Library Intranets
 
Web components
Web componentsWeb components
Web components
 
Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs
 
Drupal seminar at DDIT Nadiad
Drupal seminar at DDIT NadiadDrupal seminar at DDIT Nadiad
Drupal seminar at DDIT Nadiad
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8
 
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management SystemBarcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
 

Más de Wong Hoi Sing Edison

Más de Wong Hoi Sing Edison (20)

[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution][HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
 
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes][HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
 
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]
[HKOSCON][20200613][ Ansible: From VM to Kubernetes][HKOSCON][20200613][ Ansible: From VM to Kubernetes]
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]
 
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes][HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
 
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes][BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
 
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
 
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GIT[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
 
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
 
[20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team][20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team]
 
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management SystemBarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
 
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile DevelopmentCUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
 
Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
Open Innovation Lab (OIL) - 20150227 - GIT Intro WorkshopOpen Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
 
IT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong KongIT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong Kong
 
OSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for DummyOSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for Dummy
 
Barcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITBarcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GIT
 
Hong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8thHong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8th
 
Entrepreneurship Talk
Entrepreneurship TalkEntrepreneurship Talk
Entrepreneurship Talk
 
Open Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11thOpen Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11th
 
Barcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GITBarcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GIT
 
Barcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWSBarcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWS
 

Último

Último (20)

Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
Agentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdfAgentic RAG What it is its types applications and implementation.pdf
Agentic RAG What it is its types applications and implementation.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 

[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8

  • 1. Hong Kong Drupal User Group (HKDUG) Website DIY with Drupal 8 HKOSCon 2015 2015 Jun 26th
  • 2. Edison Wong ● 2005 - Drupal Developer & Contributor – https://drupal.org/user/33940 ● 2008 - HKDUG Co-founder – https://groups.drupal.org/drupalhk ● 2010 - CEO, PantaRei Design – hswong3i@pantarei-design.com
  • 3.
  • 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?
  • 14. Drupal 8 Quick Overview ● About Drupal ● Drupal Showcases ● Drupal 8 Feature Highlight ● Drupal 8 Release Status
  • 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
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 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
  • 28. Assembling Pages ● Get Your Drupal 8 Testbed! ● Let's Create a Page! ● Add Page to Main Menu ● Administrate Content
  • 29. simplytest.me  Evaluate Drupal projects online.  Just Try It!  http://simplytest.me/project/drupal/8.0.x
  • 30.
  • 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
  • 41. Consider your design • Limit your fields to only what you need to reuse and display.
  • 42. 3 example display options View modes
  • 43. Flexibility for different conditions With Drupal, you can reuse content intelligently.
  • 44. Demo: Adding an article • Go to Content > +Add content. • Select article. • Review the form. Content > + Add content > Article
  • 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
  • 49. Building Drupal Site ● Displaying Content ● What is Views? ● Create a View to List Content
  • 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
  • 56. Change the image styles! You can change the display and even the image styles, crop, etc.
  • 57. Customizing Your Site ● Change Site Name ● Change Theme ● Customize Theme
  • 58. Core themes Bartik: Default theme Stark: Default core markup Currently under development
  • 59. Task: Change theme • Change to Classy or Stark. • Inspect markup.
  • 60. What's Next? ● Drupal and the Community ● Online Resources
  • 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.
  • 68.
  • 69. Accessibility Integration  More Semantic  Aural Alerts  Controlled Tab Order  Hidden/Invisible/On-focus  Fieldsets  jQuery UI  Alt Text  Bartik
  • 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.
  • 78. Developing with Drupal 8 api.drupal.org/api/drupal/8
  • 80. Contributed modules • The majority of your development will rely on contributed code. drupal.org/project/project_module
  • 81. Reporting issues • Use the Issue queue • Search first • Report issues drupal.org/node/317
  • 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
  • 91. Online Resources  Drupal Tutorial:  http://www.siteground.com/tutorials/drupal/  http://www.techiestuffs.com/learn-drupal-best-d rupal-online-resources-for-beginners-and-develo pers/  Community Document:  https://www.drupal.org/documentation  Drupal Code Search:  http://www.drupalcodesearch.com/
  • 92. Q&A
  • 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