Can Node Actually Update System Files ? | NodeJS Malayalam Tutorial |

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 6

  • @princepr5830
    @princepr5830 4 місяці тому +1

    Great tutorial ❤

  • @mrsaturday975
    @mrsaturday975 3 місяці тому +1

    readFile SYNc and readFile same concept aanoo ,synchronous condition nookiyitt readFilesync upayookikkanooo

    • @Freshtutorzmalayalam
      @Freshtutorzmalayalam  3 місяці тому

      Readfile use cheyyunnath ningalk correct file size ariyaam, athupole cheriya file aanu, ath performance ne impact cheyyilla enkilokkeyaanu... Ath non-blocking aayirikkum
      Readfilesync execution pause cheyyum file full read aakunnathvare ... Valiya file aanu read cheyyan nokkunnathenkil ith performance issues undakkan chance und

  • @diyasusan308
    @diyasusan308 3 місяці тому +1

    Hi, what is the use of reading and writing files ? I mean, can't we directly go read and write files ?

    • @Freshtutorzmalayalam
      @Freshtutorzmalayalam  3 місяці тому +1

      Javascript doesn't have access to write data to files as it runs on client browsers, but node has as it runs on server. This helps us to log user activities into files for monitoring or reporting. Also we can create files on the go dynamically upon meeting certain conditions