Hi,
Presuming that you are designing an application layer's objects (COM or Java it doesn't matter) which are going to
send data back to a presentation layer (ASP/JSP etc)
Is it a good idea to send all the data back in the form of XML? and maybe shape it into whatever using XSL?
Or is this just extra work (by the objects) that isn't really needed? and therefore be ignored .....
I'm a bit confused and need to know if this is the way I _should_ be designing my objects or not. Is this considered good OO practice these days??? (I'm a bit rusty
)
Thinking about it I wonder if it is .. unless you are coding a site which is going to be viewed by different viewers/browsers (i.e WAP, HTML etc) then surely there isn't much point?
Kleel
Presuming that you are designing an application layer's objects (COM or Java it doesn't matter) which are going to
send data back to a presentation layer (ASP/JSP etc)
Is it a good idea to send all the data back in the form of XML? and maybe shape it into whatever using XSL?
Or is this just extra work (by the objects) that isn't really needed? and therefore be ignored .....
I'm a bit confused and need to know if this is the way I _should_ be designing my objects or not. Is this considered good OO practice these days??? (I'm a bit rusty
Thinking about it I wonder if it is .. unless you are coding a site which is going to be viewed by different viewers/browsers (i.e WAP, HTML etc) then surely there isn't much point?
Kleel