Replies: 6 comments 2 replies
-
Some parts of Elide are not friendly for auto-generating models. ORMs like Hibernate do byte code manipulation of JVM classes - so they require the model to be recompiled. That said, you could create a custom DataStore to manage your dynamic models (similar to what Elide does for Analytic models). Analytic models can be dynamically created and registered for example. I would need more details on your use case. |
Beta Was this translation helpful? Give feedback.
-
I am developing a CMS system, which allows users to create dynamic model then generate restfull API,elide fully meets the functions of restful API and graphql API, but I don't know how to dynamically generate model and table. |
Beta Was this translation helpful? Give feedback.
-
This would be outside Elide - but what about a workflow that takes user input, feeds that to a templating engine to generate code/models, build the models, and redeploys your service? |
Beta Was this translation helpful? Give feedback.
-
Another great one is liquid.
…On Fri, May 13, 2022 at 11:21 PM Aaron Klish ***@***.***> wrote:
I like handlebars but I’m sure there are other great options.
On Fri, May 13, 2022 at 11:07 PM Thai Ngo ***@***.***>
wrote:
> This would be outside Elide - but what about a workflow that takes user
> input, feeds that to a templating engine to generate code/models, build the
> models, and redeploys your service?
>
> Which templating engine you recommend for this purpose @aklish
> <https://github.com/aklish> ?
>
> —
> Reply to this email directly, view it on GitHub
> <#2619 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABVH6QIZN2ZPFRUBBT2IZOLVJ4RIBANCNFSM5V5ABYUA>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
I like handlebars but I’m sure there are other great options.
…On Fri, May 13, 2022 at 11:07 PM Thai Ngo ***@***.***> wrote:
This would be outside Elide - but what about a workflow that takes user
input, feeds that to a templating engine to generate code/models, build the
models, and redeploys your service?
Which templating engine you recommend for this purpose @aklish
<https://github.com/aklish> ?
—
Reply to this email directly, view it on GitHub
<#2619 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVH6QIZN2ZPFRUBBT2IZOLVJ4RIBANCNFSM5V5ABYUA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Apache Velocity. |
Beta Was this translation helpful? Give feedback.
-
I want to client can create a database table,pass field name and type from restapi, and then the back-end can automatically generate model, database table and API.
How can I do it?
Beta Was this translation helpful? Give feedback.
All reactions