You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Rafal Krzewski <Ra...@e-point.pl> on 2001/04/18 20:09:36 UTC

Proposals...

Hello

Two proposals have been added - Browser window bound session context
and Unified Templating Service. Please read them and tell what you
think.

Rafal
 
--
Rafal Krzewski
Senior Internet Developer
mailto:Rafal.Krzewski@e-point.pl
+48 22 8534830 http://e-point.pl

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


Re: Proposals...

Posted by Rafal Krzewski <Ra...@e-point.pl>.
Jason van Zyl wrote:
> 1) Performance issues of having to convert a general Map into
>    the specific context for every request. Daniel suggested exactly
>    what you are now while he was trying to convert Helm from WM
>    to Velocity and the potential performance problem struck me.

I propose that we use an interface, and the templating services 
define proxy classes that implement this, and delegate calls to
templating toolkint native context object. This would mean a cost
of an extra call on every get/put on the application side. I think
this is not very bad.

> 2) Chained contexts in velocity. I suppose we could easily make
>    a chained type system as well. Just thought I would mention
>    it.

Would it be easy/effective to make it work on other templating engines,
or is that Velocity specific? (I'm sorry I don't what you mean exactly)

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:Rafal.Krzewski@e-point.pl
+48 22 8534830 http://e-point.pl

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


Re: Proposals...

Posted by Jason van Zyl <jv...@apache.org>.
Rafal Krzewski wrote:
> 
> Hello
> 
> Two proposals have been added - Browser window bound session context
> and Unified Templating Service. Please read them and tell what you
> think.

Two things just off the top of my head to think about, they
may not be serious issue but while I'm thinking about it ...

1) Performance issues of having to convert a general Map into
   the specific context for every request. Daniel suggested exactly
   what you are now while he was trying to convert Helm from WM
   to Velocity and the potential performance problem struck me.

2) Chained contexts in velocity. I suppose we could easily make
   a chained type system as well. Just thought I would mention
   it.

-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://tambora.zenplex.org

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