Skip to main content

A PHP Guy Learns Spring

Updated 3 min readMarkdown

I have written PHP for over twenty years and run Laravel in production for more than ten. Right now I am learning Java and Spring from zero, on purpose, in public. It is the most fun I have had at a keyboard in a while, and some days it is not fun at all.

What transfers

More than I expected.

  • Dependency injection. Laravel's service container and Spring's container are the same idea wearing different accents. I already think this way.
  • Data. Twenty years of MySQL does not care what language is asking. Schemas, indexes, query plans, the discipline of not melting a database at scale: all of it carries. An ORM is an ORM, whatever the accent.
  • APIs. Fifteen years of building and consuming REST services means the shape of the work is familiar before the syntax is.
  • Typed, disciplined OOP. Strict PHP taught me types years ago. Java just refuses to let me cheat.
  • Testing discipline. I learned the hard way that AI can write the missing tests on legacy code, and that no tool, AI or otherwise, touches auth or secure code unsupervised. That rule travels to any stack.

What humbles you

The vocabulary. Every ecosystem has a thousand names for things you already know, and until you learn the names, you cannot even search for help properly. Week one, I was a senior engineer who could not Google. Humbling is the correct word.

Annotations everywhere took adjustment too. Spring does a lot by declaration. Powerful, once you stop fighting it.

And the ceremony is real. PHP spoils you: write a file, refresh, see it. Java wants a build, a structure, a configuration for the configuration. None of it is wrong. All of it is slower until it isn't.

What I am building

Not tutorials. Tutorials lie by omission; they never show you the problem that eats your weekend.

I am rebuilding a working slice of Bin X in Spring: booking CRUD, availability, the Stripe webhook. Same ground I already own in production, new stack underneath it. If the Spring version can stand next to the real one, I learned something. If it can't, I learned something faster. Bin X does not care about my feelings, which makes it a good teacher.

Why do this at twenty years in

Because the alternative is defending the same ground forever. A decade as a Chief Technology Officer (CTO) in the credit monitoring space taught me that the tech is never the hard part for long. Learning speed is the skill. Everything else is syntax.

The ten Java and Spring voices on my list are my current teachers. Start with the people, and the ecosystem gets smaller fast.

Trust but verify. Compile early, compile often.

About the author

  • Guy Warner is a Salt Lake City software engineer with 20+ years building PHP/MySQL/AWS SaaS products, with 10+ years of Laravel in production. He was Chief Technology Officer (CTO) and VP of Development at Monitorbase in credit monitoring, handling 7M+ monthly queries, where he led 12+ developers and migrated to SingleStore. He founded Eco Moving Utah, a moving tote rental business, and builds Bin X, rental business software. He has a B.S. in Political Science, University of Utah.

No comments yet. Be the first to comment.

More from this blog