Since you already know basic Java . PHP would be more easier compared to Javascript . The notations seem to be wierd to me in javascript. Start off with HTML and CSS -
HTML &
CSS .
Tizag is also a good starting point .
No matter if you learn PHP, RoR or any other language. You must learn Javascript and Ajax to make your web applications more powerful
PHP and JS are two different leagues. But I think you are suggesting him to learn PHP first because of the weird notations and syntax of Javascript. Well, Javascript isn't that hard. It is very very easy to be honest.
@
bond_bhai : Here's what I suggest, I am sure you will thank me for this
Get an account on
Codecademy (it is free of cost). Start with this course :
HTML & CSS for Beginners | Codecademy Their interactive learning system is beautiful. You not only read or refer, you practice what you have learned there. I learned basics of Javascript and JQuery there only. Once you finish with HTML, CSS course material and since you are familiar with Java (i.e. OOP) you are good to go with Javascript. Finish all the lessons here :
JavaScript | Codecademy and now develop a mini project based on HTML, CSS and Javascript (Simple, nothing fancy and big). When you find yourself comfortable with HTML, CSS and Javascript. You are good to go and learn almost ANY web development technology out there (say PHP, ASP.NET MVC)..
Go, spend some time on Codecademy.com. It will help you a lot, believe me.