美文网首页
Hello World of CAP App

Hello World of CAP App

作者: xycodes | 来源:发表于2021-09-13 10:53 被阅读0次

High Level Project Structure

DB definition

The definition of DB will be placed at the folder of db.  (Example: CDS files with 'entity Books:')

UI Definition

The manifest.json describe the infrastructure of the whole App. Both CDS files and js will be the basic parts of the UI Definition. In the manifest, we can find the oData entity, basic layout,  UI dependency ,route definition. For further information of layout , we can find the object-list and overview from the "UI5.com".

Service Definition

The definition of service will be placed at the folder of srv. (Example: CDS files with Service Catalog Service). In the srv folder, we can also implement different event handlers. After that , the events @Before @On @After can be handled during the invoking of the entity.

相关文章

网友评论

      本文标题:Hello World of CAP App

      本文链接:https://www.haomeiwen.com/subject/doaxgltx.html