in reply to Re^3: Display logic is driven by business rules IMHO
in thread Display logic is driven by business rules IMHO
I would say that display logic is a FILTER of what the business logic returns.Well, it's not what you can _say_, it's what you can _substantiate_ :) Take a look at this tt:
It is pseudo-English for the business requirement: "For each project in the worklist provide a URL linking to the project name"<h3>Projects</h3> <ul> [% FOREACH project IN worklist(me.id) %] <li> <a href="[% project.url %]">[% project.name %]</a> [% END %] </ul>
That is a business rule, plain and simple, and it has crept it's way out of Perl and into a quote-unquote presentation language.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: tt splits your business logic between Perl and its 'presentation language'
by Corion (Patriarch) on Jan 08, 2009 at 14:43 UTC | |
|
Re: tt splits your business logic between Perl and its 'presentation language'
by metaperl (Curate) on Jan 08, 2009 at 14:49 UTC |