Re: [Fwd: Re: [Rife-users] Spring]

2005-12-10 Thread Emmanuel Okyere
Like fbaube, i'm wondering what spring brings to rife that rife
doesn't already do? does it in some way make something more
easier/intuitive to do? does it bring additional features? or is it
just added in to allow people who already know spring to easily
migrate to rife?

--eokyere

On 12/10/05, Raoul Pierre [EMAIL PROTECTED] wrote:
 F Baube a écrit :

 Could anyone describe what Spring integration brings to Rife ?
 
 
 You can look at the files I just sent about l10n. I used Spring
 to do IoC for the LocaleProvider: The choice of the LocalProvider
 implementation is done from the file localesContext.xml.
 
 
 
 But Spring is a pretty big system, isn't it ?
 
 

 Yes (1.7 mo) but still acceptable.

 I'm wondering about the big picture ... because I'm very curious ...
 Rife covers _so_ much, so what does Spring offer that integrates more
 or less orthogonally.
 
 
 

 Atm, Rife only allows string injection, not object value. See
 http://rifers.org/wiki/display/RIFE/Add+full+IoC+support

 Pierre






 ___
 Rife-users mailing list
 Rife-users@uwyn.com
 http://www.uwyn.com/mailman/listinfo/rife-users

___
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users


Re: [Fwd: Re: [Rife-users] Spring]

2005-12-10 Thread Geert Bevin

Like fbaube, i'm wondering what spring brings to rife that rife
doesn't already do?
Atm, Rife only allows string injection, not object injection. So  
yes, here we still need any IoC containers such as Spring, Pico...  
And as Rife already has a Spring participant...


That's actually not entirely correct. RIFE supports injection of any  
kind of object and will try its best to convert between types. RIFE  
however supports nothing like a reference factory. We actually split  
up IoC in the two important actions:

* injection
* reference provision

Providing the references is done through participants at this time,  
since each participant has the capability of returning a value  
according to a key. You can code a reference factory participant  
yourself very easily without using any IoC container. Just return the  
values from a pre-populated map, and that's it.


There is a Spring participant for integration into existing apps, but  
also because it's a damn fine reference factoring and dependency  
resolver.


In one of the next versions I still think it's good to implement what  
is described in the URL you mention.



See http://rifers.org/wiki/display/RIFE/Add+full+IoC+support


--
Geert Bevin   Uwyn bvba
Use what you need   Avenue de Scailmont 34
http://www.uwyn.com   7170 Manage
gbevin[remove] at uwyn dot comTel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net



___
Rife-users mailing list
Rife-users@uwyn.com
http://www.uwyn.com/mailman/listinfo/rife-users