Conventions/code/patterns/config: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

5 October 2023

  • curprev 16:3716:37, 5 October 2023Woozle talk contribs 2,404 bytes +2,404 Created page with "I mainly use classes for storing static configuration data – unlike what Laravel does with array-per-file in a config folder, or what MediaWiki does with LocalSettings.php and global variables. This has multiple benefits, of which the main one is probably that you don't need any special loading mechanism and can refer to a config item from anywhere by invoking the class. Another is that you can set up abstract methods for things that need to be filled in b..."