Slide 1

Slide 1 text

ExpressionEngine Workflow Noah Stokes

Slide 2

Slide 2 text

This is a raptor.

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

What do you mean by distributed?

Slide 5

Slide 5 text

What are some of the pitfalls of running EE distributed?

Slide 6

Slide 6 text

Git - The Secret Sauce

Slide 7

Slide 7 text

The Setup

Slide 8

Slide 8 text

EE in a Repo

Slide 9

Slide 9 text

Read Me 1. Create a database for the project 2. Import the contents of import-me.sql to the database 3. Modify the database credentials in sys/expressionengine/ config/database.php 4. Modify the configuration in sys/expressionengine/config/ config.php 5. Access the EE admin at http:///admin.php using: ! ! Username: admin ! ! Password: admin 6. Go to Deeploy Helper and adjust necessary EE settings 7. Dominate life!

Slide 10

Slide 10 text

Setup Your Paths $config['theme_folder_path'] = $config['tmpl_file_basepath'] = Setup a symlink to Projects dir

Slide 11

Slide 11 text

Create an $env

Slide 12

Slide 12 text

env.php

Slide 13

Slide 13 text

admin.php & index.php

Slide 14

Slide 14 text

config.php

Slide 15

Slide 15 text

database.php

Slide 16

Slide 16 text

index.sample.php config.sample.php database.sample.php Sample Files

Slide 17

Slide 17 text

.gitignore

Slide 18

Slide 18 text

Save Templates As Files

Slide 19

Slide 19 text

Work Flow

Slide 20

Slide 20 text

HTML First

Slide 21

Slide 21 text

Clone the Repo

Slide 22

Slide 22 text

Setup a Database

Slide 23

Slide 23 text

Setup MAMP

Slide 24

Slide 24 text

Remove .git files

Slide 25

Slide 25 text

Create a New Repository

Slide 26

Slide 26 text

Make a Commit

Slide 27

Slide 27 text

Integrate Our Templates

Slide 28

Slide 28 text

Example: /press/ /press/article/article-url-title

Slide 29

Slide 29 text

Example: /press/ /press/article-url-title

Slide 30

Slide 30 text

Example: {if segment_2 == ‘’} Press index goes here {if:else} Press article goes here, (where segment_2 is the url_title parameter for the entries call) {/if}

Slide 31

Slide 31 text

Commit, Commit, Commit

Slide 32

Slide 32 text

The first rule of databases is: everything is in the database once

Slide 33

Slide 33 text

EE Map + Channel - Custom Fields [ Field Type ] * Categories -------------------------------------------------------- + Home - Title Black [ Text Input ] - Title White [ Text Input } - Slideshow [ Matrix (Image, URL) ] - Handpicked Local Services [ Playa from Providers ] - From the Blog [ Playa from Blog ] - Special Offer [ Playa from Providers ]

Slide 34

Slide 34 text

Channels

Slide 35

Slide 35 text

Custom Fields

Slide 36

Slide 36 text

Categories, Snippets, Variables

Slide 37

Slide 37 text

{cat_id:category_name}

Slide 38

Slide 38 text

Staging

Slide 39

Slide 39 text

Production

Slide 40

Slide 40 text

Issues

Slide 41

Slide 41 text

Database Migrations Site Manager

Slide 42

Slide 42 text

Add Ons

Slide 43

Slide 43 text

Benefits

Slide 44

Slide 44 text

Questions?

Slide 45

Slide 45 text

Noah Stokes @motherfuton Thank You!