DurableDrupal / ddcmr

DurableDrupal Content Migration Rescue. An API-first decoupled fullstack JavaScript architecture with tutorials for those migrating their content from obsolete, monolithic architectures.
https://www.durabledrupal.org/
Creative Commons Attribution Share Alike 4.0 International
4 stars 0 forks source link

Initial working prototype of CWA (client web app) #2

Open victorkane opened 6 years ago

victorkane commented 6 years ago

Content modeling

Alternative 1: "Hard-coded" fully functional prototype instead of a time-consuming mock-up

One first make a hard-coded content driven prototype, with prototype level content placed in the Vuex store in order to then properly hydrate pages and components. This, in place of a mock-up, which is just a waste of time when we can so quickly prototype with Nuxt.js/Vue.js/Vuetify.js

Once this is done, the content model can be abstracted out of the fully functional prototype using UML design tools, in function of the requirements, stakeholder needs and marketing hypotheses in function of the current business model. Then the SCS and CMS implement the content model, and replace the hard coded hydration of components and pages in the Vuex store (app state).

Alternative 2: Create a scaffolded CWA without content, perform content model design, then implement and test the content model completely in the CMS and SCS

When there is a high degree of familiarity with the application domain, the content modeling may be done via design tools (i.e. UML diagrams), and content modeling can proceed directly with the CMS and SCS first.

This is what we have chosen to do here.

Initial version of CWA (following Alternative 2)

The basic objectives of the DurableDrupal Content Migration Rescue website are to:

CWA Tasks:

Once these tasks are completed, a staging instance can be set up, after which we will be able to proceed to deployment.

victorkane commented 6 years ago

Initial top-level and sub-level upsert, hydration and rendering

Upsert content to the SCS with the CMS, hydrate CWA pages and components from the SCS and render

Steps to set up dynamic sub-pages