Slide 1

Slide 1 text

◯◯◯ .Skeleton #phpblt 2016.01.13 @qckanemoto 1 / 29

Slide 2

Slide 2 text

@qckanemoto From Nagoya Quartet Communications #nagoyaphp #symfony_meetup 2 / 29

Slide 3

Slide 3 text

@qckanemoto Follow me right now 3 / 29

Slide 4

Slide 4 text

4 / 29

Slide 5

Slide 5 text

Buy it right now 5 / 29

Slide 6

Slide 6 text

Today's topic 6 / 29

Slide 7

Slide 7 text

7 / 29

Slide 8

Slide 8 text

WordPress Most popular CMS in the world Used by 25% of ALL websites Large variety of themes or plugins for customizing Not modern 8 / 29

Slide 9

Slide 9 text

WordPress Most popular CMS in the world Used by 25% of ALL websites Large variety of themes or plugins for customizing Not modern 9 / 29

Slide 10

Slide 10 text

Not 10 / 29

Slide 11

Slide 11 text

Not Modern 11 / 29

Slide 12

Slide 12 text

Especially, 12 / 29

Slide 13

Slide 13 text

Especially, Composer-unfriendly 13 / 29

Slide 14

Slide 14 text

Isn't your WP project like this? 14 / 29

Slide 15

Slide 15 text

WP core in git repo... 15 / 29

Slide 16

Slide 16 text

Plugins' source in git repo... 16 / 29

Slide 17

Slide 17 text

17 / 29

Slide 18

Slide 18 text

All of your own assets are: 18 / 29

Slide 19

Slide 19 text

You may want to: Install WP core via Composer Install plugins via Composer as a complete list of plugins installed Focus only our own theme's source codes composer.json 19 / 29

Slide 20

Slide 20 text

qckanemoto/ WordPress.Skeleton 20 / 29

Slide 21

Slide 21 text

WordPress.Skeleton $ composer create-project wordpress/skeleton 21 / 29

Slide 22

Slide 22 text

WP core via Composer 22 / 29

Slide 23

Slide 23 text

Plugins via Composer 23 / 29

Slide 24

Slide 24 text

Your own theme's source files! (and some additional files for skeleton mechanism.) Now, all you need to manage is $ git ls-files # some additional files for skeleton mechanism .gitignore LICENSE README.md backup/.gitkeep composer.json local-config-sample.php scripts/Installer.php wp-config.php wp-content/mu-plugins/add-skeleton-theme-directory.php wp-content/mu-plugins/index.php wp-content/plugins/.gitignore wp-content/plugins/index.php # your own theme's source files wp-content/themes/index.php wp-content/themes/my-theme/404.php wp-content/themes/my-theme/css/editor-style.css wp-content/themes/my-theme/css/ie.css wp-content/themes/my-theme/css/ie7.css wp-content/themes/my-theme/css/ie8.css wp-content/themes/my-theme/footer.php wp-content/themes/my-theme/functions.php wp-content/themes/my-theme/header.php wp-content/themes/my-theme/index.php wp-content/themes/my-theme/js/color-scheme-control.js wp-content/themes/my-theme/js/customize-preview.js wp-content/themes/my-theme/js/functions.js wp-content/themes/my-theme/js/html5.js wp-content/themes/my-theme/js/keyboard-image-navigation.js wp-content/themes/my-theme/js/skip-link-focus-fix.js wp-content/themes/my-theme/page.php wp-content/themes/my-theme/search.php wp-content/themes/my-theme/searchform.php wp-content/themes/my-theme/sidebar.php wp-content/themes/my-theme/single.php wp-content/themes/my-theme/style.css 24 / 29

Slide 25

Slide 25 text

See also https://github.com/qckanemoto/WordPress.Skeleton 25 / 29

Slide 26

Slide 26 text

Conclusion 26 / 29

Slide 27

Slide 27 text

27 / 29

Slide 28

Slide 28 text

Star it right now 28 / 29

Slide 29

Slide 29 text

Thanks :) 29 / 29