Hi,

there is an issue (#010913) about complex datatypes for persistent 
object. I don't know in deep about the disussion - but I just have an 
idea:

Wouldn't it be good to have a dedicated Datatype component? This 
component could cover things like validation, conversion (to an 
internal representation and between different representations e.g. 
degree Celsius and Farenheit), and provide datatype specific operators, 
e.g. calculating a distance between two location-related datatypes.

This component could be used in several places:

- input validation

- business objects

- persistent object

What do you think about such a component?

Have a nice day

Thomas
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to