
technologyOct 4, 202121:45pending
Hasty Treat - Spicy Takeout - PHP Is Good and We’re Just Re-Creating It
Get every episode summarized
Each time Syntax - Tasty Web Development Treats publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
About this episode
In this Hasty Treat, Scott and Wes talk about how much modern web development has taken from PHP!
Freshbooks - Sponsor Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the “How did you hear about us?” section.
LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.
Show Notes 03:56 - Why much of modern web development is just recreating PHP
Everyone loves to hate on PHP, but modern Web dev takes a lot from PHP
05:44 - Mixing templating and logic
We do this with JSX
07:39 - Each request has its own scope
08:57 - Massive standard lib
Format a date? No sweat!
Image resizing? Sure!
Audio bindings? Sure!
10:16 - URL-based routing
Next.js pages
Serverless functions
11:13 - Server-rendered
Hotwire
11:38 - $_GET, $_POST, are just available
Next.js hooks
12:29 - Variable interpolation
12:59 - All-in-one frameworks
Laravel did it
CakePHP
CodeIgnighter
13:32 - Direct DB access
SQL statements
14:37 - Why do people hate PHP?
WordPress
Inconsistent API
Their first code was PHP and they sucked
PHP has come a long way
It used to not be safe
Blocking by default - no async/await
17:48 - Why is JS still better?
Shared code between frontend and backend
Single language
Huge ecosystem (could be a con)
Links Syntax 267: Hasty Treat - Turbolinks + Server Generated HTML + JS Sprinkles
https://vuejs.org/
https://www.hey.com/
Tweet us your tasty treats! Scott’s Instagram
LevelUpTutorials Instagram
Wes’ Instagram
Wes’ Twitter
Wes’ Facebook
Scott’s Twitter
Make sure to include @SyntaxFM in your tweets
Get every episode summarized
Each time Syntax - Tasty Web Development Treats publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Syntax - Tasty Web Development Treats

1043: I’m Using GPUI For Everything
Syntax - Tasty Web Development Treats
Sep 30, 202632:43pending

1042: Is the Jev Hype Overblown?
Syntax - Tasty Web Development Treats
Sep 28, 20261:22:03pending

1041: What are normies using AI for?
Syntax - Tasty Web Development Treats
Sep 23, 202647:21pending

1040: Developing for the iPhone Duo
Syntax - Tasty Web Development Treats
Sep 21, 20261:33:32pending