Best Practices for CAP Node.js Apps

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • Hear directly from one of the CAP team members, David Kunz, about best practices as they apply to designing and building CAP applications with Node.js. More information: github.com/SAP...

Комментарии • 14

  • @jhodelcailan1703
    @jhodelcailan1703 3 года назад +1

    Hi David, your presentation is awesome! Very good content and examples, looking forward for a sequel to this!

  • @somnathpaul2020
    @somnathpaul2020 3 года назад +4

    I was amazed!! Thank you so much David , yes all it needs replay.... again and again and learn out of this video. Just a quick question coming to my mind, can we have similar sort of things on Java as well, if possible.

  • @MrStijnMe
    @MrStijnMe 3 года назад +4

    It is hard to find good education/books on JavaScript, CAP, ... This because all tools are still constantly (and fast) evolving with new developments.I learned several usefull stuff, even from commands I already knew but never used in this way! I can REALLY recommended to watch this presentation a few more times. 👍(and yeah, I immediately subscribed to David's channel!)

  • @ItsMeTobiT
    @ItsMeTobiT 3 года назад +1

    What software did David use for the slidedeck? Code based?

    • @sapdevs
      @sapdevs  3 года назад +1

      Hey there, it was based on reveal.js - an excellent presentation-as-code mechanism that I've also used myself. Slides created in Markdown. See revealjs.com/ for more details. Cheers. [dja]

  • @AnerLucero
    @AnerLucero Год назад

    This is gold!

  • @alexanderparr1030
    @alexanderparr1030 3 года назад +2

    Great job 👏

  • @hamzamasood703
    @hamzamasood703 3 года назад +1

    What I dont understand is that at 17:06 David mentions that you should not use cds.tx() without a req object.
    Then at 22:06 he uses cds.tx() with no req object. I realize that the req object of express cant be the req object of CAP. Since that is the case, what kind of req object can we use?

    • @devonduty
      @devonduty 3 года назад +3

      Hi Hamza,
      Thanks for the question! You can use cds.tx() without any arguments, but then you have to take care of the COMMIT/ROLLBACK yourself. In a custom express middleware you have no suitable req object, therefore you either perform the COMMIT/ROLLBACK manually or provide a function in cds.tx (we then take care of the COMMIT/ROLLBACK), both options are shown in the presentation.

    • @hamzamasood703
      @hamzamasood703 3 года назад +1

      @@devonduty Thanks!

  • @Dex-vk8zy
    @Dex-vk8zy 2 года назад

    Very great explained. Thx

    • @sapdevs
      @sapdevs  2 года назад

      You're welcome! [dja]

  • @vishnuvardhanreddyavula4996
    @vishnuvardhanreddyavula4996 Год назад

    How to handle the parallel request in sap cap node js

    • @sapdevs
      @sapdevs  Год назад

      CAP Node.js uses the Express module for web request handling. Between the event based, non-blocking processing model in Node.js and the Express handler framework, parallel requests are handled and managed automatically. Nothing you need to do in addition.