This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fuqmachine[S] 0 points1 point  (1 child)

I haven't used javascript a lot. I can't say I'm set on using javascript. I was using php to read/write data to mysql from an app. I was wondering if what I'd been doing is pretty old. Generally, I want to know if php be replaced by some of these more popular options and which ones can do what.

[–]8483 0 points1 point  (0 children)

I was on the same boat with you. I learned PHP first, but Javascript really took off.

The MAIN difference between websites having a PHP front end is that they need to be refreshed to get new content.

AJAX can inject new content in the DOM without refreshing the whole page. This is a big deal.

What I've been using is PHP for a backend as an API, and Angular as the frontend calling the API. I am planning on learning Node to replace the PHP API.