groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8318) Implement Groovy Template Engine For Spring 5
Date Fri, 15 Sep 2017 00:58:00 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16167177#comment-16167177
] 

Jason Yu commented on GROOVY-8318:
----------------------------------

I'm sorry that I didn't explained. Spring 5 announce WebFlux module. It has MVC architecture
just similar to WebMVC module. But it based on reactive programming (Reactor 3), unlike WebMVC
has official support for several kinds of template engines (see [this link|https://github.com/spring-projects/spring-framework/tree/master/spring-webmvc/src/main/java/org/springframework/web/servlet/view]).
The WebFlux only keep Freemarker support as a reference implementation (see [this link|https://github.com/spring-projects/spring-framework/tree/master/spring-webflux/src/main/java/org/springframework/web/reactive/result/view]).
I have tried to migrate groovy template's implementation from WebMVC to WebFlux and open PR
for [this issue|https://jira.spring.io/browse/SPR-15850]. But Spring team want to reduce third-party
dependencies (see [this comment|https://jira.spring.io/browse/SPR-13795?focusedCommentId=130460&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-130460]).
They recommend me moving my PR implementation to its own project. Just like Thymleaf thrive
without an "official" support provided by the Framework itself. I'm not sure that Groovy itself
may not be the best place for this implementation.

> Implement Groovy Template Engine For Spring 5
> ---------------------------------------------
>
>                 Key: GROOVY-8318
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8318
>             Project: Groovy
>          Issue Type: Wish
>            Reporter: Jason Yu
>            Priority: Minor
>
> I have created a relative [issue|https://jira.spring.io/browse/SPR-15850] on Spring's
Jira. But they recommend that template engines support their own infrastructure ([this comment|https://jira.spring.io/browse/SPR-15850?focusedCommentId=154052&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-154052]).
Could Groovy provide corresponding package just like [thymeleaf-spring5|http://www.thymeleaf.org/apidocs/thymeleaf-spring5/3.0.6.M4/overview-summary.html]?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message