Cds
Flattening the hierarchy with mixins
Another gem in the TASC ("The Art & Science of CAP") inaugural episode is from around 49 mins in, in Daniel H's example about two application teams ("invoices" and...
read postSeparating concerns and focusing on the important stuff
The phrase "separation of concerns" is one that I hear relatively often, but have never until now stopped to think properly about what it is, what it means. It's a concept discrete and...
read postRestricting access via facets with masked elements
Watching the inaugural episode of The Art & Science of CAP, in particular around 39 mins in, Daniel was showing an example of a projection where some of the details of the entity -- upon which the...
read postKeeping things simple in domain modelling with CDS
When embracing domain modelling with CAP, keep things simple. One of the greatest benefits of domain modelling done properly is having a domain expert on the team. Don't forget that domain expert,...
read postCAP plugins deconstructed - part 1 - understanding how the mechanism works
In this first of a three part series of blog posts, we explore the CDS Plugin mechanism in CAP to find out how it works, so we are well prepared to write our own plugin. Background This series of blog...
read postAutomatic validation in OData and REST calls with CAP
There is automatic validation of data coming into CAP-based service endpoints. Up until recently, there was a difference on how this happened between "REST" and OData channels, but with the...
read postTurning an OData expand into a cds.ql CQL query with a projection function in CAP
If, while serving a call to your provided CAP service, you want to construct some CQL to perform on your database in a similar way to how $expand works in OData, this post may help. Before I start,...
read postDigging into CSN diffs for CDS models
I wanted to increase my understanding of CSN a little by noting changes in it as I built up my CDS model, and ended up with a script csndiff to help me with that. To grok something complex, I try to...
read postSimple script for previewing CDS models in CSN - cdsray
The March 2024 release of CAP brought many great new features including one for VS Code users - CDS Previews From Editor Title Bars. It allows you to look, in realtime, at how your CDS model...
read postA deep dive into OData and CDS annotations
In 2022 on our SAP Developers YouTube channel, I ran a series of live streams on the Hands-on SAP Dev show, where we went back to basics on OData. You can watch all of the episodes via this playlist:...
read post