Changes
Page history
Add notes about config parsing to Wiki/Software Design
authored
May 30, 2019
by
Leonard Kupper
Show whitespace changes
Inline
Side-by-side
Software-Design.md
0 → 100644
View page @
aaa03320
>>>
**Notes about the configuration files and parser:**
-
first thoughts about possible formats: INI, JSON, XML
-
readability for normal users?
-
easily parseable?
-
structure of the files: First section with general properties, following sections with page formats containing format specific properties
INI format:
-
windows specific format
-
good readability, but:
-
no native support in Java, third party lib necessary
JSON & XML:
-
not very readable for normal users
-
syntax can easily be broken unintentionally -> not parseable if broken
Instead: Java Properties?
-
native support (java.util.Properties)
-
allows same division into sections
-
easy list-like syntax similar to INI -> good readability
-
Syntax:
*section.property=value*
>>>
Leonard
\ No newline at end of file