-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
372 lines (251 loc) · 11.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>WordCamp US 2015: The Modern Web Developer's Toolbox</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/rp3-dark.css" id="theme">
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section id="title">
<h2>The Modern WordPress Developer's Toolbox</h2>
<p><a href="https://taupecat.github.io/wordpress-toolbox">https://taupecat.github.io/wordpress-toolbox</a></p>
</section>
<section>
<h2>Tracy Rotton</h2>
<ul>
<li><a href="http://twitter.com/taupecat">@taupecat</a></li>
<li>Front-End Architect for<br>
<a href="https://rp3agency.com">RP3 Agency</a> in Bethesda, Maryland</li>
</ul>
<img src="images/logo-white.svg" style="border: none; background: none; display: block; margin: 1em auto 0; width: 20%; height: auto;">
</section>
<section id="most-interesting">
<img src="images/most-interesting-wp-developer.jpg">
</section>
<section id="git">
<section>
<h2><a href="https://git-scm.com">Git</a></h2>
<p><i>Git is not something you learn in a day.<br/>
Git is something you learn over the course of your career.</i></p>
</section>
<section>
<h2>Git</h2>
<ul>
<li>Come on, it's 2015!</li>
<li>Revision control is a <i>must</i> in modern development.</li>
<li><strong>Alternatives:</strong> Subversion, Mercurial, ???</li>
<li>Meh, just use Git</li>
</ul>
</section>
<section>
<h3>Git Repository Services</h3>
<ul>
<li><a href="https://github.com/">GitHub</a></li>
<li><a href="http://beanstalkapp.com/">Beanstalk</a></li>
<li><a href="http://bitbucket.org">Atlassian Bitbucket</a></li>
<li><a href="http://aws.amazon.com/codecommit/">AWS CodeCommit</a></li>
</ul>
</section>
<section>
<figure>
<img src="http://imgs.xkcd.com/comics/git.png" title="If that doesn't fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.">
<figcaption><a href="http://xkcd.com/1597/">XKCD.com/1597</a></figcaption>
</figure>
</section>
<section>
<h2>Bonus Security #ProTip!</h2>
<code>define( 'DISALLOW_FILE_EDIT', true );</code>
</section>
</section>
<section>
<section>
<h2><a href="https://www.vagrantup.com/">Vagrant</a></h2>
<p>Virtualized development environment…</p>
<p class="fragment">…a computer inside a computer.</p>
</section>
<section>
<h3>Why use Vagrant?</h3>
<ul>
<li class="fragment">Can be configured with code.</li>
<li class="fragment">Allows for closer match with the production environment.</li>
<li class="fragment">Environments can be created and destroyed at will:</li>
</ul>
<p class="fragment">You can <code>vagrant destroy</code>,<br>
but you can never <code>vagrant forget</code>.</p>
</section>
<section>
<h3>VVV</h3>
<p><strong><a href="https://github.com/Varying-Vagrant-Vagrants/VVV">Varying Vagrant Vagrants</a>:</strong><br/>
Quickest way to get up and running with a <nobr>WordPress-optimized</nobr> Vagrant VM.</p>
</section>
</section>
<section>
<section>
<h2>Package Managers</h2>
<blockquote class="twitter-tweet" lang="en"><p lang="en" dir="ltr">bower install npm install brew install yum Wait, that’s wrong…I always forget which order the package managers are supposed to be in.</p>— I Am Devloper (@iamdevloper) <a href="https://twitter.com/iamdevloper/status/467334875876704256">May 16, 2014</a></blockquote>
</section>
<section>
<h2>Package Managers</h2>
<p class="fragment">Automates the process of installing, updating, and removing software.</p>
<p class="fragment">Retrieves code from a central repository.</p>
</section>
<section id="composer">
<h3><a href="https://getcomposer.org/">Composer</a></h3>
<img src="images/logo-composer-transparent4.png" style="width:20vw;display:block;margin:0 auto">
<ul>
<li class="fragment">Package manager for PHP</li>
<li class="fragment">Can be used to manage WordPress core and plugins</li>
</ul>
</section>
<section id="npm">
<h3><a href="https://www.npmjs.com/">NPM</a></h3>
<img src="images/npm-logo.svg" style="width:20vw;display:block;margin:0 auto">
<ul>
<li class="fragment">Node Package Manager</li>
<li class="fragment">Means to an end</li>
</ul>
</section>
<section id="bower">
<h3><a href="http://bower.io">Bower</a></h3>
<p class="fragment">Manages front-end libraries:</p>
<ul class="fragment">
<li>Sass libraries</li>
<li>FontAwesome</li>
</ul>
<p class="fragment"><strong>Don't use it for libraries that come bundled with WordPress.</strong></p>
</section>
</section>
<section>
<section id="js-task-runners">
<h3>JavaScript Task Runners</h3>
<ul>
<li class="fragment">Used to convert Sass to CSS</li>
<li class="fragment">Check your JavaScript for errors</li>
<li class="fragment">Concatenate and minify stylesheets and scripts</li>
<li class="fragment">And much, much more</li>
</ul>
</section>
<section>
<h3>JavaScript Task Runners</h3>
<ul>
<li class="fragment">Grunt.js</li>
<li class="fragment">Gulp.js</li>
<li class="fragment">Brunch.js</li>
<li class="fragment">Broccoli.js</li>
</ul>
</section>
</section>
<section id="wp-cli">
<h3><a href="http://wp-cli.org">WP-CLI</a></h3>
<ul>
<li class="fragment">Provides a command-line alternative to managing WordPress</li>
<li class="fragment">Faster than /wp-admin/</li>
<li class="fragment">Scripting!</li>
</ul>
</section>
<section id="underscores">
<h3><a href="http://underscores.me">_s</a></h3>
<ul>
<li class="fragment">Pronounced "underscores"</li>
<li class="fragment">"Starter" theme</li>
<li class="fragment">Provides base templates, functions, and classes upon which to build a custom theme.</li>
</ul>
</section>
<section id="plugin-boilerplate">
<h3><a href="https://github.com/DevinVinson/WordPress-Plugin-Boilerplate">WordPress Plugin Boilerplate</a></h3>
<p class="fragment">"A standardized, organized, object-oriented foundation for building high-quality WordPress Plugins."</p>
<p class="fragment">Like _s for themes, provides a scaffold for easily getting started building WordPress plugins.</p>
</section>
<section>
<section>
<h2>Essential Development Plugins</h2>
</section>
<section>
<h3><a href="https://wordpress.org/plugins/show-template/">Show Template</a></h3>
<p>Very simple plugin for showing you which template file WordPress is using to generate the page you're on.</p>
</section>
<section>
<h3><a href="https://wordpress.org/plugins/debug-bar/">Debug Bar</a></h3>
<p>Installs a "Debug" section in your admin bar with diagnostic information.</p>
</section>
<section>
<h3><a href="https://wordpress.org/plugins/theme-check/">Theme Check</a></h3>
<p>Makes sure your theme meets the standards required to be added to the WordPress theme repository. Makes sure your using WordPress best practices in building your theme.</p>
</section>
<section>
<h3><a href="https://wordpress.org/plugins/regenerate-thumbnails/">Regenerate Thumbnails</a></h3>
<p>Especially useful when working with responsive images, takes the images in your media library and creates different sized versions of them.</p>
</section>
<section>
<h3><a href="https://wordpress.org/plugins/wp-migrate-db/">WP Migrate DB (Pro)</a></h3>
<p>Exports your database as a MySQL data dump, does a find and replace on URLs and file paths, then allows you to save it to your computer.</p>
</section>
<!-- <section>
<h3><a href="https://wordpress.org/plugins/wordpress-importer/">WordPress Importer</a></h3>
<p>Allows you to import an XML file, such as the Theme Unit Test data.</p>
</section> -->
</section>
<section class="tweet">
<h3>Conclusion</h3>
<blockquote class="twitter-tweet" lang="en"><p lang="en" dir="ltr">Starting a basic website in 2014: 1. Install Node 2. Install Bower 3. Pick CSS framework 4. Pick responsive approach … 47. Write some HTML</p>— I Am Devloper (@iamdevloper) <a href="https://twitter.com/iamdevloper/status/517616294909464576">October 2, 2014</a></blockquote>
<p>(Same applies in 2015.)</p>
</section>
<section id="responsive-wordpress-theming">
<h2>Want to Get Responsive?</h2>
<p>Responsive WordPress Theming</p>
<p><a href="http://responsivewptheming.com">http://responsivewptheming.com</a></p>
<p><small>WCUS2015</small></p>
</section>
<section id="thank-you">
<h2>Thank You!</h2>
<h3><a href="https://twitter.com/taupecat">@taupecat</a></h3>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</body>
</html>