Re:PHP in 2019
by stefanfisk on Wednesday May 15, 2019 @09:51AM
(#19919348)
WordPress is NOT an example of modern PHP practices though. The amount of legacy insanity in WordPress is enough to make any sane dev cry...
Re:PHP in 2019
by BlueTemplar on Wednesday May 15, 2019 @10:31AM
(#19919748)
Why was it shocking? PHP (originally) stood for "Personal Home Page" after all...
One thing that shocked me during my brief foray into PHP was how heavily popular PHP apps like WordPress rely on the filesystem. Want to move a site? Copy the database, and copy a bunch of files. It seems like there's a cultural expectation that applications run on a single server in your closet. Of course you don't have to write code this way... but people still do.