Re: Best practices for Freemarker templates and UI development

Denis Bredelet <[email protected]> Sat, 29 Nov 2014 19:32:04 +0000
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hi Shivani,

> Hi,
> 
> I am new to the Freemarker and want to know what are the best practices related to UI development, when using templates.
> 
> Are UI developers supposed to work directly with Freemarker templates(coding in FTL) or they work in their own repository(using their own tools) and then port changes to templates.

If possible designers should add FreeMarker directives in the markup. For example in a Dreamweaver HTML page.

There are things that you want to keep separate (specially macros), and these should be saved in a separate file and imported in your template.

> Also, how changes in templates are tested by UI developers, are they supposed to change Java objects too?

The Java objects are changed by the application, what do you mean?

If the application is not finished you can feed the template with values from a JSON or XML file.

— Denis.

> -- 
> Shivani Maheshwari


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user