Re: Best practices for Freemarker templates and UI development
Daniel Dekany <[email protected]> Sat, 29 Nov 2014 14:00:25 +0100
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
There's no ultimate answer for that, and it depends on the project (how complex the UI will be, how reusable in needs to be, etc) and the members. One approach is that developers start to develop the application with a very very basic UI (just plain HTML) that they write, not the designers. That basic UI should contains all the information that needs to be displayed. That means that when the UI developer comes, the FreeMarker data-model will already contain the data that need to be displayed (even if it's just mock data). The important thing here is that there's a mutual understanding in what exactly the data model contains (and what's still missing from it). Then you can just switch between visual design iterations (or back to the basic "plain HTML" design) as you wish. But it's an important question what backround the UI developers have. If they know nothing about programming, probably they can only use the most basic FTL features without doing horrid things. Then maybe they should just create some static example pages, and then a developer with some HTML/CSS knowledge FTL-ises them later. Of course, this makes design iterations more expensive... Friday, November 28, 2014, 11:34:51 PM, shivani maheshwari wrote: > 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. > > Also, how changes in templates are tested by UI developers, are > they supposed to change Java objects too? > -- Thanks, Daniel Dekany ------------------------------------------------------------------------------ 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