Page MenuHomeDevCentral

Consolidate Obsidian classes with Keruald resources
Open, NormalPublic

Description

Obsidian follows Azhàr / Keruald includes structure.

As such, some of the code can be duplicated from code already migrated to rKERUALD. Other missing methods could be migrated there, as Obsidian is a little more modern.

Event Timeline

Looking the code of keruald/databases, it's clear that it's exactly based on Obsidian consolidated design choices: Keruald Databases even use the camelCase method names introduced in Obsidian, with a WithLegacyMethods trait to stay compatible with other applications.

The only changes are:

  • code to fire the event wasn't ported, we wanted a package keruald/events for that
  • Database engine selection is done by 'engine' => 'MySQL' in Obsidian, 'engine' => MySQLiEngine::class in Keruald code