Cap
Simple 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 postUsing @cap-js/sqlite in CF for your CAP services
I published a couple of short posts recently: Running non-production CAP services in CF Easily add an explicit cds.requires.db to your CAP project's package.json Both of them are related to going...
read postRunning non-production CAP services in CF
Sometimes I want to run test CAP services not only locally, but in the cloud. I don't want the trappings of production (which are of course important ... in production settings) such as a production...
read postEasily add an explicit cds.requires.db to your CAP project's package.json
In an experimental CAP project serving data in an in-memory SQLite persistence mechanism, seeded from CSV files (as per the classic starting point in CAP's Grow As You Go approach), I wanted to have...
read postImprove your CAP dev container shell prompt
In the current back to basics series on CAP Node.js we're using VS Code with a dev container, based on the definition in the repo for the series. The container image is based on this one: FROM...
read postAvoid design time CAP server restarts when maintaining local data files
Starting the CAP server with cds watch is great for tight development loops at design time, especially with the built-in in-memory SQLite persistence layer, seeded by data in CSV files. When the...
read postCAP, CDS, CDL, CSN and jq - finding associations
In CAP, relationships between entities can be expressed with associations. In digging into how these are represented internally, I found jq yet again to be invaluable in parsing out info from the...
read postCAP, CORS and custom headers
A colleague asked me if I could add CORS support to a service I was running, built with the SAP Cloud Application Programming Model (CAP). CAP already has some basic support for CORS, so I dug in....
read postISO content for common CAP types
There's an NPM package that provides default content based on the ISO specifications for CAP common types for countries, languages, currencies and timezones. In this post I explore what that package...
read postSuccessful double CodeJam in Wroclaw and Warsaw
I'm at Warsaw airport on my journey home after a great few days in Poland. My first flight is already delayed so I have a bit of time at the gate to write up some notes. I arrived in Wroclaw, in the...
read postDeveloping CAP in containers - three ways
On Friday last week we had the first Hands-on SAP Dev live stream of 2024, and it was the first episode in a new "back to basics" series on the SAP Cloud Application Programming Model (or...
read postSAP CodeJam report - service integration with CAP in Guetersloh, DE
I'm on the train back to Duesseldorf on an early Saturday morning, after another successful outing of our SAP CodeJam content that takes participants through the ins and outs of service integration...
read postSAP CodeJam on Service Integration with CAP in Brescia
The SAP CodeJam programme continues apace. Yesterday I ran a CodeJam in Brescia, Italy, on the topic of service integration with CAP, the SAP Cloud Application Programming Model. Here's a quick...
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 postSAP CodeJam on Service Integration with CAP in Utrecht
Yesterday I ran an SAP CodeJam in Utrecht, in The Netherlands, on "Service Integration with the SAP Cloud Application Programming Model" (CAP), and I think it's fair to say it was a great...
read postCAP is important because it's not important
In this post, I consider what CAP really is, what it gives us, and why we should consider it a fundamental piece of the puzzle in the cloud context and beyond. Update (08 Nov): This blog post is...
read post