Results 1 to 4 of 4

Thread: What is the difference between JSP and PHP?

  1. #1
    Join Date
    May 2008
    Posts
    181

    What is the difference between JSP and PHP?

    Hello,

    I know somewhat javascript but don't know anything about PHP. I need to know in what ways is PHP different than JavaScript. Which is easier to learn ? and which one is more useful?

  2. #2
    Join Date
    May 2008
    Posts
    353

    Re: What is the difference between JSP and PHP?

    JavaScript, is a client side programming language. This means that you can design and test this on your own computers server. This makes it easier if you cannot have access to the internet at the given time. It can be quite easy to learn as well but there is a limit to what you can do with JavaScript.

    PHP, you could produce some powerful and user interactive websites. However the problem with php is that it is a server side programming language, meaning that you have to test it on a web server. So PHP allows you to design powerful websites and Javascript is the easiest to learn out of the two.

  3. #3
    Join Date
    May 2008
    Posts
    980

    Re: What is the difference between JSP and PHP?

    Javascript and PHP are pretty similar to program if you know the syntax.

  4. #4
    Join Date
    Apr 2009
    Posts
    1

    Re: What is the difference between JSP and PHP?

    First: JSP is Java Server Pages, a Java technology to create dynamic web pages through scriptlets.

    The major difference between PHP and JavaScripts it's the runtime enviroment. PHP it's a server side language and JavaScript it's client side.

    Actually the web applications implements both. Usually JavaScript for data validation and retrieve asynchronous data through xmlhttp Request (also see Ajax).

    To run JavaScript you don't need nothing, because javascript run on internet browser.
    PHP run on a webserver. The most famous is APACHE HTTPD SERVER (see http://apache.org). You need the PHP interpreter too.

    Search for AppServ on http://sourceforge.net. This package include:
    -Apache
    -PHP
    -MySQL

    Read about AJAX (Asynchronous JavaScript and XML).

    Some useful books:

    Beginning Ajax with PHP - From novice to Professional
    How to do Everything with PHP and MySQL

    Download the manual from http://php.net website.

Similar Threads

  1. What is difference between RAM and ROM?
    By Harper 21 in forum Motherboard Processor & RAM
    Replies: 5
    Last Post: 30-01-2010, 09:00 AM
  2. Difference between OOP and AOP
    By Sarfaraj Khan in forum Software Development
    Replies: 5
    Last Post: 20-01-2010, 09:20 AM
  3. Difference between jsp and asp.net
    By Crespin in forum Software Development
    Replies: 3
    Last Post: 24-11-2009, 06:57 AM
  4. Difference between wap and wep
    By Soggy Bottom in forum Networking & Security
    Replies: 3
    Last Post: 23-11-2009, 09:34 AM
  5. Difference between IDE and ATA
    By LALETTE in forum Hardware Peripherals
    Replies: 3
    Last Post: 09-01-2009, 10:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,565,627.20261 seconds with 17 queries