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

Different ui framework, like vue.js, react etc. on cds model #8

Open
jung-thomas opened this issue Jun 30, 2020 · 2 comments
Open

Different ui framework, like vue.js, react etc. on cds model #8

jung-thomas opened this issue Jun 30, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jung-thomas
Copy link
Contributor

@albertlast

Since we got break out point in cap,
i would like to see how setup a different ui framework, like vue.js, react etc. on cds modell

@jung-thomas jung-thomas added the enhancement New feature or request label Jun 30, 2020
@jung-thomas jung-thomas self-assigned this Jun 30, 2020
@jung-thomas jung-thomas added this to To do in Adoption of Community Suggestions via automation Jun 30, 2020
@jung-thomas
Copy link
Contributor Author

I look into this one but I'm curious of the kind of scope you are interested in. Ultimately other UI frameworks have the ability to call REST or OData, nothing CAP specific there. Is that just what you are wanting?

@albertlast
Copy link
Contributor

Well i try this already by my own,
to get an idea how this could work.
End of the day like you mention is the access of odata/rest,
the point where the framework get contact with other parts of cap.

When i got nothing wrong,
than is OData an advanced version of the rest.
So can i access the OData by a common rest call from framework like this? i guess i lost by this way some metadata.

Or can i create somehow a common/generic rest service without odata on cap side?

i personally ended up with use of jaydata: https://jaydata.org/blog/odata-cookbook-with-jaydata
as lib in my frontend solution.
but i'm not sure if this lib some kind of "best" or other one exists which a more common to use for odata into a "third party" framework, maybe a sap lib exists.

Maybe i ask google the wrong questions,
but it feels like that odata is niche solution outside of sap ecosystem,
so it's hard for me to get a good answer of this question "how to connect/integrate such the kind framework to cap middleware layer"

So maybe is my question is, how to connect from “non sap” js/nodejs env to cap,
If the other side is a frontend framework like react or maybe a middleware again should make no difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants