Comparing apples & oranges (was jsp vs php)

John Kotsinos zookie at med.auth.gr
Mon Oct 15 00:24:01 EEST 2001


> Gia auto,tha ithela,opoios exei proigoumeni empeiria,na
> kanei mia sigrisi,me ta iper kai ta kata tou jsp kai php.

Se ena paliotero mail moy gia to idio 8ema eixa pei oti oi php selides
den mporoyn na fwna3oyn compiled kwdika. Molis anakalypsa oti hmoyn
la8os, exei proste8ei yposthri3h com & servlet. (Emena pantws den me
pei8oyn). Oi jsp selides ginontai compile apo ton application server thn
prwth fora poy ekteloyntai. Einai dokimasmena portable 99.9%  se
otidhpote exei jvm kai sxediastika exoyn poly megalytera oria e3eli3hs.
Epishs, mexri php 4.0 h yposthri3h session den einai ikanopoihtikh,
xrhsimopoioyntai cookies, kai an ayto apotyxei ta dedomena pernane me
querystring... An 8eleis na pas se commercial efarmoges (px. shopping
carts), ayto einai POLY sobaro meion. Apo thn allh an 8eleis apla na
kinh8eis se database presentation epipeda, isws 8a htan kalytero na
asxolh8eis me php, gia na kaneis pio eykola kai grhgora th doyleia soy.

> Simiosi,oti exo gnosi Java

quoting to ar8ro poy soy dinw (why php over jsp):

"JSP is a relatively new technology and still has clear market
immaturities in terms of tools, support resources and available
talent."...Because JSP is based on Java, a strongly typed language, we
had to declare the types of variables we used and manually convert
between types when necessary. This makes JSP the hardest of the
scripting languages we tested for nonprogrammers to learn..."

Ta basika epixeirhmata einai ayto (ahem) kai to oti efoswn h php mporei
na fwna3ei servlet h com, alla einai pio elastikh apo jsp einai
kalyterh... telos pantwn, efoswn *3ereis* java, giati anarwtiesai??? :-)
Idiws akribws kwdikas, idia logikh. Epeidh omws eimai ligo biased, des
kai ta parakatw ;-)

PHP: http://www.zend.com/zend/whats-new.php
Why php over java: http://www.zend.com/zend/art/php-over-java.php
(diabase omws ta sxolia sto telos toy ar8roy, exoyn gelio)

JSP: http://java.sun.com/products/jsp/

An telika apofasiseis jsp, soy proteinw ton resin  (url:
http://www.caucho.com/ ) gia app-server kai ton forte (
http://www.sun.com/forte/ffj/ ) gia IDE .

hth.





More information about the Linux-greek-users mailing list