Re: Bad Design? An XML Schema that forces applications to maintain state

Rick Jelliffe <[email protected]> Tue, 7 Feb 2023 14:48:42 +1100
Newsgroups gmane.text.xml.devel
Message-ID <CADUdYQUgztLQOMg5oZFMoLgEW+2v+KNVA4zZTjU6NdeAHV5NVA@mail.gmail.com>
Roger writes:

> In other words, the XML Schema forces applications to maintain state.

Not exactly: applications that do not need to use that datum do not need to
store for that elided value.

And it may be that the value of that datum is not its particular value at
any time, but that the value has changed: e.g., when we are fighting, we
don't want to continually check "are we still fighting?" but we do want to
be buzzed when it "FINISHED".

In any case, there is no general principle that maintaining state is
harmful: REST is an approach suited for (generating and implementing)
specific architectures and use-cases, in particular, for highly-scalable
server farms, but not every computer-to-computer communication fits in with
this.

Regards
Rick



>
>