Difference between revisions of "Separation of Concerns via API"
Jump to navigation
Jump to search
(Created page with "<graphviz> digraph rendering { sql [ label="record in the SQL database" ] page -> html page -> sql } </graphviz>") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | = Example: MediaWiki page rendering= | ||
<graphviz> | <graphviz> | ||
− | digraph | + | digraph rendering1 { |
sql [ label="record in the SQL database" ] | sql [ label="record in the SQL database" ] | ||
− | page -> html | + | page -> html [ label="render via PHP" ] |
− | page -> sql | + | page -> sql [ label="store via PHP" ] |
+ | } | ||
+ | </graphviz> | ||
+ | |||
+ | = Idea: use APIs = | ||
+ | <graphviz> | ||
+ | digraph rendering2 { | ||
+ | sql [ label="record in the SQL database" ] | ||
+ | graphDB [ label="Graph Database" ] | ||
+ | render [ label="external render service" ] | ||
+ | store [ label="external storage service" ] | ||
+ | page -> render-> html [ label="render via service" ] | ||
+ | page -> store -> database[ label="store via service" ] | ||
+ | database -> sql | ||
+ | database -> triplestore | ||
+ | database -> wikibase | ||
+ | database -> graphDB | ||
} | } | ||
</graphviz> | </graphviz> |