WTF is Jamstack?

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024
  • НаукаНаука

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

  • @SebaM90
    @SebaM90 4 года назад +1

    Very good summary. But how can we consume our database if the backend was compiled and hosted as a static site?

    • @Ondrabus
      @Ondrabus  4 года назад +1

      Depends on what you want to achieve. Typically the database data are consumed during the build (and pages thus pre-generated). If you need to access database real-time (from client-side), typically you would use serverless functions that act as a proxy between your visitors and the database. There you can store db credentials and implement some business logic. Check out this article: www.freecodecamp.org/news/how-to-make-static-site-dynamic/

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

    love from Bangladesh 😍