留言板

RE: Anyone uses xslt / xml framework to develop portlet under Liferay?

thumbnail
David H Nebinger,修改在11 年前。

RE: Anyone uses xslt / xml framework to develop portlet under Liferay?

Liferay Legend 帖子: 14916 加入日期: 06-9-2 最近的帖子
Shawn Li:
in JSF, view and backend logic is tightly integrated, which is not a good way to separate view, model, and backend business tiers.


Only if you design it that way. I have always maintained separate tiers in my JSF applications...
thumbnail
David H Nebinger,修改在10 年前。

RE: Anyone uses xslt / xml framework to develop portlet under Liferay?

Liferay Legend 帖子: 14916 加入日期: 06-9-2 最近的帖子
Sure, but you only do that to get to your presentation layer code (still MVC). A well designed JSF portlet will still maintain a separate set of tiers, presentation, service (business logic) and data access.

That way you do not end up w/ the tight coupling that you're worried about.