Maybe this is in the user manual somewhere, but I can't find it, and
neither can google :(
How do I convert an object back into its "raw" form?
I need this because, in a MVC framework we are working on («Cimarrón»,
spanish for maverick---and other things), I have a "search"
widget. This widget knows nothing about Modeling, but the controller
can arrange it such that it feeds off of modeling's "raw" objects, or
rows, and thus is much much faster than otherwise. The widget knows it
has an internal representation of the objet it is showing and it has a
series of parsers/printers (provided by the controller--something like
special-purpose delegates) to convert it to/from the external
representation the controller wants; in the parser, it's simply a
question of calling faultForRawRow(). How do I get the printer?
--
John Lenton (***@vialibre.org.ar) -- Random fortune:
¡Qué amable cosa es el hombre cuando es verdaderamente hombre!
-- Menandro. (343-290 A.C.) Filósofo griego.