Architecture of an Angular application

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

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

  • @tadeo_portillo
    @tadeo_portillo 9 месяцев назад +2

    Angular runs in a web server? Why Angular expose a port?

    • @IgorPomaranskiy
      @IgorPomaranskiy 8 месяцев назад

      Yes, it runs a web server (when in development mode).
      When you make changes in files and save them, Angular automatically rebuilds the paft of the project that was changes (and page is reloaded in browser), which is fast and convenient.
      When development is finished, a deployment bundle (set of HTML/CSS/JS files) is generated, which then is served just as a set of static files by a web server, such as nginx, Apache etc.

    • @tadeo_portillo
      @tadeo_portillo 8 месяцев назад

      @@IgorPomaranskiy So when it runs in development mode what is that web server... I mean, Apache Tomcat, Apache, etc? Or something special

    • @IgorPomaranskiy
      @IgorPomaranskiy 8 месяцев назад

      @@tadeo_portillo in development mode Angular serves requests itself. No need for extra software.

    • @tadeo_portillo
      @tadeo_portillo 8 месяцев назад

      @@IgorPomaranskiyThank you for your time, do you have any extra resource to share? I would like to know more about it

    • @IgorPomaranskiy
      @IgorPomaranskiy 8 месяцев назад

      @@tadeo_portillo Angular has pretty good and comprehensive documentation, I'd probably start there.

  • @SonnyWest87
    @SonnyWest87 7 месяцев назад

    Genexus?