Тёмный

Back to basics with SAP Cloud Application Programming Model (CAP) - part 10 

SAP Developers
Подписаться 41 тыс.
Просмотров 2,8 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@wiseskeshom4673
@wiseskeshom4673 6 месяцев назад
After finished a re-rerun, I thought we were lucky that DJ taught us about how the CDS compile work under the hood before we have the Preview as feature in VSCode. The Preview as feature is very cool and handy but it hides some CAP's fundamental that we should learn.
@DJAdams
@DJAdams 6 месяцев назад
Thanks Wises! You're right, the Preview feature is excellent, but we need to make sure we understand how that works, and to be able to execute what's happening manually too. In other words, cds compile. We did a bit of that in previous episodes, but perhaps we should do some explicitly in the next episode?
@wiseskeshom4673
@wiseskeshom4673 6 месяцев назад
yes, please @@DJAdams
@MyCodingDiary
@MyCodingDiary 6 месяцев назад
Your energy and enthusiasm are contagious. Love it!
@nightfire777
@nightfire777 6 месяцев назад
Always interesting, is it possible for the next video to change the theme and put a dark one, it hurts eyes to stare at an all white screen during one hour :-)
@DJAdams
@DJAdams 6 месяцев назад
Thanks! Dark themes on anything but terminals mess with my eyes, but I've just experimented with the "Solarised Light" theme which will be perhaps a little less extreme than pure white. Shall we use that next episode in VS Code?
@matthiaslakaemper9406
@matthiaslakaemper9406 6 месяцев назад
Hi DJ, this is a fantastic session. I am curious to the next session. It seems that this is my "missing link" to SAP-Business-One Service-Layer functionality, where we have in the Standard no navigation Property to the Order-Items. Actually there is only a Collection. Kind Regards, Matthias Lakämper
@sapdevs
@sapdevs 6 месяцев назад
Thanks Matthias. See you on the next live stream!
@alestar22
@alestar22 5 месяцев назад
is it a better practice to have a schema.cds to define entities and another cds file to expose them in services?
@alestar22
@alestar22 5 месяцев назад
OK got it , you did that to showcase that OrderItems are exposed , even not projected specifically to a view because of the auto-exposed
@sapdevs
@sapdevs 5 месяцев назад
Yes, for modularity and separation of concerns reasons - see cap.cloud.sap/docs/guides/domain-modeling#separation-of-concerns 👍 [dja]
@tech-wombat
@tech-wombat 6 месяцев назад
Is it possible that the last change to Dockerfile breaks the repo somehow? I normally have always the last version cloned directly to my docker desktop container. I work with the vs code option "clone to container" instead of "reopen in container". Each Saturday when I watch the stream recording I update the cloned repo and sometimes I also update the container-local extensions. This time I updated the SAP CDS language support to 7.8.1 and pulled the lates repo commit which was the one with the commit message "make prompt a bit nicer" (0654e1afbf76f9256e6ff565c94c920189e72136). After reloading the docker container it always exited with some errors referring to the lines from the dockerfile related to the section "vi mode". After I removed the whole "vi mode" block from dockerfile the container was able to start and run without exiting again. Unfortunately I don't know how to clone a previous commit to a docker container, so I cannot work with cloning to docker container directly. Is there maybe something wrong with the vi mode section in the dockerfile or is it just me?
@sapdevs
@sapdevs 6 месяцев назад
Hey there, thanks so much for pointing this out. Mea culpa! Fixed. And I've added a quick update to explain, at the end of the post here: qmacro.org/blog/posts/2024/04/11/improve-your-cap-dev-container-shell-prompt/ [dja]
@tech-wombat
@tech-wombat 6 месяцев назад
@@sapdevs Thank you so much for caring Qmacro!
@AbhigyanShivaditya
@AbhigyanShivaditya 8 дней назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BwL_2qAPYsc.html Timestamp where Marco restarts after the initial information
@carstenschlegel6975
@carstenschlegel6975 6 месяцев назад
Format document with VIM Keybinding: Open User Settings as json (F1: enter "user", select "Preferences: Open User Settings (JSON)") Search or Create "vim.normalModeKeyBindingsNonRecursive": [ ] inside the root object ( {...} ) Add this Object in the array [ ] like: "vim.normalModeKeyBindingsNonRecursive": [ { "before": [ "leader", "f" ], "commands": [ "editor.action.formatDocument" ] } ] alternative use "g", "F" (or "f", but "(g)o (f)ile" was lost!) Then you can format the document with "gF" (or f) in normal mode to format the document.
@sapdevs
@sapdevs 6 месяцев назад
Thank you Carsten! This was what I was looking for! I've now configured it as you describe, and have space as my leader. [dja]
@carstenschlegel6975
@carstenschlegel6975 6 месяцев назад
@@sapdevs Glad I could help. In the Keyboard Shortcuts Settings (⌘K ⌘S) you can find all Visual Studio Code commands that you can bind to with the same method in the VIM extension. e.g. "workbench.action.terminal.new", "workbench.action.terminal.focus" Or also use VIM commands: ":bprevious", ":bnext" for quick tab changes (with shift H or shift L). { "before": [ "" ], "commands": [ ":bprevious" ] }, { "before": [ "" ], "commands": [ ":bnext" ] }, "workbench.action.quickOpen" replaces ⌘P Or my bindings for the visual mode in the VIM extension: "vim.visualModeKeyBindings": [ { "before": [ "leader", "c" ], "commands": [ "editor.action.commentLine" ] }, { "before": [ "" ], "commands": [ "editor.action.indentLines" ] }, { "before": [ "J" ], "commands": [ "editor.action.moveLinesDownAction" ] }, { "before": [ "K" ], "commands": [ "editor.action.moveLinesUpAction" ] } ], Outdent/Indent can be used repeatedly (visual selection is retained). A very powerful configuration option in conjunction with the VIM extension.
Далее
SAP BTP Cockpit: Get Started with SAP BTP
20:11
Просмотров 18 тыс.
Только ЕМУ это удалось
01:00
Просмотров 2,5 млн
🟢 ABAP Development Tools  - News and Roadmap
54:51
Просмотров 2,4 тыс.
Viral Video of a Man's Crazy Job Interview
16:02
Просмотров 1,5 млн
Только ЕМУ это удалось
01:00
Просмотров 2,5 млн