[forge-issues] [JBoss JIRA] (FORGE-1512) Renaming scaffold commands
Antonio Goncalves (JIRA)
issues at jboss.org
Tue Oct 27 10:02:00 EDT 2015
[ https://issues.jboss.org/browse/FORGE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Goncalves updated FORGE-1512:
-------------------------------------
Description:
Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
So, to generate a JSF interface, we should use the following command :
{code}
faces-generate-pages-from-entities
{code}
We need to make the difference between scaffolding and generating. At the moment we choose the scaffolding provider like this :
{code}
scaffold-generate --provider
{code}
Instead we could have :
{code}
faces-scaffold --from-entities / --from-database
rest-scaffold --from-entities / --from-database
{code}
But what about creating a new page from an entity ?
{code}
faces-new-page --from-entity
rest-new-endpoint --from-entity
{code}
was:
Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
So, to generate a JSF interface, we should use the following command :
{code}
faces-generate-pages-from-entities
{code}
> Renaming scaffold commands
> --------------------------
>
> Key: FORGE-1512
> URL: https://issues.jboss.org/browse/FORGE-1512
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> Had a chat with @VineetReynolds about the difference between scaffolding and generation. JSF scaffolding is just another code generation (we could keep the 'scaffolding' term when generating an entire app).
> So, to generate a JSF interface, we should use the following command :
> {code}
> faces-generate-pages-from-entities
> {code}
> We need to make the difference between scaffolding and generating. At the moment we choose the scaffolding provider like this :
> {code}
> scaffold-generate --provider
> {code}
> Instead we could have :
> {code}
> faces-scaffold --from-entities / --from-database
> rest-scaffold --from-entities / --from-database
> {code}
> But what about creating a new page from an entity ?
> {code}
> faces-new-page --from-entity
> rest-new-endpoint --from-entity
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the forge-issues
mailing list