byrokrat / autogiro

Read and write files for the swedish direct debit system autogirot.
GNU General Public License v3.0
10 stars 7 forks source link

How to store messages #22

Closed hanneskod closed 6 years ago

hanneskod commented 6 years ago

Presently we use a PHP interface. This does not feel optimal. Some other datasource would be better. A simple json collection?

Also there seems to be two ways of noting messages in Messages.php. A blast from the past? Make sure all messages are stored using the same semantics.

hanneskod commented 6 years ago

If nodes have a name (#19) then message keys can have the form layoutName.nodeName.messageId. This could in turn render the messageId node attribute currently used in MessageVisitor superfluous. That would make XML look better...

hanneskod commented 6 years ago

done..