in reply to Re^8: Avoiding compound data in software and system design
in thread Avoiding compound data in software and system design
You're (still) missing the point.
No. I'm not.
What you're describing is a form of serialization.
No. It isn't Serialisation would mean that the data existed in some structured form at the application level. It doesn't. Because it doesn't need to be known at that level. The envelopes are added as you descend through the layers; information that only that layer of encapsulation is party to. Added on the way in, stripped away on the way out.
Read the RFCs. And if that's too difficult for you, start here. And make special study of the contents of the box on the right hand side.
It is that encapsulation that allows IPv6 to be inserted into the stack underneath applications, without the applications needing to know anything about it. If those envelopes existed as structures at the application level, every application would have to be modified in order to use IPv6. Say what you will about the guys that invented that stuff--they may be old and grey, but they knew what they were doing.
And what you're doing in Rose::DB, by breaking the encapsulation of DSNs is exactly analogous to that. It is unnecessary, pointless and creates work for the application programmer. Your users. The OP for instance!
I know you think you know better, but 5 years or 10 from now, the penny will drop and you'll get it. Till then, we'd best just agree to differ, because you obviously aren't getting it now.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Avoiding compound data in software and system design
by siracusa (Friar) on Apr 28, 2010 at 14:12 UTC | |
by BrowserUk (Patriarch) on Apr 29, 2010 at 11:29 UTC |