java or PHP programing
By adthacker
@adthacker (196)
India
July 9, 2008 2:35am CST
can any one suggest me i take my future in java programing or in PHP i m confuse which one is best for me???????????
3 responses
@Hayley_N (525)
• Argentina
9 Jul 08
The two are not exactly comparable.
Javascript is an interpreted, client-side language (front end). All the code runs on the client side, and it is used mostly for User Interface features (the "J" in AJAX). Yahoo widgets are also written in a version of javascript, so you can learn it by writing widgets if you like.
PHP is a preprocessed language on the server side (back end), used primarily for fetching data from databases to display to the user. (The "P" in LAMP)
I would say since you already know some server-side code, go with the client-side javascript. Ultimately if you want to be a web developer, however, there's a need for both front-end and back-end.
If you want to know which is in higher demand in your area, go to indeed.com or simplyhired.com and see how many job listings there are for each one. In my city, it's 127 javascript vs. 98 php listings on indeed.com
@tisty2008 (158)
• China
7 Aug 08
I use to programming with PHP.And I think PHP is very easy to learn and use. Java has many concepts and frameworks.That always confuse me.I prefer to use PHP the first language to enter the Web program.Because that Web program we should consider many other things like database,Cookie,Session,CSS,HTML,Javascript and so on.First you should learn how to run a data-based and well-looked web application,than you choose the language.
@dj_faheem (738)
• Pakistan
7 Aug 08
there is no comparison between java and php
but if u ask about ur future secure
then php is the best earning language now a days
and it has birght future,,,,,,
its quite easy to learn
and if u earn more in php than java
so first learn than earn :) :) ......
@adthacker (196)
• India
8 Aug 08
at present i m working in php but i want to go out of india and i m confuse php have any demand ?