Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate thymeleaf forms from JDL based on the "no client" selection on mhipster #266

Open
kevintanhongann opened this issue Aug 8, 2022 · 4 comments

Comments

@kevintanhongann
Copy link
Contributor

Overview of the feature request

This feature request is about generating Thymeleaf forms based on the JDL script with entities and relationships.

Motivation for or Use Case

The reason behind the feature request is when one generates a mHipster project and one generates a no-client skeleton project, one has the option to code a monolithic app based on Micronaut + Thymeleaf flavor, which is pretty decent and there's no reliance on any Javascript frontend frameworks except for jQuery or Tailwind(depending on whether you're coding it or buying html templates from a site). And based on my experience, I deliver faster by buying existing html templates from Themeforest and start coding and delivering right away(I like delivering fast). The only drawback here is the mHipster generator doesn't have any generators for Thymeleaf forms. Since I also have the experience of using Grails before, I know for a fact that Grails uses reflections in its internals to do code generation, and mHipster really changes things since you can generate Thymeleaf forms based on the entity JSONs within the .jhipster folder.

Related issues or PR

none

@mraible
Copy link
Contributor

mraible commented Aug 8, 2022

If you'd like to create a blueprint for this, it should be possible and widely appreciated. However, making it work is one thing, maintaining it for years to come is another. It's a cool idea that many folks would like, but it's possible the maintenance burden would make you question the choices you've made in life. 😉

@atomfrede
Copy link
Member

atomfrede commented Aug 8, 2022 via email

@kevintanhongann
Copy link
Contributor Author

@atomfrede now that you've mentioned it, it makes more sense to do it in the original Spring Boot flavor first before doing it for Micronaut. I want to see the commonalities between the two flavors and assess whether it's beneficial to create a blueprint for this. Thanks for the input on that.

@atomfrede
Copy link
Member

atomfrede commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants