Skip to content

Instantly share code, notes, and snippets.

@danielepolencic
Last active April 17, 2019 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielepolencic/f62a637206d15fef4a714d22e54e2d19 to your computer and use it in GitHub Desktop.
Save danielepolencic/f62a637206d15fef4a714d22e54e2d19 to your computer and use it in GitHub Desktop.
Drupal investigation

Drupal investigation

Proposal

  • We should serve the web map from Drupal
  • We can use Drupal custom content types to store policies
  • We can use the Drupal REST API to consume policies (it's unclear the link, perhaps the code)
  • It's worth investigating what happens with the domain name. Is it pointing directly to Acquia?
  • We can store layers as content (each layer has its page and pages can be nested). However this work should be deprioritised as deemed not critical.

Questions

  • What's the link between the CMS and the policies? At the moment we use the code of the policy
  • Is the domain name pointing directly to Acquia?

Risks

  • Loading assets from Drupal is not trivial
  • No Drupal experience in the team
  • No agreement Acquia

Notes

Useful modules

Going forward

  • The recommended way to include CSS, JS and images is to create a minimal template and not a module.
  • Create an empty template for the Map View with basic CSS/JS
  • Create a custom content page with the policy
  • Port the existing app into Drupal
  • Integrate the policy selection in the map with the REST API

What I need

  • to speak to someone who has created modules with assets (Nao?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment