Presented by Product Director Karen Borchert from Phase2 Technology and Senior Developer Jay Callicot with Mediacurrent at DrupalCamp Atlanta. This presentation walk you through the five stages of building an app for Drupal.
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Apps: Start to Finish
1. Apps: Start to Finish
Building an App for Drupal 7 Distributions
2. Who’s Here
Karen Borchert Jay Callicott
Product Director Developer
Phase2 Technology Mediacurrent
3. Today’s Goal
Show how Mediacurrent built an Events
app for the OpenPublic distribution.
4. What is an app?
The Apps module wraps a layer of
usability (discoverability, installation,
configuration, demo content) around
existing Drupal functionality.
6. Why Apps for Distros?
➡ Keeps distributions lighter
➡ Provides specific functionality for
specific use cases
➡ Allows for multiple third party
solutions, rather than giving
preference to one
7. Five Big Steps:
1. Plan
2. Build
3. Package
4. Submit it
5. Go Live
11. Problem
➡ Most public institutions have events
➡ Institutions need a way to publicize
information about events in a way that is
accessible to the public on their web site
➡ OpenPublic does not accomplish this “out
of the box”
13. Audience
Public institutions...
➡ Nonprofit organizations
➡ Government agencies
➡ Government departments
...who regularly hold events and want to
inform the public about them.
15. Use Case: Public Institution
➡ Institution has an event to publicize.
➡ Site administrator creates an event:
➡ where
➡ when
➡ description
➡ who
➡ Event Appears on calendar.
19. Checklist #1
✓ Does it solve a specific, discrete problem?
✓ Does it solve a problem for a specific
audience?
✓ Does it solve the problem completely?
✓ Can you tweet it? (describe it in 140
characters or less)
20. “with new Events App by
@mediacurrent, public sector orgs
now have a way to publicize events
on @OpenPublic with calendar and
events listings.”
30. Checklist #2
✓ Did you seek out existing modules?
✓ Did you contribute back new modules
to Drupal.org?
✓ Is it kit compliant?
✓ Does it address the defined use cases?
40. Testing Procedure
➡ Load a fresh database (Drop old one
first)
➡ Remove everything from modules
directory except your app
➡ Have “Development server”enabled
➡ Remove everything from temp
directory / update-*
41.
42. Checklist #3
✓ Does the app install?
✓ Can you configure the app?
✓ Can you turn on and off default
content?
✓ Can you uninstall it?
✓ Does it show up everywhere it's
supposed to on installation, and
disappear as needed on uninstall?
51. Get Started
➡ Download OpenPublic Beta3
➡ Check out documentation on
community.openpublicapp.com
➡ Contact the OpenPublic and/or
OpenPublish team at Phase2