Home » U++ Library support » U++ Core » More Xmlize functions
Re: More Xmlize functions [message #25554 is a reply to message #25532] |
Mon, 01 March 2010 11:17  |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 28 February 2010 09:28 |
mdelfede wrote on Sat, 27 February 2010 17:51 | Well, mostly because I needed some processing on ctrls loading.
My xmlizers were mostly aimed to solve a concrete problem, they are not generic ones.
BTW, I think it would be good to incorporate xmlize into ctrl, and to add OnLoad / OnStore handlers, I guess it could solve most streaming issues.
Ciao
Max
|
That would mean all XML stuff gets always linked in. Something I am not really happy about...
|
Anyways, I don't think a generic ctrl Xmlizer would be very useful, at least, not a simple one. With the OnLoad/OnStore handlers( btw, you'd need a BeforeStore and AfterLoad ones, to be precise...) things would be better, but you'd have to link xml everywhere.
But, with Value xmlized now, to store/load controls becomes trivial.
A generic xmlizer would have problems, for example, with droplists which content depends/links to other controls which are in turn xmlized. On my code, most of the work is to keep in sync all that, not the streaming code itself which is really trivial.
More, In my code I store/internally use values in a single set of units (for example, Newton, mm, N/mm2, and so on) converting on the fly between textual controls contents which is user-customizable. So, when streaming in/out controls I have to perform such conversion, too.
That would be hardly achieved by a generic Xmlizer.
Ciao
Max
|
|
|
 |
|
More Xmlize functions
By: koldo on Mon, 22 February 2010 09:02
|
 |
|
Re: More Xmlize functions
By: mirek on Mon, 22 February 2010 09:16
|
 |
|
Re: More Xmlize functions
By: koldo on Mon, 22 February 2010 10:25
|
 |
|
Re: More Xmlize functions
By: mirek on Mon, 22 February 2010 12:26
|
 |
|
Re: More Xmlize functions
By: koldo on Mon, 22 February 2010 12:41
|
 |
|
Re: More Xmlize functions
By: koldo on Mon, 22 February 2010 13:19
|
 |
|
Re: More Xmlize functions
By: mdelfede on Tue, 23 February 2010 11:35
|
 |
|
Re: More Xmlize functions
By: mirek on Sat, 27 February 2010 18:09
|
 |
|
Re: More Xmlize functions
By: mdelfede on Sat, 27 February 2010 23:51
|
 |
|
Re: More Xmlize functions
By: mirek on Sun, 28 February 2010 09:28
|
 |
|
Re: More Xmlize functions
By: mdelfede on Mon, 01 March 2010 11:17
|
Goto Forum:
Current Time: Mon May 12 01:06:47 CEST 2025
Total time taken to generate the page: 0.05366 seconds
|