From: Matt B. <gud...@ya...> - 2007-04-18 18:43:19
|
--- Matt Sgarlata <Mat...@wh...> wrote: > I like net.sf.morph.integration.spring. > > I can't help but think the user-facing API of Morph > has failed to some > extent if you opted to implement a > ResourceArrayInputStreamPropertyEditor instead of a > ResourceArrayInputStreamConverter and tied that > along with a > MorphPropertyEditor :( Awww... I hope that comment was at least to some extent tongue-in-cheek. I was thinking more in terms of general-purpose Spring extensions when I wrote that. I'm about to submit it to Spring JIRA in case they want to host it (probably they won't but you never know). Also, since MorphPropertyEditor is in the sandbox such a direction was less on my mind... -Matt B > > Matt S > > Matt Benson wrote: > > --- Matt Sgarlata > > <Mat...@wh...> wrote: > > > > > >> What kind of Spring extensions were you thinking > of? > >> > > > > Well, for example, I created the > > ResourceArrayInputStream and its propertyEditor in > > net.sf.morph.util for lack of a better place to > put > > it. Actually I would like to see this stuff > somewhere > > more GP to Spring; maybe I should submit it as an > > enhancement request to the Spring core and see > where > > it goes. If they accept it we could deprecate and > > extend it or some similar strategy. :) > > > > Further, I was thinking of a FactoryBean that > would > > ease the PITA of the current strategy of including > > default converters in SDT by putting > > includeDefaultConverters in a FactoryBean property > > that would then pass that info to the constructor > in a > > "have our cake and eat it too" type scenario. > > > > Another idea we might include: a FactoryBean that > > could create a DSLDefinedCopier from inline text > and > > an accompanying Spring 2 custom tag. > > > > [SNIP] > > > >> Or if we anticipate future integrations with > other > >> packages than perhaps > >> net.sf.morph.ext.spring > >> net.sf.morph.ext.velocity > >> > >> > > > > Not bad. > > > > > >> etc > >> > >> A nice convention Spring uses when integrating > with > >> other packages is to > >> put the integration in a package that describes > the > >> type of tool its > >> integrating with. For example: > >> org.springframework.orm.hibernate > >> > >> > > > > I don't have a problem with this on principle... > hmmm, > > what about a net.sf.morph.integration.spring > package? > > IMHO this kind of captures the essence of both > > proposed package naming schemes... I'm not > convinced > > that the total number of Morph-provided extensions > > would warrant "concern-based" package names. > > > > -Matt B > > > > > >> Matt S > >> > >> Matt Benson wrote: > >> > >>> Thoughts on a good packagename in which we can > >>> > >> place > >> > >>> classes intended to support use of Morph in > >>> conjunction with the Spring framework? > >>> > >>> -Matt B > >>> > >>> > __________________________________________________ > >>> Do You Yahoo!? > >>> Tired of spam? Yahoo! Mail has the best spam > >>> > >> protection around > >> > >>> http://mail.yahoo.com > >>> > >>> > >>> > > > ------------------------------------------------------------------------- > > > >>> This SF.net email is sponsored by DB2 Express > >>> Download DB2 Express C - the FREE version of DB2 > >>> > >> express and take > >> > >>> control of your XML. No limits. Just data. Click > >>> > >> to get it now. > >> > >>> http://sourceforge.net/powerbar/db2/ > >>> _______________________________________________ > >>> morph-developer mailing list > >>> mor...@li... > >>> > >>> > > > https://lists.sourceforge.net/lists/listinfo/morph-developer > > > >>> > >>> > >> > >> > > > ------------------------------------------------------------------------- > > > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 > >> express and take > >> control of your XML. No limits. Just data. Click > to > >> get it now. > >> http://sourceforge.net/powerbar/db2/ > >> _______________________________________________ > >> morph-developer mailing list > >> mor...@li... > >> > >> > > > https://lists.sourceforge.net/lists/listinfo/morph-developer > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 > express and take > > control of your XML. No limits. Just data. Click > to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > morph-developer mailing list > > mor...@li... > > > https://lists.sourceforge.net/lists/listinfo/morph-developer > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > morph-developer mailing list > mor...@li... > https://lists.sourceforge.net/lists/listinfo/morph-developer > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |