File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes How much better is PHP than HTML? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "How much better is PHP than HTML?" Watch "How much better is PHP than HTML?" New topic
Author

How much better is PHP than HTML?

Pankaj Halder
Greenhorn

Joined: Sep 10, 2008
Posts: 25
Can I run PHP in J2EE web servers? Does PHP work with AJAX? Can I call Java classes from PHP?
[ September 21, 2008: Message edited by: Pankaj Halder ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You question basiclaly reads: How much better is JSP than HTML?

PHP is a serverside language like Java, .NET, ASP, etc. It is not used to replace HTML.

Eric
Pankaj Halder
Greenhorn

Joined: Sep 10, 2008
Posts: 25
Eric, I just heard that you can build a website very quickly using PHP, which is much better than using HTML. Can I use AJAX (even Flex) with it?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Pankaj Halder:
Eric, I just heard that you can build a website very quickly using PHP, which is much better than using HTML. Can I use AJAX (even Flex) with it?


You can't compare PHP to HTML. PHP renders HTML. If you need dynamic content then you need a server side language (PHP). If not, static HTML is all you need. But no matter what, you end up with HTML.


GenRocket - Experts at Building Test Data
Pankaj Halder
Greenhorn

Joined: Sep 10, 2008
Posts: 25
Originally posted by Gregg Bolinger:


You can't compare PHP to HTML. PHP renders HTML. If you need dynamic content then you need a server side language (PHP). If not, static HTML is all you need. But no matter what, you end up with HTML.


So it is similar to JSP. Which free web server supports PHP?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Pankaj Halder:


So it is similar to JSP. Which free web server supports PHP?


:roll: Ever here of Google? It's this awesome search engine that lets you find out all sorts of common information all over the web.

Since this isn't really an HTML/JavaScript question anymore then I'm moving this to the General Computing forum. Also, you might want to take a look at www.php.net as well as www.phpbuilder.com Both are wonderful sites with loads of info on PHP.
[ September 22, 2008: Message edited by: Gregg Bolinger ]
 
Don't get me started about those stupid light bulbs.
 
subject: How much better is PHP than HTML?