Java:
An object-oriented programming language designed to generate applications that can run on all hardware platforms, small, medium and large, without modification. Developed by Sun, Java has been promoted and geared heavily for the Web, both for public Web sites and intranets. Java was modeled after C++, and Java programs can be called from within HTML documents or launched stand alone. When a Java program called from a Web page runs on a user's machine, it is called a "Java applet." When it is run on a Web server, it is called a "servlet." When it runs as a stand-alone, non Web-based program on a user's machine, it is simply a "Java application."
Upon finding a Java applet, the Web browser invokes the Java Virtual Machine, which translates the bytecode into machine code and runs it. This means Java programs are not dependent on any specific hardware and will run in any computer with the Java Virtual Machine software.
Java is a full-blown programming language and is not intended for the casual programmer and certainly not the end user. JavaScript is a scripting language that uses a similar syntax to Java, but it is not compiled into bytecode. It remains in source code embedded within an HTML document and must be translated a line at a time into machine code by the JavaScript interpreter. JavaScript is very popular and is supported by all Web browsers. JavaScript has a more limited scope than Java and primarily deals with the elements on the Web page itself.
---------------------------------------------------------------------------------
java script:
A popular scripting language that is widely supported in Web browsers and other Web tools. It adds interactive functions to HTML pages, which are otherwise static, since HTML is a display language, not a programming language. JavaScript is easier to use than Java, but not as powerful and deals mainly with the elements on the Web page. On the client, JavaScript is maintained as source code embedded into an HTML page. On the server, it is compiled into bytecode (intermediate language), similar to Java programs.
---------------------------------------------------------------------------------------
If you want to know the difference between Java and JavaScript, you can go here.
---------------------------------------------------------------------------------------
PHP: Hypertext Preprocessor
PHP began some time in 1994 when Rasmus Lerdorf put together a bunch of Perl scripts to track down who was looking at his resume. People saw his script and liked it, so he started publishing his script and named it PHP (Personal Home Page). Later, the developement of PHP was done by a group of people and it grew and grew, and the name Personal Home Page doesn't seem to fit it anymore. So they renamed it to Hypertext Preprocessor (Yeah, PHP definitely looks like the acronym for that...).
PHP is a server-sided scripting language, which means that it is parsed on the server where the file is located, then sent to the person requesting it. PHP can be embedded into html without the visitors knowing about it, because every line of PHP will be parsed and sent as html. PHP can be used for dynamic pages such as keeping track of visitors (The original purpose of PHP), members stuff and... stuff. But once it's sent to the person requesting it, it cannot affect that person's computer, unlike Java and JavaScript, which are... not-server-sided (client-sided?). PHP is cool.




