April Seattle Drupal User Group Meeting

Events happening in the community are now at Drupal community events on www.drupal.org.
rlhawk's picture
Start: 
2016-04-21 18:00 - 19:30 America/Los_Angeles
Organizers: 
Event type: 
User group meeting

We will meet at 6 pm on Thursday, April 21

Learn about Drupal and meet local Drupal enthusiasts.

Agenda

  • Introductions
  • Announcements
  • Drupal News
  • Using Composer to Manage Project Dependencies

Event Details

Using Composer to Manage Project Dependencies

Like most modern PHP tools, Drupal has embraced Composer for managing project dependencies. All Drupal site builders and developers should have at least a rudimentary understanding of what Composer does and how to use it. This presentation will include the following topics:

  • An introduction to Composer and how to install it
  • What files and libraries make up a Drupal project
  • What a composer.json file does
  • What a vendor directory is for
  • How to use Composer Manager
  • How to install external libraries using Composer
  • How to add Drupal modules, themes, and profiles using Composer

If there's time, we can dive deeper and discuss how to generate a Drupal project using Composer, how to deploy a Composer-managed site to a new environment, and how to keep the number of files in your project's repository to a minimum, avoiding the need to commit Drupal core and contributed projects with your codebase. For those who are interested in learning more, we can schedule a follow-up meeting to explore Composer even further.

Sponsor



Meeting space is provided by Fuse IQ.

 

Thursday, April 21, 6:00pm - 7:30pm.

Northwest Worklofts, 3131 Western Ave (at Denny), Seattle

Coworking is available from 3 p.m. to 6 p.m. at Drip City (2929 1st Avenue (between Broad and Eagle); Map)

Comments

Appropriate for main meeting?

rlhawk's picture

When I proposed this presentation last month, we discussed whether it was an appropriate topic for the main monthly meeting, or if it should be presented at a separate meeting. I pushed for the latter, but have since changed my mind, since it really is content that is necessary for just about everyone who builds, or will be building, sites with Drupal 8. This presentation will be an introduction to the topic and if people want to learn more and continue the discussion, I'll schedule a follow-up event.

Composer Reading List

jdwalling's picture

Drupal Composer Reading List
https://walling.titanpad.com/ep/pad/view/ro.AaGlQNoW/latest

I will make updates as new Composer resources are found.

Permission Denied

shawn conn's picture

It looks like you need to change the permissions the link produces an error:

"Guests are not allowed to join that pad. Please sign in."

Permission made public

jdwalling's picture

Drupal Composer Resources and Articles/Screencasts/Podcasts
https://walling.titanpad.com/ep/pad/view/ro.AaGlQNoW/latest
Permission made public

Meeting tonight!

rlhawk's picture

Join us tonight for a presentation and discussion about using Composer in Drupal.

Parking may be challenging tonight (more than usual)

jcost's picture

I noticed on the way into work today that there was a sign that there is an event at Key Arena today and expect congestion after 3 pm. I couldn't find what event was happening, but just a heads up that parking lots will elevate their pricing so better to look for street parking on Western or away from that area.

Composer (happier with it)

kevin p davison's picture

Thanks @rlhawk for a great re(over)view of D8 with Composer. Kind of brought it all together for me, especially just watching the JSON file update while running "composer require" right below the file in terminal. First thing I did this AM was run "composer show" in my D8 project to see what's involved again.

Please post your slides? And @jdwalling, thanks for sharing https://walling.titanpad.com/ep/pad/view/ro.AaGlQNoW/latest

Kevin Davison, Web Development Manager

Thanks

rlhawk's picture

I'm glad you enjoyed it, Kevin, and that it cleared things up for you. Here's the link to the slides: https://docs.google.com/presentation/d/1OKMWn0aClbFK2k_18M3_nhJJVOeBdduF...

I have resources at the end of the slides, but John's list is more comprehensive, natch.

DrupalCon Composer sessions

rlhawk's picture

There are two Composer-related sessions at DruplCon next month:

Drupal.org is changing: content restructure, issue credits, Composer and more..
(https://events.drupal.org/neworleans2016/sessions/drupalorg-is-changing)

Configuration Management, Composer, Git and Drush in Drupal 8
https://events.drupal.org/neworleans2016/sessions/configuration-manageme...

More resources

rlhawk's picture

Here's a good article about Composer version constraints: https://igor.io/2013/01/07/composer-versioning.html

And there's this Drupal project template from Acquia, which is similar to drupal-composer/drupal-project: http://lightning.acquia.com/

Composer Resource List updated 4/26/2016

jdwalling's picture

I added Rick's composer resources to the Drupal Composer Resource list, everything in one place
https://walling.titanpad.com/ep/pad/view/ro.AaGlQNoW/latest

Download and use it in your workspace

The drop keeps moving along

jdwalling's picture

4/26/2016 via #drupal-pnw IRC
[14:11] {Mixologic_} jwalling dunno if you know this or not, but drupal.org is building an official composer package repository.
[14:13] {Mixologic_} jwalling : so instead of http://packagist.drupal-composer.org , you'll be able to use packages.drupal.org/8 for drupal 8 sites, and packages.drupal.org/7 for drupal 7 sites. We just got it into production yesterday and started backfilling all the project data. Its still totally alpha, so not for production use yet, but soon it'll be there.
[15:56] {Mixologic_} jwalling : actually we just sent out an email to the composer folks we've been working with. if you feel like testing, you can add a composer repository for https://packages.drupal.org/7 . The main difference is that we're trying to support future semantic versioning, so if you want the rules 2.9 module, you composer require drupal/rules ~2.9 (instead of 7.2.9 like you do with packagist.drupal-composer.org)

May SEADUG?

kevin p davison's picture

Hi, just checking to see if I should plan for a May meeting? — I know many of us are still recovering from DrupalCon NOLA!

Kevin Davison, Web Development Manager

I'm pretty sure NOLA

shawn conn's picture

I'm pretty sure NOLA takeaways was going to be the topic for discussion for May. Or at least, I remember Rick bringing it up. I know I'd be interested in discussing what everyone got out of it.

Seattle

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: