views:

62

answers:

4

I need to work with a Web Designer so...

Can you suggest me any?

Thanks in advance

FYI:

Zope's TAL

The Template Attribute Language (TAL) is a templating language used to generate dynamic HTML and XML pages. Its main goal is to simplify the collaboration between programmers and designers. This is achieved by embedding TAL statements inside valid HTML(or XML, respectively) tags which can then be worked on using common design tools.

Genshi

Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web.

The main feature is a template language that is smart about markup: unlike conventional template languages that only deal with bytes and (if you're lucky) characters, Genshi knows the difference between tags, attributes, and actual text nodes, and uses that knowledge to your advantage.

NOTE: The key feature here is:

This is achieved by embedding TAL (or Genshi) statements inside valid HTML(or XML, respectively) tags which can then be worked on using common design tools

Example: Genshi:

<div>
  <b py:if="foo">${bar}</b>
</div>

TAL:

<h1 tal:content="string:Some altogether different headline">
The headline visible to the designer
</h1>
A: 

http://html-tmpl-java.sourceforge.net/
http://www.stringtemplate.org/
http://www.freemarker.org/
http://www.jamon.org/

I haven't used or know anything about any of these, just a few G-searches

Brian Huenefeld
Ok, thanks. I'll take a look...
Aito
In a quickview, none of your suggestions is close to Genshi/TAL features. Thanks, anyway.
Aito
http://www.grails.org/plugin/grails-template-engine is a more genshi like plugin to a popular java web framework
Brian Huenefeld
A: 

Checkout FreeMarker or Apache Velocity.

FreeMarker is more advanced but a little complex as compared to Apache Velocity.

Faisal Feroz
Thanks! I like very much Velocity, and was my first choice. But I (we) need something more oriented to the designer work. thanks again.
Aito
+2  A: 

You can also check Apache Tapestry. It is more of a web framework than a HTML templating engine but has similar functionality that you need.

Tingu
Thanks! that is what I need.
Aito
A: 

Just adding another framework similar to Tapestry... wicket, which has the feature that I asked for, too.

For a comparison between Tapestry and Wicket see this article.

Aito