Skip to content

Commit

Permalink
last pass before presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Anderson committed Apr 27, 2017
1 parent bdc40fd commit cda764e
Show file tree
Hide file tree
Showing 16 changed files with 105 additions and 39 deletions.
3 changes: 1 addition & 2 deletions content/clarity-slide.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

:::

::: section data-transition="slide-in fade-out"
![](/content/images/cilogo.jpg)
::: slide

![New Perspectives Online Screenshot](/content/images/p2s2-screens/screenshot.png)
:::
12 changes: 12 additions & 0 deletions content/feedback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
notes:
- Title Slide
---
>>> notes
- Help us get better.

>>>
## Don't forget to give me feedback

node/17242
Binary file modified content/images/p2s2-screens/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions content/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@

I am a Christian, Father, and Technology Enthusiast.

- _Online my name is_ frob (IRC, d.o, github)
- _On Twitter I am_ frobdfas
- _My Blog is_ www.frobiovox.com
- _My (really old) Website is_ www.frankrobertanderson.com
- _Online my name is_ **frob** (IRC, d.o, github)
- _On Twitter I am_ **@frobdfas**
- _My Blog is_ [www.frobiovox.com](https://www.frobiovox.com)
- _I work for_ Clarity Innovations Inc.
6 changes: 1 addition & 5 deletions content/slide-010.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

::: slide

## Prolog
## In case you are wondering

![You are here in the galaxy](https://nicspaull.files.wordpress.com/2013/10/you-are-here.jpg "You are here in the galaxy")

Expand All @@ -42,8 +42,6 @@
- UI Changes
- Module availability
- Specifically What needs to change
- Conclusion
- Appendix

>>> notes
- Prolog <-- **You are here in the session**
Expand All @@ -58,8 +56,6 @@
- UI Changes
- Module availability
- Specifically What needs to change
- Conclusion
- Appendix
>>>
:::
13 changes: 10 additions & 3 deletions content/slide-040.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,30 @@
- Don't worry I will mostly just be talking about Entities and Fields.
---

## Basic Drupal Architecture

::: slide

![Forced tutorial](http://static.tvtropes.org/pmwiki/pub/images/forcedtutorial_1678.png)

>>> notes
- Basic Drupal Architecture
- In order to make sure we are all on the same page moving forward I need to talk about some basic Drupal Architecture. If this is review for some of you, I am sorry for the unskippable tutorial level.

>>>
:::

::: slide

## Basic Drupal Content Architecture

- Entities
- Fields
- Variables

>>> notes
- Basic Drupal Architecture
- In order to make sure we are all on the same page moving forward I need to talk about some basic Drupal Architecture. If this is review for some of you, I am sorry for the unskippable tutorial level.
- Don't worry I will mostly just be talking about Entities and Fields.
- Don't worry I will mostly just be talking about Entities, Fields, and Variables.
>>>
:::
17 changes: 16 additions & 1 deletion content/slide-050.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Entities are things in Drupal; things do not have to be nodes.

::: slide

#### Bundles
#### Bundles and Fields

- A bundle is a collection of fields instances on an Entity
- A field instance is a place for complex data in a Entity Bundle
Expand All @@ -56,6 +56,8 @@ Entities are things in Drupal; things do not have to be nodes.

>>>
:::

::: slide

#### Properties
Expand All @@ -71,3 +73,16 @@ Properties are stored on the entity's table and fields are stored in their own t
>>>
:::

::: slide

#### Variables

Variables are what Drupal 7 provides for configuration --when it isn't a custom table.

>>> notes
- Variables are what Drupal 7 provides for configuration --when it isn't a custom table.

>>>
:::
4 changes: 2 additions & 2 deletions content/slide-070.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
- Speedboxes -- Allows us to check multiple checkboxes at the same time. Super useful for setting up permissions.
---

## Drupal 7 Modules Used

::: slide

## Drupal 7 Modules Used

*[Frank's list of modern site building tools](https://www.frobiovox.com/posts/2015/09/22/modern-drupal7-site-building-tools.html)*

>>> notes
Expand Down
1 change: 1 addition & 0 deletions content/slide-110.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
- Configuration Entities
- I am not going into detail about them other than to say generally that the configuration management initiative changed so much with regard to developing and deploying Drupal. All for the better. If you are committed to stick with the db-sync workflow, it still works with Drupal 8 but really learn as much as you can about configuration entities and what you can do with them. Really this could be a talk or two on this, and I don't have the time in this talk to do them justice.
- I will say that configuration entities gives drupal a place other than a random variable to store configuration and keeps developers from having to manage a bunch of tables if they needed something more complex than a simple variable could offer.
- Do I need to talk about Semantic Versioning, everyone know about it?
- Blocks
- Blocks now function much like nodes insofar as they are full fledged entities with bundles and fields.
- Blocks still have an Achilles heel in that they are both content and configuration. The content lives in the database and isn't easy to export and sync and the placement of the block is configuration and is easy to sync. This can lead to embarrassing deployment gaffs. Where the placement of a block that doesn't exist is possible. Here is a good article about avoiding that. http://valuebound.com/resources/blog/how-to-sync-blocks-between-different-environments-a-drupal-8-website
Expand Down
2 changes: 0 additions & 2 deletions content/slide-120.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ Multiple entity form settings on the Manage form display page, this includes fie

![](/content/images/manageformdisplay.png)

The "Manage Fields" page is now only about managing what fields are on a entity/bundle and how they are stored.

>>> notes
- Another change you will find between D7 and D8 I have already hinted at with the Form View. If you have a alternate node form then you will find the option for editing that form view in "Manage Form Display" section. This also means that controls for the form widgets are configured on the form view display settings and not the "Manage Fields" page. Mange Fields is now entirely about the field and its storage.

Expand Down
4 changes: 2 additions & 2 deletions content/slide-130.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
- So we do have an elephant, but it is just a baby elephant.
---

### Module Availability

::: slide

### Module Availability

![elephant in the room](http://68.media.tumblr.com/06a363a56c82b78b55dd9dc52df72174/tumblr_o2k1xwmoN91ritmyro1_500.jpg)

>>> notes
Expand Down
25 changes: 18 additions & 7 deletions content/slide-170.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ This is where the largest changes where made.
>>> notes
- Custom development
- This is where the largest changes where made, but maybe not where it was expected.
- In Drupal 7 we accomplished the HULK SMASH part, where we smash the form from the entity form into the display of the paragraphs item, with a hook_entity_view_alter implementation coupled with a hook_form_alter implementation. In Drupal 8 with its Object Oriented Architecture I was able to accomplish it in the exact same way.

>>>
Expand All @@ -43,6 +42,15 @@ This is where the largest changes where made.
- We still use hook_entity_view_alter
- We still use hook_form_alter

>>> notes
- In Drupal 7 we accomplished the HULK SMASH part, where we smash the form from the entity form into the display of the paragraphs item, with a hook_entity_view_alter implementation coupled with a hook_form_alter implementation. In Drupal 8 with its Object Oriented Architecture I was able to accomplish it in the exact same way.

>>>
:::

::: slide

![Incoming Transmission](http://i.imgur.com/vj1IG.gif)

>>> notes
Expand Down Expand Up @@ -75,14 +83,17 @@ But all good!

```php
// This creates a new eform submission.
$eform_submission = \Drupal::entityTypeManager()->getStorage('eform_submission')->create(['type' => 'multiple_choice_question']);
$eform_submission = \Drupal::entityTypeManager()
->getStorage('eform_submission')
->create(['type' => 'multiple_choice_question']);
// This loads an existing eform submission.
$submitted_eform = \Drupal::entityTypeManager()->getStorage('eform_submission')->load(2);
$submitted_eform = \Drupal::entityTypeManager()
->getStorage('eform_submission')->load(2);
// Either way we build the form with a call to the entity.form_builder service.
$form = \Drupal::service('entity.form_builder')->getForm($submitted_eform);
$form = \Drupal::service('entity.form_builder')
->getForm($submitted_eform);
// Then we append it to the render array.
$build[] = $form;

```

>>> notes
Expand All @@ -97,14 +108,14 @@ $build[] = $form;

- No more Drupal 7 non-existent entity api
- Drupal 8 has intelligent use of OOP that makes site building easier
- Over 100 lines of code in reduced to under 10
- Over 100 lines of code is reduced to under 10

![Incoming Rainbow](http://i.imgur.com/KP6cR.gif)

>>> notes
- No more Drupal 7 non-existent entity api
- Drupal 8 has intelligent use of OOP that makes site building easier
- Over 100 lines of code in reduced to under 10
- Over 100 lines of code is reduced to under 10
- Mind Blown

>>>
Expand Down
3 changes: 0 additions & 3 deletions content/slide-180.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
- Don't take things so seriously
---

## Conclusion

::: slide

- Why look at Drupal 8
Expand All @@ -30,7 +28,6 @@
- Module availability
- Specifically What needs to change
- Conclusion <-- **Achievement unlocked**
- Appendix

![Achievement Unlocked](https://s3.amazonaws.com/achgen360/t/FBZ5Ax5Q.png)

Expand Down
21 changes: 21 additions & 0 deletions content/sprint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
notes:
- Title Slide
---
>>> notes
- When are sprints
- April 24-27: Sprint Lounge at Baltimore Convention Center
- April 28: Sprint Day - General Sprints, Mentored Core Sprint, First-Time Sprinter Workshop at Baltimore Convention Center
- We also provide a 24-hour Sprinter Lounge that opens on April 24th at 7:00pm and will close on Thursday, April 27th at midnight. The Sprinter Lounge will be located at the Hilton Baltimore (401 West Pratt Street) in room Peale A-C.

>>>
## When are sprints?

April 24-27: Sprint Lounge at Baltimore Convention Center

April 28: **Sprint Day** - General Sprints, Mentored Core Sprint, **First-Time Sprinter** Workshop at Baltimore Convention Center

We also provide a 24-hour Sprinter Lounge that opens on April 24th at 7:00pm and will close on Thursday, April 27th at midnight. The Sprinter Lounge will be located at the **Hilton Baltimore (401 West Pratt Street) in room Peale A-C**.

Based on community feedback and input from the Sprint Leads, we understand the need for 'shorter sprints with greater support', and as a result will **not** be hosting Extended Weekend Sprints at this DrupalCon.
2 changes: 2 additions & 0 deletions outline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
# 16 - Content strategy
- slide-170.md # 17 - Custom Development
- slide-180.md # 18 - Conclusion
- sprint.md
- feedback.md
# 19 - Appendix
#
# - introduction.md
Expand Down
24 changes: 16 additions & 8 deletions theme/css/theme/drupalcon2017_baltimore.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ body .reveal .branding img[src="/content/images/dclogo.png"] {
height: auto;
border: none;
margin: 0 0 20px 0; }
.reveal img[alt="The Drupal learning curve"] {
max-height: 500px;
}
.reveal h1 {
width: 70%;
font-size: 2.5rem;
Expand All @@ -88,12 +91,16 @@ body .reveal .branding img[src="/content/images/dclogo.png"] {
.reveal p {
margin: 0 0 20px 0; }
.reveal ul, .reveal ol {
margin: 0 .5em;
list-style-position: inside; }
margin: 0 auto;
text-align: left;
width: 50%;
/*list-style-position: inside;*/ }
.reveal ul li, .reveal ol li {
margin: 0 0 .25em 0; }
.reveal ul li ul, .reveal ul li ol, .reveal ol li ul, .reveal ol li ol {
margin: 0; }
margin: 0 0 .25em 0;
width: 100%; }
.reveal ul li > ul, .reveal ul li > ol, .reveal ol li > ul, .reveal ol li > ol {
margin: 0 .5em;
width: 100%; }
.reveal strong, .reveal b {
font-weight: bold; }
.reveal em {
Expand Down Expand Up @@ -186,21 +193,22 @@ body .reveal .branding img[src="/content/images/dclogo.png"] {
html body:before {
content: "";
width: 100%;
height: 40px;
height: 33px;
position: absolute;
top: 0;
background-color: #00728D;
position: absolute;
}
html body:after {

/*html body:after {
content: "";
width: 100%;
height: 40px;
top: 0;
position: absolute;
-webkit-mask-box-image: url(/content/images/bg-paper-tear-white-bottom.png);
background-color: white;
}
}*/

html.baltimore-city body {
background: url("../../img/bg-baltimore-city.jpg") no-repeat 0 0;
Expand Down

0 comments on commit cda764e

Please sign in to comment.