logo
episode-header-image
Oct 2021
21m 43s

Hasty Treat - Spicy Takeout - PHP Is Goo...

Wes Bos & Scott Tolinski - Full Stack Javascript Web Developers
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

11:38 - $_GET, $_POST, are just available

12:29 - Variable interpolation

12:59 - All-in-one frameworks

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

Tweet us your tasty treats!

Up next
Oct 8
944: Is Coinbase Really Writing Half Their Code With AI?
Wes and Scott talk with Kyle Cesmat about how Coinbase is writing nearly half its code with AI—while keeping quality and security front and center. They dig into tools like Cursor and Claude Code, agent-driven workflows, code review challenges, and how AI is reshaping developer p ... Show More
49m 6s
Oct 6
943: Modern React with Ricky Hanlon (React Core Dev)
Scott and Wes sit down with Ricky Hanlon from the React core team at Facebook to dive into the latest features and APIs shaping modern React development. From transitions and Suspense to fetching strategies and future directions, this episode breaks down what’s next for React and ... Show More
38m 36s
Oct 1
942: Mental Health Q&A w/ Dr. Courtney Tolinski
Wes and Scott talk with Dr. Courtney Tolinski about supporting neurodivergent teammates, navigating workplace dynamics, and recognizing strengths beyond labels. They explore ADHD diagnosis and treatment, productivity mindsets, burnout, AI in mental health, and practical routines ... Show More
57m 44s
Recommended Episodes
Mar 2013
FLOSS Weekly 244: CakePHP
CakePHP makes building web applications simpler, faster and require less code. Build Quickly - Use code generation and scaffolding features to rapidly build prototypes. No Configuration - No complicated XML or YAML files. Just setup your database and you're ready to bake. Friendl ... Show More
1h 3m
Feb 2023
Frontend Feud: CSS Podcast vs @keyframers
Una & Adam from The CSS Podcast defend their Frontend Feud title against challengers David & Shaw from the keyframers. Let’s get it on! Leave us a comment Changelog++ members save 6 minutes on this episode because they made the ads disappear. Join today! Sponsors: Sentry – Sessio ... Show More
51m 10s
Feb 2023
Frontend Feud: CSS Podcast vs @keyframers (JS Party #264)
Una & Adam from The CSS Podcast defend their Frontend Feud title against challengers David & Shaw from the keyframers. Let’s get it on! Leave us a comment Changelog++ members save 6 minutes on this episode because they made the ads disappear. Join today! Sponsors: Sentry – Sessio ... Show More
51m 10s
Feb 2023
Is htmx the way to Go?
A quick look at the history of building web apps, followed by a discussion of htmx and how it compares to both modern and traditional ways of building. Discuss on Changelog News Changelog++ members save 4 minutes on this episode because they made the ads disappear. Join today! Sp ... Show More
1h 16m
Feb 2024
Ultra-Niche Positioning: How to Find Success By Going SUPER Narrow
I’m so f*cking happy to announce that ​my book, Stand The F*ck Out, is officially available for PURCHASE​! To buy the book—and more!—DIRECTLY from us and support our small business, go to: https://book.stfo.ioFree Shipping Worldwide • Ripped Apart by 70+ Marketers • Money-Back Gu ... Show More
57m 59s
Jun 2020
Tue. 06/02 – Everything is Postponed
Facebook finally lets you clean out your old crap from your basement (I mean, past). AT&T won’t count HBO Max against your mobile data cap. Every tech event is postponed again. A whole bunch of OS update news, and a time capsule from another era.Sponsors:Tiny CapitalExpressVPN.co ... Show More
16m 13s
Jan 2024
Introducing On This Day in Working Class History: A new daily podcast from WCH
Introducing a brand-new daily podcast from the team at WCH. On This Day in Working Class History will be a brief reminder each morning of our collective struggles for a better world which have taken place on this date in history. Launching on 1 February on a trial basis, each epi ... Show More
2m 32s
Jun 2023
Digital Identity w/ ENS Domains
Always mixing business and education, Khori has major experience managing for-profits and non-profits, with a big love for tech and always being an early adopter. Developing an interest in distributed ledger tech, and being passionate about decentralized inclusion and identity, h ... Show More
1h 17m
Feb 2024
Somatic Tools for Self-Regulation with Elizabeth Ferreira
One of the most important skills we can learn is how to regulate ourselves, riding the emotional waves without either ignoring or being overwhelmed by them. Associate therapist Elizabeth Ferreira joins Forrest to explore how we can feel our feelings while staying calm, collected, ... Show More
1h 4m
Feb 2024
What Really Happened At The Streamer Awards | Wine About It
This week QT and Maya are back together in person. They discuss this years Streamer Awards, call out people who don't show up after RSVPing , and Maya is going to Brazil.🌟Bonus Content on Patreon🌟► https://www.patreon.com/wineaboutit 🎵 Audio Version 🎵🎧 Spotify: https://tinyu ... Show More
1h 3m