-1

I am curious about something. Why don't people build their code on the backend? I've seen people worry about build files/size on the front-end (e.g. when building react applications) but have never heard of building it on the backend. As for my search, can't really find anything about it on the internet. Only thing I know that might be related is: I've seen the autoload files in PHP being built or something (read about it here still not very sure)

P.S. - By build I mean creating production ready, optimized files.

Arun Bohra
  • 104
  • 1
  • 10
  • You're asking for opinions, but depending on the platform the server, container, or lambda might have much lower resources -- only enough to run the finished build not to create it. And for clusters, beanstalks, containers, lambdas you build once then deploy to many. – Dave S Aug 25 '23 at 17:51
  • Another reason is security and access rights - why give your public-facing servers access to your source code and tools? Give the servers just enough rights to run the code. – Dave S Aug 25 '23 at 17:52

0 Answers0