You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Konstantin Priblouda <kp...@yahoo.com> on 2004/04/29 12:22:59 UTC

VelocityEngine enhancement proposal

Hi all,
I would like  to propose small change to
VelocityEngine.

Please, add constructors corresponding to init
methods. 
This way VelocityEngine could be used in IoC type 3
containers without need to write stupid 5-line
wrappers all the time... 


regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: VelocityEngine enhancement proposal

Posted by Will Glass-Husain <wg...@forio.com>.
Seems ok to me.  Most times this'll be in an "init" block of the code, or in
the template merge part of the code (for a 1 shot merge).  There's likely to
be an exception try/catch there anyway.

WILL

----- Original Message ----- 
From: "Geir Magnusson Jr" <ge...@4quarters.com>
To: "Velocity Developers List" <ve...@jakarta.apache.org>
Sent: Thursday, April 29, 2004 3:50 PM
Subject: Re: VelocityEngine enhancement proposal



On Apr 29, 2004, at 6:48 PM, Geir Magnusson Jr wrote:

>
> On Apr 29, 2004, at 4:37 PM, Will Glass-Husain wrote:
>
>> Hi Konstantin,
>>
>> Seems like a good idea to me.  Geir's an IOC fan, maybe we can get
>> him to
>> commit this.
>>
>> Can you file the request in Bugzilla?  Then there will be a record of
>> this
>> request.
>>
>
> I'll just hammer this thing in right now...

Thinking about it - anyone mind if the CTOR throws an exception,
because they will...

>
> (hope the love of IoC remains when we discuss logging :D)
>
> geir
>
>> http://nagoya.apache.org/bugzilla
>>
>> WILL
>>
>> ----- Original Message -----
>> From: "Konstantin Priblouda" <kp...@yahoo.com>
>> To: <ve...@jakarta.apache.org>
>> Sent: Thursday, April 29, 2004 3:22 AM
>> Subject: VelocityEngine enhancement proposal
>>
>>
>>> Hi all,
>>> I would like  to propose small change to
>>> VelocityEngine.
>>>
>>> Please, add constructors corresponding to init
>>> methods.
>>> This way VelocityEngine could be used in IoC type 3
>>> containers without need to write stupid 5-line
>>> wrappers all the time...
>>>
>>>
>>> regards,
>>>
>>> =====
>>> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
>>> Zu Verstärkung meines Teams suche ich ab Sofort einen
>>> Softwareentwickler[In] für die Festanstellung.
>>> Arbeitsort: Mainz
>>> Skills:  Programieren, Kentnisse in OpenSource-Bereich
>>> ----[ http://www.pribluda.de ]------------------------
>>>
>>>
>>>
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> Win a $20,000 Career Makeover at Yahoo! HotJobs
>>> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
>>
> -- 
> Geir Magnusson Jr                                   203-247-1713(m)
> geir@4quarters.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: VelocityEngine enhancement proposal

Posted by Geir Magnusson Jr <ge...@4quarters.com>.
done

On Apr 29, 2004, at 6:50 PM, Geir Magnusson Jr wrote:

>
> On Apr 29, 2004, at 6:48 PM, Geir Magnusson Jr wrote:
>
>>
>> On Apr 29, 2004, at 4:37 PM, Will Glass-Husain wrote:
>>
>>> Hi Konstantin,
>>>
>>> Seems like a good idea to me.  Geir's an IOC fan, maybe we can get  
>>> him to
>>> commit this.
>>>
>>> Can you file the request in Bugzilla?  Then there will be a record  
>>> of this
>>> request.
>>>
>>
>> I'll just hammer this thing in right now...
>
> Thinking about it - anyone mind if the CTOR throws an exception,  
> because they will...
>
>>
>> (hope the love of IoC remains when we discuss logging :D)
>>
>> geir
>>
>>> http://nagoya.apache.org/bugzilla
>>>
>>> WILL
>>>
>>> ----- Original Message -----
>>> From: "Konstantin Priblouda" <kp...@yahoo.com>
>>> To: <ve...@jakarta.apache.org>
>>> Sent: Thursday, April 29, 2004 3:22 AM
>>> Subject: VelocityEngine enhancement proposal
>>>
>>>
>>>> Hi all,
>>>> I would like  to propose small change to
>>>> VelocityEngine.
>>>>
>>>> Please, add constructors corresponding to init
>>>> methods.
>>>> This way VelocityEngine could be used in IoC type 3
>>>> containers without need to write stupid 5-line
>>>> wrappers all the time...
>>>>
>>>>
>>>> regards,
>>>>
>>>> =====
>>>> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
>>>> Zu Verstärkung meines Teams suche ich ab Sofort einen
>>>> Softwareentwickler[In] für die Festanstellung.
>>>> Arbeitsort: Mainz
>>>> Skills:  Programieren, Kentnisse in OpenSource-Bereich
>>>> ----[ http://www.pribluda.de ]------------------------
>>>>
>>>>
>>>>
>>>>
>>>> __________________________________
>>>> Do you Yahoo!?
>>>> Win a $20,000 Career Makeover at Yahoo! HotJobs
>>>> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail:  
>>>> velocity-dev-help@jakarta.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>>
>>>
>> -- 
>> Geir Magnusson Jr                                   203-247-1713(m)
>> geir@4quarters.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
>>
> -- 
> Geir Magnusson Jr                                   203-247-1713(m)
> geir@4quarters.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: VelocityEngine enhancement proposal

Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Apr 29, 2004, at 6:48 PM, Geir Magnusson Jr wrote:

>
> On Apr 29, 2004, at 4:37 PM, Will Glass-Husain wrote:
>
>> Hi Konstantin,
>>
>> Seems like a good idea to me.  Geir's an IOC fan, maybe we can get 
>> him to
>> commit this.
>>
>> Can you file the request in Bugzilla?  Then there will be a record of 
>> this
>> request.
>>
>
> I'll just hammer this thing in right now...

Thinking about it - anyone mind if the CTOR throws an exception, 
because they will...

>
> (hope the love of IoC remains when we discuss logging :D)
>
> geir
>
>> http://nagoya.apache.org/bugzilla
>>
>> WILL
>>
>> ----- Original Message -----
>> From: "Konstantin Priblouda" <kp...@yahoo.com>
>> To: <ve...@jakarta.apache.org>
>> Sent: Thursday, April 29, 2004 3:22 AM
>> Subject: VelocityEngine enhancement proposal
>>
>>
>>> Hi all,
>>> I would like  to propose small change to
>>> VelocityEngine.
>>>
>>> Please, add constructors corresponding to init
>>> methods.
>>> This way VelocityEngine could be used in IoC type 3
>>> containers without need to write stupid 5-line
>>> wrappers all the time...
>>>
>>>
>>> regards,
>>>
>>> =====
>>> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
>>> Zu Verstärkung meines Teams suche ich ab Sofort einen
>>> Softwareentwickler[In] für die Festanstellung.
>>> Arbeitsort: Mainz
>>> Skills:  Programieren, Kentnisse in OpenSource-Bereich
>>> ----[ http://www.pribluda.de ]------------------------
>>>
>>>
>>>
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> Win a $20,000 Career Makeover at Yahoo! HotJobs
>>> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
>>
> -- 
> Geir Magnusson Jr                                   203-247-1713(m)
> geir@4quarters.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: VelocityEngine enhancement proposal

Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Apr 29, 2004, at 4:37 PM, Will Glass-Husain wrote:

> Hi Konstantin,
>
> Seems like a good idea to me.  Geir's an IOC fan, maybe we can get him 
> to
> commit this.
>
> Can you file the request in Bugzilla?  Then there will be a record of 
> this
> request.
>

I'll just hammer this thing in right now...

(hope the love of IoC remains when we discuss logging :D)

geir

> http://nagoya.apache.org/bugzilla
>
> WILL
>
> ----- Original Message -----
> From: "Konstantin Priblouda" <kp...@yahoo.com>
> To: <ve...@jakarta.apache.org>
> Sent: Thursday, April 29, 2004 3:22 AM
> Subject: VelocityEngine enhancement proposal
>
>
>> Hi all,
>> I would like  to propose small change to
>> VelocityEngine.
>>
>> Please, add constructors corresponding to init
>> methods.
>> This way VelocityEngine could be used in IoC type 3
>> containers without need to write stupid 5-line
>> wrappers all the time...
>>
>>
>> regards,
>>
>> =====
>> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
>> Zu Verstärkung meines Teams suche ich ab Sofort einen
>> Softwareentwickler[In] für die Festanstellung.
>> Arbeitsort: Mainz
>> Skills:  Programieren, Kentnisse in OpenSource-Bereich
>> ----[ http://www.pribluda.de ]------------------------
>>
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> Win a $20,000 Career Makeover at Yahoo! HotJobs
>> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: VelocityEngine enhancement proposal

Posted by Will Glass-Husain <wg...@forio.com>.
Hi Konstantin,

Seems like a good idea to me.  Geir's an IOC fan, maybe we can get him to
commit this.

Can you file the request in Bugzilla?  Then there will be a record of this
request.

http://nagoya.apache.org/bugzilla

WILL

----- Original Message ----- 
From: "Konstantin Priblouda" <kp...@yahoo.com>
To: <ve...@jakarta.apache.org>
Sent: Thursday, April 29, 2004 3:22 AM
Subject: VelocityEngine enhancement proposal


> Hi all,
> I would like  to propose small change to
> VelocityEngine.
>
> Please, add constructors corresponding to init
> methods.
> This way VelocityEngine could be used in IoC type 3
> containers without need to write stupid 5-line
> wrappers all the time...
>
>
> regards,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verstärkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] für die Festanstellung.
> Arbeitsort: Mainz
> Skills:  Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org