3 ms·
>And so with server components and Nextjs they’ve reinvented PHP. Except worse. There will be PHP-7 monoliths out there running on Apache until the heat death
by ramesh31 3y ago
>And so with server components and Nextjs they’ve reinvented PHP.
Except worse. There will be PHP-7 monoliths out there running on Apache until the heat death of the universe. Try updating a Node project that hasn't been touched in two years.
- rezonant 3y agoTo be fair, a lot of those PHP monoliths aren't even using Composer, and regardless updating them would probably be painful as well. That being said, just installing old Node.js projects can be painful, unfortunately. It's got a lot better with newer NPM versions that use lock files by default, but it still leaves a lot to be desired. Often updating the Node project is the only way to get it running, because somewhere in the stack someone broke semver, or your OS is newer and some native extension does not compile on the new version, or you need to use an ancient Node.js to run it because it depended on some behavior that was deprecated and removed in the 5 Node.js versions released since the project was written. A particularly notable thing recently is that newer Node.js doesn't support older crypto types, breaking most dev servers built for older Node versions. This has been a pain lately.