Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Leo Gong
Velocity or Freemarker, in Liferay?
29 de agosto de 2011 5:55
Respuesta

Leo Gong

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 3 de junio de 2011

Mensajes recientes

Hi everyone,I'm struggling to have a choice between Velocity and Freemarker.
Our company plans to create a large website using liferay ,maybe being in a clustered environment in the future.
We hope to own a powerful and flexible theme system through our modification and development .
So , which template engine will be better? Who can give me some advice?
Thanks very much!
.
Julien Bonjean
RE: Velocity or Freemarker, in Liferay?
29 de agosto de 2011 9:41
Respuesta

Julien Bonjean

Ranking: Junior Member

Mensajes: 57

Fecha de incorporación: 10 de junio de 2009

Mensajes recientes

I don't have much experience with Freemarker, but I can say it is currently a bit bugged in Liferay 6.1 (I suppose the integration is still a work in progress), whereas Velocity integration is quite robust.
David H Nebinger
RE: Velocity or Freemarker, in Liferay?
29 de agosto de 2011 10:32
Respuesta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensajes: 11315

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

Yeah, Velocity is the current standard for Liferay, but they support FM for templating and it is my understanding that they are planning to move to FM as the standard at some point in the future.

Even if they do make the switch, I'd expect some Velocity support to stay around, considering that most of the current theming work outside of Liferay is Velocity based...
Mika Koivisto
RE: Velocity or Freemarker, in Liferay?
29 de agosto de 2011 12:55
Respuesta

Mika Koivisto

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1513

Fecha de incorporación: 7 de agosto de 2006

Mensajes recientes

Velocity support in Liferay is more mature but we plan on supporting both so it's really matter of your own preference and we'd love to get feedback on how well the Freemarker themes and WCM templates work for you.
Leo Gong
RE: Velocity or Freemarker, in Liferay?
29 de agosto de 2011 21:23
Respuesta

Leo Gong

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 3 de junio de 2011

Mensajes recientes

Yeah, I also don't have much experience with Freemarker ,even being in trouble when I configure the Freemarker in liferay.
So maybe Velocity is my better choice now, considering all of your advice, but Freemarker would probably be taken into account in our other projects in the future.
Anil Sunkari
RE: Velocity or Freemarker, in Liferay?
29 de agosto de 2011 22:30
Respuesta

Anil Sunkari

Ranking: Expert

Mensajes: 427

Fecha de incorporación: 11 de agosto de 2009

Mensajes recientes

Hi Leo,

I suggest Velocity Template Engine.... as per my experience,it is quite ease in managing/utilizing template & very user friendly.

Regards,
Anil Sunkari
Mika Koivisto
RE: Velocity or Freemarker, in Liferay?
31 de agosto de 2011 10:18
Respuesta

Mika Koivisto

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1513

Fecha de incorporación: 7 de agosto de 2006

Mensajes recientes

I personally like Freemarker more because it is strict and reports errors in the template really accurately. Velocity just eats up some errors so that you might not even notice that your template is not working as you intended because of a typo in variable name etc.
Hu Jack
RE: Velocity or Freemarker, in Liferay?
16 de junio de 2013 19:52
Respuesta

Hu Jack

Ranking: New Member

Mensajes: 3

Fecha de incorporación: 13 de junio de 2013

Mensajes recientes

Hello everyone, how about now? I want to use freemarker with liferay, and I'm searching for some relative demos. Do you have some suggestions?
Really thanks.