Logically related questions

From Redazione
Jump to navigation Jump to search
Line 50: Line 50:
 
How the front-end counterpart of this site is created or updated?
 
How the front-end counterpart of this site is created or updated?
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Well, while the back-end side of this platform is built upon a Apache/PHP/MySQL technology, the front-end side is built on [https://nodejs.org/en/ Node.js], eventually [https://www.nginx.com/ Nginx], and a client side Javascript framework like [https://vuejs.org/ Vue.js].  
+
Well, while the back-end side of this platform is built upon a traditional (speficially [https://www.apache.org/ Apache]/[https://www.php.net/ PHP]/[https://www.mysql.com/ MySQL] technology) the front-end side is built on [https://nodejs.org/en/ Node.js], eventually [https://www.nginx.com/ Nginx], and a client side Javascript framework based on [https://vuejs.org/ Vue.js] like [https://quasar.dev/ Quasar framework].  
  
The latter side is fueled with data retrieved from Mediawiki (a forked version with some extended features, mainly an enhanced support for pages and files with a path involving subpages/subfolders) through a Node.js script triggered every time that a page is created, edited, updated, moved and deleted, and autonomously checking the mediawiki database with a specific frequency for any other indirect change (for instance when pages are imported through the mediawiki import page, or after the execution of some maintenance script).
+
The latter side is fueled with data retrieved from Mediawiki (a forked version with some extended features, mainly an enhanced support for a non-flat namespace that is with sub-pages and sub-folders) through a Node.js script triggered every time that a page or file is created, updated, moved and deleted, and autonomously checking the mediawiki database with a specific frequency for any other indirect change (for instance when pages are imported through the mediawiki import page, or after the execution of some maintenance script). By this way, we can ensure a real time synchronization between the two sides on direct page's editing, and an accurate synchronization "within minutes" when the wiki site is updated in some indirect way.
  
By this way, we can ensure a real time synchronization between the two sides on direct page's editing, and an accurate synchronization "within minutes" when the wiki site is updated in some indirect way.
+
During this process the Node.js script performs some convoluted operation structuring data in such a way that they can be retrieved or even "consumed" by a front-end interface in a way that would be not possible without some intermediate operation and a further elaboration of data (for instance such infrastructure allows offline navigation) exposing them through an extended [[How it works/APIs|API]].
  
During this process the Node.js script performs some convoluted operation structuring data in such a way that they can be retrieved or even "consumed" by a front-end interface in a way that would be not possible without some intermediate operation and a further elaboration of data. (for instance such infrastructure allows offline navigation).
+
In short the front-end application (which of course is built ''ad hoc'' for this purpose, and is subjected to a development process completely decoupled by that of Mediawiki, even if the inter-dependency of the two is taken into account) retrieves its data through a dedicated APIs from a specific Node.js back-end, and these data are continuously updated and structured.
  
 +
 +
<!--
 
The front-end itself, however, while dynamically takes data from the Node.js back-end (as a middleware to the Mediawiki database, not directly queried), and is fundamentally decoupled by it, is created ''ad hoc'' and is just one of the possible data consumer application of the data organized by the Node.js script and exposed through a [[How it works/APIs|dedicated API]].
 
The front-end itself, however, while dynamically takes data from the Node.js back-end (as a middleware to the Mediawiki database, not directly queried), and is fundamentally decoupled by it, is created ''ad hoc'' and is just one of the possible data consumer application of the data organized by the Node.js script and exposed through a [[How it works/APIs|dedicated API]].
<!--
+
 
 
In short all the contents on the front-end site are updated in a automatic way, using the Mediawiki back-end as data source, and are displayed in an interactive way using a different technology  
 
In short all the contents on the front-end site are updated in a automatic way, using the Mediawiki back-end as data source, and are displayed in an interactive way using a different technology  
 
-->
 
-->

Revision as of 10:42, 19 July 2020

(another way of indicating "frequently asked questions" which have not yet been asked)


Why Mediawiki rather than Wordpress ?

Why a platform representing the Italian culture is conceived in English ?

How the front-end counterpart of this site is created or updated?

Why Mediawiki rather than Wordpress ? (again)