Skip to content

Best practice CAP - UI and Services as separate projects #22

@alisdair73

Description

@alisdair73

Hi Tom/Rich

Love the Repo - thanks for making this available early.

I've been trying to work out the best way to break up a CAP project into a services project srv/db, and then have the UI (or multiple) as independent UI projects. What I think I want is the UI Annotations in the UI Project and not with the services - keeping the concerns separated - maybe this isn't right or not possible? . I'm just not entirely clear on how to set up the dependencies so the annotations can see the services at design time. I've seen the mono repo that the CAP examples are in and can see how that works - is this best practice or are there other ways??

I kind of see this as a natural separation between the CAP tooling and the UI5 Tooling so the UI5 team are doing "ui5 serve" etc rather than cds watch/serve etc..?
Thoughts?

Thanks guys
Al

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions