Comments below...
----- Original Message ----- From: "Ron Blaschke" <[EMAIL PROTECTED]>
To: "Matt Sgarlata" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, November 26, 2004 6:47 PM
Subject: Re: [convert] a different approach...



I've taken a quick look at your description and the source, which
looks quite promising.  Correct me if I am getting things wrong, but I
think we try to solve different problems, which is acutally a good
thing (as they might even complement each other).
If I get things right, you try to provide a framework for passing
"bean like" structures around, and convert them to their various
representations, as every library provides its own.
My focus is on trying to provide a "generic" conversion framework,
with primary focus on the type.  Eg, some libraries like to use "int,"
others prefer "short," which makes not much of a difference if all
values are, say, between 0 and 1000.
While this conversion is quite simple for some types, it can be
cumbersome for others, eg if you got a short[], but the library
prefers an int[].

Actually I'm taking on every problem that Convert was planning to take on, so short[] -> int[] is one type of conversion Morph will be able to perform. I do have a large focus in the code so far on "bean like" structures, as you put it, but I definitely will be focusing on "container like" structures as well, such as Arrays and Collections. I have been doing some fairly major refactorings this weekend, and I hope to be able to complete a 0.3 release soon. There will be more attention to "container like" structures in the upcoming 0.3 release.


I depart from Convert by also providing a Context notion as seen in the Chain package, and a Language notion, which will support languages like Velocity, JSTL EL, etc. Since Morph makes working with "bean like" structures so easy, I thought the Context and Language abstractions would be good to include. Context I definitely want in version 1.0, but Language may wait for a later release. I want to get 1.0 out-the-door as quickly as possible so we can all start using it :)

Ron

Matt




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to