• Home
  • Blog
  • CUNY Lehman College Web Programming PHP JavaScript Discussion

CUNY Lehman College Web Programming PHP JavaScript Discussion

0 comments

I’m working on a website development question and need guidance to help me understand better.

In your opinion, when would it be more appropriate to use JavaScript or PHP or does it matter which one to use? Support your argument with examples. No actual JavaScript or PHP codes required. As a web developer, why is it important to learn both JavaScript and PHP?

The question itself may not be accurate enough because JS can be both client side and server side. To best answer the question, I suggest that you assume JS is client side only or change the question to client side vs. server side.

You can use user input validation as an example. Do you think it is more appropriate for PHP or client side JS to make sure an email entered by a user is valid? And why do you think so? If you can explain the meaning of “valid” in my question, that would be great.

Your answer should mention something like, “internet traffic”, “computer processing”, and “security”.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}