Updating Cached Front-Facing Content After Gallery Edits: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
(Created page with "== Overview == Documentation of the process of refreshing cached front-facing content after editing gallery images in the Albums CMS. == Use cases == * Add a new image to t...")
(No difference)

Revision as of 18:25, 16 September 2013

Overview

Documentation of the process of refreshing cached front-facing content after editing gallery images in the Albums CMS.

Use cases

  • Add a new image to the gallery
  • Edit an existing image in the gallery
  • Delete an existing image in the gallery
  • Click "update cache" button for the gallery
  • Update the Album's cache

Process

Adding a new image to the gallery.

  1. Click "add image" button.
    1. JavaScript handler invokes the shared AJAX script, which returns the markup for the form as JSON.
    2. Modal dialog opened with littled formDialog.js library.
  2. Form filled out and submitted.
    1. Shared AJAX handler saves image edits.