Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Triage Requirements in Mass Casualty Scenarios

Slide 3

Slide 3 text

A Surgeon's Guide to Plugin Development

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Surgical Aphorisms ❖ KISS - Keep It Simple (Stupid) ❖ The enemy of good is better ❖ Should you really do that? ❖ Learn from others ❖ You are "captain of the ship"

Slide 6

Slide 6 text

Keep It Simple

Slide 7

Slide 7 text

The Enemy of Good Is Better

Slide 8

Slide 8 text

Just Because You CAN Do Something; Doesn't Mean You SHOULD You Do Something?

Slide 9

Slide 9 text

Learn the Good and the Bad

Slide 10

Slide 10 text

Captain of the Ship Decisions, not options Single purpose Simple, simple, simple Scratch your own itch

Slide 11

Slide 11 text

Tools of the Trade DesktopServer PHPStorm GitHub, Bitbucket, GitLab, etc. Tower - towerapp.com Google, GitHub, WordPress forums

Slide 12

Slide 12 text

Scratching Your Own Itch ❖ What problem do I want to solve? ❖ Does a solution already exist? ❖ Do current solutions work for you? ❖ DIY

Slide 13

Slide 13 text

Plugin Development ❖ Identify scope of project ❖ Start coding, preference to OOP ❖ Ask questions ❖ Constantly lookup and learn ❖ Core is your best reference

Slide 14

Slide 14 text

Core is your friend ❖ Transients API ❖ Settings API ❖ add_action()/do_action() ❖ add_filter()/apply_filters()

Slide 15

Slide 15 text

WordPress.org Plugin Repo ❖ The Events Calendar Category Colors ❖ The Events Calendar PRO Alarm ❖ The Events Calendar User CSS ❖ The Events Calendar Outlook Import Fix ❖ Add Custom Header Images

Slide 16

Slide 16 text

My Goals for GitHub Updater ❖ Simple barrier to entry ❖ Work within core as much possible ❖ Update both plugins and themes

Slide 17

Slide 17 text

Plugin Requirements for GitHub Updater /*
 Plugin Name: GitHub Updater
 Plugin URI: https://github.com/afragen/github-updater
 Description: A plugin to automatically update GitHub, Bitbucket or GitLab hosted plugins and themes. It also allows for remote installation of plugins or themes into WordPress. Version: 1.0.0
 Author: Andy Fragen
 License: GNU General Public License v2
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Domain Path: /languages
 Text Domain: github-updater
 GitHub Plugin URI: https://github.com/afragen/github-updater
 GitHub Branch: master
 */


Slide 18

Slide 18 text

Current State of GitHub Updater ❖ Seamless updates for plugins and themes ❖ Works in single or multisite ❖ Works with GitHub, Bitbucket, and GitLab ❖ Works with public and private repositories ❖ Changelogs, readme.txt, view details, ratings, etc. ❖ Rollback for themes ❖ Settings page ❖ Allows for remote installation of plugins or themes ❖ Branch switching/re-installation for plugins/themes ❖ Integrates with iThemes Sync and InfiniteWP

Slide 19

Slide 19 text

https://github.com/afragen/github-updater

Slide 20

Slide 20 text

There's no such thing as a minor surgery; only minor surgeons.

Slide 21

Slide 21 text

http://wclax.reviews/

Slide 22

Slide 22 text

WhoAmI ❖ http://thefragens.com ❖ @andyfragen - Twitter ❖ https://github.com/afragen ❖ Day job, trauma/acute care surgeon ❖ Chief of Staff, Desert Regional Medical Center, Palm Springs, CA ❖ WordCamp sponsor and now speaker

Slide 23

Slide 23 text

Bucket List