Maine Drupal User Group Meeting: Tuesday, September 29, 2015

toddwoof's picture

Introduction to D8 Modules - with Matt Foster

Tuesday, September 29, 2015 at 6:00 p.m., at Energy Circle, 81 Bridge Street, Yarmouth, Maine (Sparhawk Mill).

The main focus of the talk will be on the service container, one of the major improvements to module development for D8. Services allow for a module to abstract business logic from a controller to a dedicated class that can be configured correctly for the environment (dev/test/qa/prod). I will also briefly go over "routing" AKA hook_menu functionality, so the module can map certain URL patterns to the correct controller function.

A huge benefit of modules exposing services is that other modules can leverage these services as well. The core drupal modules already expose services that will need to be leveraged, such as the database layer. Instead of calling into a function, a module can request the database service (an instance of PDO that has been configured with the connection parameters) and run queries/execute statements.

As usual, we will do a "beer swap" (entirely optional!). Bring a six pack of your favorite beer, and we'll split up and bring home whatever is left after the meeting. Energy Circle will pick up the tab for pizza.

Please let us know if you’re coming, so we can figure the pizza count. (Send a note to toddwoof or email me at todd (at) energycircle.com.)

Parking / finding the meeting: There is a gravel driveway on the left side of the mill building that leads down to a parking area behind the mill. Park there, and go up the exterior staircase on the back side of the building, right at the end of the parking lot. We’re on the third floor. You can also come in the front, if you want.

Portsmouth, NH Drupal Users: Carpool info is here: http://www.meetup.com/Seacoast-Drupal/events/224540527/

Comments

It was great seeing all of

peezy's picture

It was great seeing all of you last night. As I mentioned at the end of the meetup, the Seacoast DUG will be giving away a license to PHPStorm to the first member of the Maine DUG to attend one of our meetups in Portsmouth. If there is more than one Maine DUG member at the Meetup, we'll use a game of chance determine our winner.

Thanks again for hosting a great meetup! I look forward to the possibility of collaborating to plan a joint event in the future.

JP

New Hampshire

Group categories

Regional Audience

Group notifications

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