v6.4.0-beta.1
Pre-release[6.4.0-beta.1] - 2024-01-02
First pre-release of the upcoming 6.4.0
6.4.0 version of Dédalo will introduce an important change in the Dédalo ontology. Ontology engine was founded with the hierarchy engine of version 3.0. and it was not deeply changed because it's the core engine, the kernel of Dédalo, a small change in ontology has a lot of implications.
But the ontology engine is old and it needs a totally change.
This change was on the table for years but the transition from v5 to v6 was an major refactoring of javascript and how Dédalo works with the client side and to be successful we decided to keep the old, and super stable ontology engine. Rebuild the ontology engine for v5 was not feasible and it involves double effort.
In version 6.3.0 we have finalised support for the v5 ontology, therefore it is time to change the ontology engine.
And this important change needs to be tested by the community before it release. It's a big change and it has a lots of implications.
Ontology engine was totally removed and the update move the ontology editor to usual sections and hierarchy tree. The old editor is totally removed and the process to publish an update the ontology was developed from scratch.
Is important that you test this version a non production server!
Please provide feedback in the Àgora.
Pre update
If you want to update your server you will need to prepare it.
Preparing the installation to get the ontology definition, the update needs the «ontology» tld and his definition, before update the code you will need to set the ontology tld in your config.php as:
define('DEDALO_PREFIX_TIPOS', [
'dd',
'rsc',
'ontology',
'hierarchy',
'lg',
'utoponymy',
'oh',
'ich',
'nexus',
'actv'
]);
Note
Take account that this definition may be different on your server, add «ontology» but don't touch any other tld.
And you will need to update the ontology before update your server.
Installing
🧐 IMPORTANT! Please read carefully before applying this update:
Review the config definition. Some constants was added before login at first time and some are removed.
- Constants added:
define('DEDALO_INSTALL_PATH', DEDALO_ROOT_PATH . '/install'); define('DEDALO_INSTALL_URL', DEDALO_ROOT_WEB . '/install'); define('DEDALO_API_URL', DEDALO_CORE_URL . '/api/v1/json/'); define('ONTOLOGY_SERVERS', [ [ 'name' => 'Beta Dédalo Ontology server', 'url' => 'https://master.dedalo.dev/6.4/core/api/v1/json/', 'code' => 'x3aBeta_f385_bcawAc4_fg' ] ]); define('ONTOLOGY_DATA_IO_DIR', DEDALO_INSTALL_PATH . '/import/ontology'); define('ONTOLOGY_DATA_IO_URL', DEDALO_INSTALL_URL . '/import/ontology');
Important
About ONTOLOGY_SERVERS
The beta ontology server definition will be removed at the end of the beta period, do not use this configuration on a production server.
- Constants removed:
define('STRUCTURE_SERVER_CODE', 'x3a0B4Y020Eg9w'); define('STRUCTURE_SERVER_URL', 'https://master.dedalo.dev/dedalo/core/extras/str_manager/'); define('ONTOLOGY_DOWNLOAD_DIR', DEDALO_BACKUP_PATH_ONTOLOGY . '/download'); define('STRUCTURE_DOWNLOAD_JSON_FILE', DEDALO_BACKUP_PATH_ONTOLOGY);
- Optional Only if your installation will provide a local ontologies (private ontologies that are not shared outside your installations)
In the case that you want to convert your own server as ontology provided you need to add this constant in your config defining your server code.
An ontology server can provide its ontology files to other Dédalo servers.
to do it change IS_AN_ONTOLOGY_SERVER
to true
and set your own ONTOLOGY_SERVER_CODE
.
define('IS_AN_ONTOLOGY_SERVER', false); define('ONTOLOGY_SERVER_CODE', 'Here:my_valid_code_for_Ontologies');
Best