Difference between revisions of "Separation of Concerns via API"

From BITPlan Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
= Example: MediaWiki page rendering=
 
= Example: MediaWiki page rendering=
 
<graphviz>
 
<graphviz>
digraph rendering {
+
digraph rendering1 {
 
   sql [ label="record in the SQL database" ]
 
   sql [ label="record in the SQL database" ]
 
   page -> html [ label="render via PHP" ]
 
   page -> html [ label="render via PHP" ]
Line 16: Line 16:
 
   render [ label="external render service" ]
 
   render [ label="external render service" ]
 
   store [ label="external storage service" ]
 
   store [ label="external storage service" ]
   page -> render-> html [ label="render via PHP" ]
+
   page -> render-> html [ label="render via service" ]
   page -> store -> database[ label="store via PHP" ]
+
   page -> store -> database[ label="store via service" ]
 
   database -> sql
 
   database -> sql
 
   database -> triplestore
 
   database -> triplestore

Latest revision as of 17:47, 29 April 2021

Example: MediaWiki page rendering

Idea: use APIs