You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Geir Magnusson Jr." <ge...@optonline.net> on 2001/06/13 01:19:39 UTC
Re: I am having the feeling that VelocyMacros are the shity
bitofVelocity
Paulo Gaspar wrote:
>
> LOL
> I have to admit it was a bit like you say (frustration overdose, I guess).
So speak up earlier.
> Still, the macros are shity at the moment. I can't believe that no one
> else has problems with them.
Maybe they aren't 'shitty'. I and clients use them all the time, in big
systems, that demand performance, and they work like a charm. Anakia
depends upon them. Etc, etc, etc.
> The stranger issue was changing a template with a macro while the web
> server was running and then having some changes showing up, but the
> changes inside the macros not being visible at all. Velocity seems to
> cache the macros and not being aware when their source was changed. When
> developing macros that are private to a page, this is quite inconvenient.
Try reading the manual about the various switches. Things are pretty
flexible.
> For a moment, I was missing FreeMarker.
>
http://freemarker.sourceforge.net/
> Have fun,
> Paulo Gaspar
Always do.
geir
> > -----Original Message-----
> > From: Jon Stevens [mailto:jon@latchkey.com]
> > Sent: Tuesday, June 12, 2001 7:10 PM
> >
> >
> > Thanks for taking your pain out on this list. We appreciate it. :-)
> >
> > -jon
> >
> > --
> > "Open source is not available to commercial companies."
> > -Steve Ballmer, CEO Microsoft
> > <http://www.suntimes.com/output/tech/cst-fin-micro01.html>
> >
--
Geir Magnusson Jr. geirm@optonline.net
System and Software Consulting
Developing for the web? See http://jakarta.apache.org/velocity/
You have a genius for suggesting things I've come a cropper with!
RE: VelocyMacros issues (new and improved thread name)
Posted by Paulo Gaspar <pa...@krankikom.de>.
> -----Original Message-----
> From: gmj@mta2.srv.hcvlny.cv.net [mailto:gmj@mta2.srv.hcvlny.cv.net]On
> Behalf Of Geir Magnusson Jr.
>
> Paulo Gaspar wrote:
> >
> > LOL
> > I have to admit it was a bit like you say (frustration
> overdose, I guess).
>
> So speak up earlier.
Explained in prev. posting.
> > Still, the macros are shity at the moment. I can't believe that no one
> > else has problems with them.
>
> Maybe they aren't 'shitty'. I and clients use them all the time, in big
> systems, that demand performance, and they work like a charm. Anakia
> depends upon them. Etc, etc, etc.
Yes, as mentioned in the prev. posting it looks like I use them in a
different way and maybe there is even an interpretation issue.
> > The stranger issue was changing a template with a macro while the web
> > server was running and then having some changes showing up, but the
> > changes inside the macros not being visible at all. Velocity seems to
> > cache the macros and not being aware when their source was changed. When
> > developing macros that are private to a page, this is quite
> inconvenient.
>
> Try reading the manual about the various switches. Things are pretty
> flexible.
I will do that. But the question about what macros should be global remains.
> > For a moment, I was missing FreeMarker.
>
> http://freemarker.sourceforge.net/
I know, I know. I used it.
Did you notice the "For a moment" bit?
Velocity is the template engine that comes closer to what I need. I am
better helping on fixing what it still misses.
Have fun,
Paulo