Is JavaScript worth learning when you know PHP?

skinnypspplayer

New member
I know HTML, CSS, and PHP (MySQL crap too) so is JavaScript worth learning?

I kind of skipped over it and went straight to PHP. Should I go back and learn Javascript?
 
Javascript is for client-side scripting. PHP is for server-side scripting. They each do different and important things, so learning both would be sound advice.
 
if you want to be any sort of developer worth your stones, you have to know javascript.

if you don't know javascript you're not using ajax, which means you're at least 3 years behind in the development curve. Your using excessive amounts of bandwidth to reload the entire page every time something needs to change. Your users have to wait for every bit of validation. As a developer you have to write lots more code to hand repopulating form variables and maintaining state in a stateless environment (which is easily handles with client side variables when you don't have to reload the DOM every time they click something). Your server ends up doing much more processing that is required.

Basically, if you're not using javascript, you can't make good web pages.

It's not so much a question of it being worth learning. It's a question of do you consider yourself a real web developer?
 
It all depends on what you want to code really... Unless you want to do some fancy client-side things, there isn't really much point...
 
Back
Top