Foren

Velocity or Freemarker, in Liferay?

Leo Gong, geändert vor 12 Jahren.

Velocity or Freemarker, in Liferay?

New Member Beiträge: 9 Beitrittsdatum: 03.06.11 Neueste Beiträge
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!
.
thumbnail
Julien Bonjean, geändert vor 12 Jahren.

RE: Velocity or Freemarker, in Liferay? (Antwort)

Junior Member Beiträge: 57 Beitrittsdatum: 10.06.09 Neueste Beiträge
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.
thumbnail
David H Nebinger, geändert vor 12 Jahren.

RE: Velocity or Freemarker, in Liferay?

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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...
Leo Gong, geändert vor 12 Jahren.

RE: Velocity or Freemarker, in Liferay?

New Member Beiträge: 9 Beitrittsdatum: 03.06.11 Neueste Beiträge
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.
thumbnail
Mika Koivisto, geändert vor 12 Jahren.

RE: Velocity or Freemarker, in Liferay?

Liferay Legend Beiträge: 1519 Beitrittsdatum: 07.08.06 Neueste Beiträge
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.
thumbnail
Anil Sunkari, geändert vor 12 Jahren.

RE: Velocity or Freemarker, in Liferay?

Expert Beiträge: 427 Beitrittsdatum: 12.08.09 Neueste Beiträge
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
thumbnail
Mika Koivisto, geändert vor 12 Jahren.

RE: Velocity or Freemarker, in Liferay?

Liferay Legend Beiträge: 1519 Beitrittsdatum: 07.08.06 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: Velocity or Freemarker, in Liferay?

New Member Beiträge: 3 Beitrittsdatum: 13.06.13 Neueste Beiträge
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.