{"ref":"content:sap-cap-cloud-application-programming","page":"/content/sap-cap-cloud-application-programming","json":"/content/sap-cap-cloud-application-programming.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"sap-cap-cloud-application-programming","title":"SAP CAP(Cloud Application Programming)开发框架概述","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/sap-cap-cloud-application-programming-%E5%BC%80%E5%8F%91%E6%A1%86%E6%9E%B6%E6%A6%82%E8%BF%B0/ba-p/13574306","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:data-modelling","applies_to":{"ecosystems":["cap"]}},{"ref":"capability:authorization","applies_to":{"ecosystems":["cap"]}},{"ref":"capability:async-processing","applies_to":{"ecosystems":["cap"]}},{"ref":"capability:odata","applies_to":{"ecosystems":["cap"]}}],"summary":"A Chinese-language walkthrough of CAP built mainly from CAPire's own \"About CAP\" page: CDS entities, associations, compositions and aspects for [data modelling](capability:data-modelling), with an `extend Books with @restrict: [{ grant:'WRITE', to:'admin' }]` aspect as its [authorization](capability:authorization) example; CQL and CQN queries shown against both a local service and [OData](capability:odata)'s `$select`/`$expand`; and the service-and-event model — `this.on`, `this.emit`, `srv.on` — that carries CAP's [async processing](capability:async-processing). It closes with the author's own setup: installing `@sap/cds-dk`, scaffolding a bookshop project with `cds init`, and running it with `cds watch` against local SQLite, mocked authentication and file-based messaging standing in for HANA Cloud, IAS and Kafka.","short":"Overview of CAP built from capire's About CAP page, in Chinese","author":"ArthurYang","published":"2024-01-07","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-22"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:data-modelling (cap); capability:authorization (cap); capability:async-processing (cap); capability:odata (cap)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 33 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@sap/cds 9.6.0, 2025-12 and 6 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":4929,"unit":"views"},{"value":0,"unit":"comments"},{"value":1,"unit":"likes"}]},"signals":{"views":4929,"likes":1,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}