De’Yonté Wilkinson: Managing WordPress Dependencies in Single and Multisite Environments

Continue the discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Published

November 21, 2016

Every complex development project has dependencies, and WordPress is no exception: While the core codebase takes the worry out of managing many JavaScript libraries, you still have to manage all your plugins and themes. If you’ve just got one site to worry about, manually taking care of tracking and updating these dependencies is easy, but as soon as you’re managing multiple sites it starts to become cumbersome — and managing dependencies is especially hard when you’re working with in Multisite.

There are several ways to approach managing your dependencies: You can have a zip folder of them; keep them all in a Git repo; use more advanced Git techniques like submodules or subtrees; or use something like TGM Plugin Activation library. You can also use a Composer — the standard PHP dependency management tool — to manage your WordPress site dependencies.

This session will walk you through managing your WordPress dependencies using modern tools like Git, WP-CLI, and Composer, making maintenance easier and decreasing the amount of third-party code you have to store in your repo or code management tool. You should come away knowing a few different approaches to make dependency management both less work and less prone to problems and mistakes.

Rate this:

Event

WordCamp Baltimore 2016 29

Speakers

De’Yonté Wilkinson 1

Tags

Dependencies 1
multisite 75

Language

English 4448

Download
MP4: Low, Med, High
OGG: Low
Subtitles
Subtitle this video →
Producer
%d bloggers like this: