logo       

Re: Torque 4.0 plan: msg#00001

jakarta.turbine.torque.devel

Subject: Re: Torque 4.0 plan

On 30/11/06, Henning P. Schmiedehausen <hps@xxxxxxxxxxxx> wrote:

"Joe Carter" <joe.carter@xxxxxxxxxx> writes:

>Personally I'd just have the singleton (snip...)

If you think about a singleton, please separate the singleton class
and the implementation class (don't have the static getInstance()
method and a possible private C'tor in the implementation). If you
separate these, it is possible for projects using e.g. Spring to
manage the classes through the framework.

Even better, google for 'evil singleton' and read the first few links...

Best regards
Henning

I completely agree. Allowing plug-in frameworks to work would be the
ideal.
Giving me _any_ way to extend was my main concern.
I was just a bit wary of asking for too much :-)

Cheers

Joe
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise