this post was submitted on 30 Oct 2023
989 points (96.1% liked)

Programmer Humor

32581 readers
1025 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 15 points 1 year ago (1 children)

PHP is a server-side language, how do you plan to use it for the front-end? Good luck with that!

[โ€“] [email protected] -3 points 1 year ago* (last edited 1 year ago)

Oh, I see what you mean. I thought you meant output HTML and templating vs server side logic, but yes, obviously I know the difference as the only front-end language is JavaScript and derivatives.

I'm more used to the terms 'server-side' and 'client-side' btw. Obviously PHP is server-side. But not all server-side is backend in my view. I consider backend to be application logic and things like database access. Templating can be done on the server or the client, and that's front-end.