{"id":512,"date":"2016-09-25T20:11:04","date_gmt":"2016-09-26T00:11:04","guid":{"rendered":"https:\/\/2016.baltimore.wordcamp.org\/?post_type=wcb_session&#038;p=512"},"modified":"2016-10-14T10:01:41","modified_gmt":"2016-10-14T14:01:41","slug":"managing-wordpress-dependencies-in-a-single-and-multisite-environment","status":"publish","type":"wcb_session","link":"https:\/\/baltimore.wordcamp.org\/2016\/session\/managing-wordpress-dependencies-in-a-single-and-multisite-environment\/","title":{"rendered":"Managing WordPress Dependencies in Single and Multisite Environments"},"content":{"rendered":"<p>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&#8217;ve just got one site to worry about, manually taking care of tracking and updating these dependencies is easy, but as soon as you&#8217;re managing multiple sites it starts to become cumbersome \u2014 and managing dependencies is especially hard when you\u2019re working with in Multisite.<\/p>\n<p>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 \u2014 the standard PHP dependency management tool \u2014 to manage your WordPress site dependencies.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;ve just got one site &hellip; <a href=\"https:\/\/baltimore.wordcamp.org\/2016\/session\/managing-wordpress-dependencies-in-a-single-and-multisite-environment\/\">Continue reading <span class=\"assistive-text\">Managing WordPress Dependencies in Single and Multisite Environments<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13816534,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1479654000,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[509],"footnotes":""},"session_track":[5049],"session_category":[],"class_list":["post-512","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-brand-content-ui"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7r8Lt-8g","session_date_time":{"date":"November 20, 2016","time":"10:00 am"},"session_speakers":[{"id":"509","slug":"deyonte-wilkinson","name":"De&#8217;Yont\u00e9 Wilkinson (Cornershop Creative)","link":"https:\/\/baltimore.wordcamp.org\/2016\/speaker\/deyonte-wilkinson\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":5,"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/512\/revisions"}],"predecessor-version":[{"id":1025,"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/512\/revisions\/1025"}],"speakers":[{"embeddable":true,"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/509"}],"author":[{"embeddable":true,"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wporg\/v1\/users\/rxnlabs"}],"wp:attachment":[{"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=512"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=512"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/baltimore.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}