Re: i18n and Resources

2001-02-19 Thread Jason van Zyl



 Ted Husted (a Struts commtter) and several others are trying to put together a
 proposal for a code sharing subproject/repository/something on the GENERAL list
 right now -- this sounds like another candidate for code that could be shared once
 the infrastructure of the sharing is set up.

I've been following it, I've just been quiet :-)
 
 Jason, does this also relate to the DbResources discussion recently on
 VELOCITY-DEV, or is that something different?

A little different I think: that was more about velocity related
tools, or even webapp related tools, versus general tools
like a services framework or db connection pool.

I guess it's time for me to jump into the discussion of
sharing tools :-) If I can I would like to share an
introspector between struts and velocity. I have a feeling
that the structs introspector is more complete so I
would be all for using the struts introspector and it
can probably be done :-)

jvz.




RE: i18n and Resources

2001-02-19 Thread Jason van Zyl



On Mon, 19 Feb 2001, Schachter, Michael wrote:

 Jason,
 
 I don't see why not, the general idea is the same.  Maybe there should be an
 org.apache.services package and a separate repository for this sort of
 thing?  The kind of thing where Turbine and Struts committers can both
 participate?

There's a discussion on the general list about general tools
and frameworks. I guess we should jump in there as there
is a discussion in progress!
 
 If there was collaboration, I'd prefer it not to be Struts or Turbine based.
 A framework where the community at large decides on how the interface
 methods are declared would be a powerful thing, and shouldn't be interfered
 with because different design methodologies for web applications cause
 different projects to exist.  I mean, this is open source.

There's a services framework in Avalon and there is one in
Turbine. I'm all for melding them into a single framework.
There's probably good things about both of them, I am 
only familiar with the Turbine service framework, but
I will be looking at the Avalon way soon!

jvz.




Re: i18n and Resources

2001-02-19 Thread Jason van Zyl



  I guess it's time for me to jump into the discussion of
  sharing tools :-) If I can I would like to share an
  introspector between struts and velocity. I have a feeling
  that the structs introspector is more complete so I
  would be all for using the struts introspector and it
  can probably be done :-)
 
 
 It should be feasible to share this.  The needs look to be reasonably similar.
 
 I recently refactored this family of classes to have no dependencies on other Struts
 APIs (or even on servlet APIs for that matter).  Future enhancement plans include
 support for PropertyEditor classes (to let apps customize the property--String
 translations necessary when going to and from an HTML page) and bean properties that 
are
 Collections (treating them sort of like indexed or array-based properties), which 
would
 also benefit both Velocity and Struts.

I think it's totally feasible. The idea of a pluggable introspector
came up on the vel-dev list a couple weeks ago and that's probably
a good idea and if that were done then we could probably share
the introspector that's in struts. Velocity has some non-standard
behavior like picking values out of Maps, but the introspector
proper could probably be shared without much work.

If I could get the struts introspector working in velocity
maybe we could make that the first tool placed in the
org.apache.util package! :-) We'll show them we
can play nice ;-)

jvz.