You are here: Re: Difference between PHP and JSP « PHP Programming Language « IT news, forums, messages
Re: Difference between PHP and JSP

Posted by Erwin Moller on 11/16/20 11:31

>>Shailesh wrote:

> Hi All,
> can anybody tell me detailed diffrence between PHP and JSP?
> Thanx
> Shailesh


Detailed?
Wow. :-)

Can you tell me the detailed differences between Chinese and English?
;-)


The language of JSP is Java and based on the J2EE specifications.
The language in PHP is PHP.

Both languages have their pro's and con's, but to ask us to describe the
detailed differences: that is a lot to ask. :-)

Some differences might include:
java: strongtyped data. All variables should be declared.
PHP: flexible, variable behave 'naturally' alltough they all have a type
defined behind the scenes (like integer, string, etc)

Java: Objectoriented, always.
PHP: You can mix in Objectoriented stuff to your liking.

JSP: Really resident and running on a server, so you always have some
running processes you can use for timers, etc.
PHP: Will fire up the php-engine when a request arives from a client.
So if you need sheduled tasks, you have to fall back to cron and the like.

And for starters:
Java is surely harder to master compared to PHP, but more suitable for
complex tasks.


Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация