Posted by jhodgdon on December 19, 2018 at 6:08pm
Start:
2019-01-10 10:00 - 12:00 America/Los_Angeles Organizers:
Event type:
User group meeting
We hope you can join us for the next daytime meeting of the Spokane Drupal User Group!
- When
- Thursday, January 10, 2019, 10 AM to noon
We usually meet on a Thursday morning at a library out in the Spokane Valley area. Log in and join the Spokane Drupal User Group (see sidebar on https://groups.drupal.org/spokane-wa ) to be notified of future meetings, events, and discussions (typically just a few email messages per month). - Where
- Spokane County Library - Argonne branch, 4322 N Argonne Rd, Millwood. We are currently meeting in the small conference room at the library. From the hallway, go into the library proper, past the checkout/information desk, take a right and you'll see the room on the right.
- To be reminded, sign up!
- To receive an email reminder closer to the date of the meeting, log in and click the "Sign up" button; log in and click "Cancel signup" at a later time if your schedule changes and you can no longer come. There's no obligation to come if you sign up (but we hope you will!). There's also no obligation to sign up in order to come (it's up to you if you want a reminder or not). However, the meeting could be canceled if the organizer isn't sure anyone is coming.
- What
- We spend two hours in a question and answer format, with the participants around a table, and a laptop with a projector. Come with questions about a project you're working on, something you've learned that you'd like to share with others, a desire to improve Drupal in some way (documentation, programming, design, marketing etc.), or a desire to help others with their projects and questions. Or just come and listen and observe.
- Who
- Everyone is welcome -- the only prerequisite is having some interest in Drupal. This group is usually 5-10 friendly people, with experience levels ranging from novice to expert, so you'll fit right in. Because of the size of the group, you will have time to share something you've learned, or get your questions answered, or both!
- Need a ride?
- If transportation is keeping you from attending, please log in and post a comment here. Our usual attendees come from all around the area: downtown Spokane, South Hill, Mead, Hayden, Spokane Valley, Post Falls, etc. So, we can probably find someone to give you a ride without going too much out of their way.

Comments
I’ll be there
Lord willing and the creek does not rise. I’ll be there
Meeting notes
What we talked about today:
- DrupalCon - Seattle - April 8-12, 2019 - https://events.drupal.org/seattle2019 -- Tickets are about $500 and up -- early bird discount ends Oct 31. You can attend the Friday "sprint" (work) day for free. Also, after DrupalCon you can watch the sessions on YouTube for free (at least, that's been true in the past).
- Pacific Northwest Drupal Summit - Seattle - not until 2020!
- There is a calendar for other Drupal events:
https://groups.drupal.org/events
https://www.drupal.org/sa-contrib-2019-001
(vulnerability in Phone Field module)
To subscribe, log in to drupal.org and go to
https://drupal.org/security
and there are instructions for subscribing in the sidebar.
- Consider using the core Media module in Drupal 8
https://www.drupal.org/docs/8/core/modules/media/overview
You could create a media content type that has an image and other field(s) of information.
- For a blob of text, you can use a core Long Text field and tell it to store unformatted text of unlimited length in it.
- Alternatively, you can use this module for a JSON field: https://www.drupal.org/project/json_field
- Then you can use REST to query/save the information
- And you can use Views to make a query to access the information via REST (use Views to make a REST endpoint)
Concepts:
- The "Drupal Way" to store data in the Drupal database is by using Entities and Fields
- The "Drupal Way" of retrieving/querying data from the Drupal database is by using Views
- This is why the Drupal REST module integrates with Drupal Entities and Views
Alternatives to REST:
- GraphQL -- an alternative protocol to REST
- JSON:API -- a format specification for passing data back and forth -- the Drupal JSON API module provides a query specification as well https://www.drupal.org/project/jsonapi
https://drupal.stackexchange.com/
I did a web search and came up with this page:
https://stackoverflow.com/questions/10799198/what-are-rest-resources
In Drupal terms, a "REST Resource" is generally an entity item. It's something (data) that you would be trying to access/manipulate using REST.
https://www.drupal.org/project/conversational_forms
Problems:
- This module doesn't integrate well with all the fields that Webform supplies
- It has its own token system for working with data within the chat. It doesn't do well with the Drupal system tokens
So... What to do:
a) Fix all the bugs in the existing Drupal module (hard!). Or get Shawn interested in fixing them.
b) Make your own custom module that uses the Drupal Form API to build forms (not Webform), and then attaches the JS library from Space 10 that the Conversational Forms module to convert it into a chat... but you would lose WebForm (saving/retrieving responses, UI for editing forms, etc.) References for the Form API:
- https://www.drupal.org/project/examples -- Examples project, with tons of sample code for forms
- https://www.drupal.org/docs/7/api/form-api/creating-a-builder-function-t...
- https://api.drupal.org/api/drupal/developer%21topics%21forms_api_referen...
c) File clear issues with steps to reproduce, in the Drupal module, describing what is not working. Make sure to have a grateful tone in the issue, but describe the problem you are having, and maybe the developer will fix it.
Drupal programmer - http://poplarware.com
Drupal author - http://shop.oreilly.com/product/0636920034612.do
Drupal contributor - https://www.drupal.org/u/jhodgdon