drupalgovcon · 2016-07-20 · pantheon.io common scenarios in drupal 7 and before “we have no...
TRANSCRIPT
![Page 1: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/1.jpg)
1
Agile Drupal 8 Builds: Doing the
Most Without PHP
DrupalGovcon July 20th, 2016
Matt Cheney & Molly Byrnes
![Page 2: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/2.jpg)
Pantheon.io
Hello to Drupalcon Govcon
2
My name is Matthew Cheney.
I work on the magical platform that is Pantheon.
I believe in the power of site building.
I worship at the altar of Earl Miles.
I helped make Panopoly for Drupal 7.
I want Drupal to be awesome for non-coders.
I know that will happen with Drupal 8.
![Page 3: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/3.jpg)
Pantheon.io
Hello to DrupalGovCon
3
My name is Molly Byrnes.
I work at Phase2 making digital visions reality.
I believe in the promise of open technology.
I managed content on the first major corporate international Drupal platform.
I helped build one of the first large Drupal 8 sites in 2015 and a Drupal 8 media platform in 2016.
![Page 4: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/4.jpg)
Pantheon.io
This is a Talk is About Making Websites
● We have content.
● We want to share the content.
● We have some time to spend.
● We need some tools to do this.
● We are going to do this right.
4
![Page 5: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/5.jpg)
Pantheon.io
And the Choices We Make Along the Way
● But we have Drupal.
● Drupal let’s us do a lot of things.
● Dream it? You can Drupal it.
● My dreams are pretty crazy.
● I just want to build a website.
5
![Page 6: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/6.jpg)
Pantheon.io
How about a Radical Idea for Development?
6
![Page 7: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/7.jpg)
The Value of CoreAren’t 237,000+
lines of PHP enough?
● Complete CMS Solution
● High Quality Codebase
● Easy to Update
7
![Page 8: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/8.jpg)
Pantheon.io
This Was Not True with Drupal 7
8
![Page 9: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/9.jpg)
Pantheon.io
And We Want Awesome Out of the Box
9
![Page 10: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/10.jpg)
Pantheon.io
I Tried to Make this Happen in Drupal
10
![Page 11: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/11.jpg)
Pantheon.io
Making Drupal 7 Out of the Box Awesome
11
![Page 12: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/12.jpg)
Pantheon.io
Panopoly Bundled Top Modules
12
![Page 13: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/13.jpg)
Pantheon.io
Which Gave Lots of Power to Site Builders
13
![Page 14: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/14.jpg)
Pantheon.io
Panopoly Improved the Admin Interface
14
![Page 15: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/15.jpg)
Pantheon.io
And Provided a WYSIWYG
15
![Page 16: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/16.jpg)
Pantheon.io
And a Ton of Other Stuff
16
![Page 17: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/17.jpg)
Pantheon.io
And a Ton of Other Stuff
17
![Page 18: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/18.jpg)
Pantheon.io
And Panopoly Got a Lot of Love
18
![Page 19: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/19.jpg)
Pantheon.io
But There Was a Lot of Complexity
19
![Page 20: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/20.jpg)
Pantheon.io
Lessons Learned from Panopoly in Drupal 7
● The more members of your core development team the better.
⌾ Panopoly had ~6. This limited the velocity of features/integrations.
● Defining configuration in code is important.
⌾ Lots of time was spent simply getting the features to work (and be extended) correctly.
● Code quality and structure vary wildly across contrib projects.
⌾ And can change from release to release! This makes coordinating new releases really tricky.
● Difficult to centralize contribution to the Panopoly ecosystem
⌾ So many different issue queues! Hard to surface issues that needed attention.
20
![Page 21: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/21.jpg)
Pantheon.io
Common Scenarios in Drupal 7 and before
● “We have no idea where this bug comes from or is inherited from in some
inconsistent way”
● “Module X has a critical bug, can’t find maintainer and now I’m cowboy
coding some weird patch fix”
● “There is a security hole in the theme layer because someone put an entire
PHP function in it and didn’t sanitize it”
● “Deployed to production and things are weird because some feature revert
override”
21
![Page 22: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/22.jpg)
Pantheon.io
Drupal 8 Gives Me Hope
22
![Page 23: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/23.jpg)
Pantheon.io
Drupal 8 Makes Much of This Better
● The more members of your core development team the better.
⌾ Drupal core has the largest number of core developers in the ecosystem
● Defining configuration in code is important.
⌾ Contribution management makes this much easier.
● Code quality and structure varies wildly across contrib projects
⌾ Drupal core provides clear patterns and structures for developers to leverage.
● Difficult to centralize contribution to the Panopoly ecosystem
⌾ https://www.drupal.org/project/issues/drupal
23
![Page 24: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/24.jpg)
Pantheon.io
Drupal 8 Dreams
24
+ Major UX initiative for the administration experience+ Brings in a lot of learnings & long term feedback from
Drupal ‘end users’+ Views in core+ Multi-lingual complete rethinking + Configuration management+ Front end templating
![Page 25: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/25.jpg)
Pantheon.io
Front End Magic
25
● Templating ● More accessible to
common practices
● Drupal themeing isn’t so specialized
● No PHP required
![Page 26: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/26.jpg)
Pantheon.io
Front End Magic
26
I know that style change seems super small but the level of PHP i’ll need to overwrite, strip and deal with because of how deep that markup is in a module file will take me an entire day to wrangle.
I had so much extra time on this integration that I added this sweet CSS animation on the transition between photos in this slider that I knew you would like it!
THEN.. NOW..
![Page 27: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/27.jpg)
Pantheon.io
So much MAGIC...
27
Integrating Pattern Library and doing exciting things are now possible
https://www.phase2technology.com/blog/introducing-pattern-lab-starter-8/
We have the technology: https://github.com/pattern-lab/edition-php-drupal-standard
https://github.com/phase2/pattern-lab-starter
https://github.com/phase2/drupal-lab
![Page 28: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/28.jpg)
Pantheon.io
Drupal 8 Out of the Box Can Be Really Good
28
![Page 29: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/29.jpg)
![Page 30: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/30.jpg)
![Page 31: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/31.jpg)
![Page 32: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/32.jpg)
Pantheon.io
Understand the contents of the box
32
![Page 33: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/33.jpg)
Pantheon.io
Help others to understand the content box
33
Let me walk you through how the default user login process works in Drupal!
We log in to our current CMS with 3 screens, we can mirror this with the new system because it’s so FLEXIBLE, right?
![Page 34: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/34.jpg)
Pantheon.io
Module Madness
34
We won’t need nearly that many and we likely accomplish a lot of that functionality with CORE. Let’s talk about your content management goals first.
Here is a list of all 120 modules on our D6 site... what is the upgrade plan for DRUPAL 8?
![Page 35: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/35.jpg)
Pantheon.io
Contrib Modules
35
● Content lists● Vanity URLs● WYSIWYG● Configuration Management
(features)
● Layout options● Social Media Logins● Special Caching ● Workflow models● Dynamic content
tricks
Drupal 7 and before Drupal 8
This is actually a pretty critical feature especially for folks transitioning from systems without this autonomy
![Page 36: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/36.jpg)
WhhaaaHAT IS A DRUPAL?!
![Page 37: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/37.jpg)
Pantheon.io
Drupal 8 Core won’t solve everything for you
37
● Goals ● Requirements● Metrics for Success● Organizational Vocabularies● Workflows● Content Model● Plan and execution strategy● .... your organizational politics around web and digital
![Page 38: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/38.jpg)
Pantheon.io
GOOOOAAAALSSSSS
38
Everything we do should be directly traceable to a goal that creates value.
![Page 39: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/39.jpg)
Pantheon.io
This is not as easy at it sounds...
39
Every project or initiative starts someone trying to explain something that doesn’t yet exist.
![Page 40: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/40.jpg)
Pantheon.io
Requirements
40
For any one ticket, there was an 8 step process followed, only 2 of which are development:
1. Review requirements across multiple documents 2. Study legacy system editorial experience3. Develop initial assumptions and questions about requirements4. Hold multiple work sessions with client to refine requirements5. Rewrite user stories, technical approach, and acceptance criteria 6. Develop functionality7. Export functionality into configuration8. Test functionality
![Page 41: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/41.jpg)
Pantheon.io
Working Back from Acceptance Criteria
41
Define the acceptance criteria for a feature and then try it out on a Drupal 8 install. There might be one part of the initial ask that needs to be removed. System should provide user registration form with fields for username, password and email.System should provide option for direct registration or RaaS (Registration as a Service) to manage user profile.System should send email with a link to user to activate the account.User should open the link in the email and activate the account for usage.
![Page 42: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/42.jpg)
Pantheon.io
Content Modeling
42
Drupal has lots of places to put things and defining what, where and how content gets stored up front and in a systematic way leads to a smoother implementation.
![Page 43: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/43.jpg)
Pantheon.io
Content Modeling Benefits
43
● Bring together key elements of the system in one place● Flesh out the ideal details within the structure available ● Share and distribute ownership of data structures and
naming earlier in project
Resources:
● https://docs.google.com/spreadsheets/d/15htLLWLguhwiuTLg_nndQNpgWVdUMy6UaR_d1q-v6iw/edit#gid=0
● https://www.palantir.net/blog/developing-drupal-sites-plan-or-perish
![Page 44: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/44.jpg)
Pantheon.io
Commitment to Solution Flexibility
44
Choice to using a mostly core system will require a strong commitment to this approach from all parties involved.
Healthy Tension
Feature match to the exact idea of how to achieve the end goal for user in optimal way.
Approximate match to original idea yet aligned with goal AND achievable using the flexible tools in Drupal core
![Page 45: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/45.jpg)
Pantheon.io
AGILE doesn’t mean NO PLAN...
45
agile means being able to move quickly and easily.
![Page 46: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/46.jpg)
46
![Page 47: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/47.jpg)
47Image by Jeffery Peachy Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
https://jeffpeachey.com/2010/12/02/measure-twice-cut-once-woodcut-for-sale/
![Page 48: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/48.jpg)
The Agile D8 Build Methodology
A Better Development Process
1. Begin development
with vanilla Drupal 8 core.
2. Build as much of your site as
possible using Drupal 8 core.
3. Add contrib projects (or
custom code) when needed.
4. Leverage power of TWIG for
customizing user experience.
5. Make an awesome website
48
^ 0. Define goals, figure out the requirements of what you actually
need to build and align stakeholders with the approach
![Page 49: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/49.jpg)
Pantheon.io
So Let’s Build Something Cool with D8
49
![Page 50: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/50.jpg)
Pantheon.io
We Had a Lot of Content to Manage
50
UserProfiles
Perks
Projects
Payment for
Backings
ProjectCategories
Blog
Videos
![Page 51: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/51.jpg)
Pantheon.io
And Some Complex Functionality
51
UserSignups
Project Search
Submitting a Project for Review
Backing a Project
Defining and Fulfilling
Perks
Post a Blog
Post a Video
![Page 52: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/52.jpg)
Pantheon.io
But We Were Able to Do Most of It With D8
52
● Article / Blog System
● Project Submission Workflow
● Project Categorization
● Project Perks and Fulfillment
● Project Backing & Payment
● User Accounts & Profiles
● TWIG based Drupal theme
![Page 53: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/53.jpg)
Our Drupal 8 Agile Site Build
53
![Page 54: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/54.jpg)
Pantheon.io
Start with the Basics
54
![Page 55: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/55.jpg)
Pantheon.io
Start with Basic Drupal 8.1
55
![Page 56: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/56.jpg)
Pantheon.io
Use the “Standard” Installation Profile
56
![Page 57: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/57.jpg)
Pantheon.io
Lookin’ Good So Far
57
![Page 58: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/58.jpg)
Pantheon.io
Add a“Project” Content Type
58
![Page 59: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/59.jpg)
Pantheon.io
Add a “Perks” Content Type
59
![Page 60: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/60.jpg)
Pantheon.io
Where We Stand
Done
● Installation
● Content Types
⌾ Projects
⌾ Perks
To Do
● Link Perks to Projects
⌾ And list them on the Project page
● Accept payment for Perks
● Support videos on Projects
60
![Page 61: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/61.jpg)
Pantheon.io
Create a View to List Projects...
61
![Page 62: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/62.jpg)
Pantheon.io
...and Give It a Conditional Filter by User
62
![Page 63: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/63.jpg)
Pantheon.io
...and Make the View an Entity Reference
63
![Page 64: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/64.jpg)
Pantheon.io
Entity References Require a “Search Field”
64
![Page 65: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/65.jpg)
Pantheon.io
Now We Can Have Perks Linked to Projects
65
![Page 66: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/66.jpg)
Pantheon.io
...and Let Users Pick from Their Projects
66
![Page 67: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/67.jpg)
Pantheon.io
Create a Block Showing Perks for a Project
67
![Page 68: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/68.jpg)
Pantheon.io
...Filtered by Project
68
![Page 69: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/69.jpg)
Pantheon.io
...for the Current Content View
69
![Page 70: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/70.jpg)
Pantheon.io
...and Place It in the Right Sidebar
70
![Page 71: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/71.jpg)
Pantheon.io
...and Place It in the Right Sidebar
71
![Page 72: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/72.jpg)
Pantheon.io
...Restricted to Project Pages
72
![Page 73: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/73.jpg)
Pantheon.io
Where We Stand
Done
● Installation
● Content Types
⌾ Projects
⌾ Perks
● Link Perks to Projects
⌾ And list them on the Project page
To Do
● Accept payment for Perks
● Support videos on Projects
73
![Page 74: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/74.jpg)
Pantheon.io
Add in Modules for Video and Payment
74
![Page 75: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/75.jpg)
Pantheon.io
Add a Video Preview to Projects
75
![Page 76: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/76.jpg)
Pantheon.io
...and Configure the Video Field
76
![Page 77: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/77.jpg)
Pantheon.io
Add a Payment Form Field to Perks
77
![Page 78: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/78.jpg)
Pantheon.io
...and Complete Its Configuration
78
![Page 79: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/79.jpg)
Pantheon.io
Simplify the Form for Users
79
![Page 80: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/80.jpg)
Pantheon.io
Final “Project” Form
80
![Page 81: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/81.jpg)
Pantheon.io
Final “Perk” Form
81
![Page 82: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/82.jpg)
Pantheon.io
Time to Theme and Trim Down the Display
82
![Page 83: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/83.jpg)
Pantheon.io
Finished Product!
83
![Page 84: DrupalGovcon · 2016-07-20 · Pantheon.io Common Scenarios in Drupal 7 and before “We have no idea where this bug comes from or is inherited from in some inconsistent way” “Module](https://reader033.vdocument.in/reader033/viewer/2022042315/5f0347ff7e708231d4087001/html5/thumbnails/84.jpg)
Closing Thoughts & QA
84