倾情奉献:大家快来讨论?(150分)

  • 主题发起人 Greeneagle
  • 开始时间
G

Greeneagle

Unregistered / Unconfirmed
GUEST, unregistred user!
我现在想在LINUX下做电子商务,请教一下是学JSP 好,还是PHP 好,我现在是ASP 的
最好就是有前途,不要学了几年后,就断代了,学习方便,安全性好,并能读数据库
的支持好,特别是ORACLE数据库,请多发表意见,好的分多呀!
 

天什

Unregistered / Unconfirmed
GUEST, unregistred user!
如果你是在linux下的话,我觉得还是php不错。
 
T

tinytao

Unregistered / Unconfirmed
GUEST, unregistred user!
学Delphi吧。Windows可以,LINUX也可以。
 
G

Greeneagle

Unregistered / Unconfirmed
GUEST, unregistred user!
我是在学DELPHI,但是由于工作,要在LINUX下做电子商务,想学一门比较有前途的,公司
厂商支持多的学
 
C

creation-zy

Unregistered / Unconfirmed
GUEST, unregistred user!
JSP好!
以前的贴子说过,PHP有“天生的缺陷”(但并没有说具体有什么缺陷),不适合用来做电子商务,
现在美国很少有网站用PHP的。
 
J

Jedei

Unregistered / Unconfirmed
GUEST, unregistred user!
L

love2001

Unregistered / Unconfirmed
GUEST, unregistred user!
我还是建议学jsp
 
H

htw

Unregistered / Unconfirmed
GUEST, unregistred user!

江维

Unregistered / Unconfirmed
GUEST, unregistred user!
jsp不错!
 
G

Greeneagle

Unregistered / Unconfirmed
GUEST, unregistred user!
大家说一些有实质性的说法,我想知道为什么?
 
G

gxwrj

Unregistered / Unconfirmed
GUEST, unregistred user!
jsp与平台无关
 

吴剑明

Unregistered / Unconfirmed
GUEST, unregistred user!
所谓PHP天生缺陷,似乎是指PHP不能和元件如COM、BEAN结合起来,而作为脚本语言,这是
功能受到限制的地方。
 
S

simbasun

Unregistered / Unconfirmed
GUEST, unregistred user!
What is the difference between JSP and PHP?
Answer
PHP is an open-source page scripting/templating system that is very similar
to JSP and ASP. It defines its own scripting language, which looks and feels
a lot like Perl. JSP uses Java as its scripting language (although some
implementations support JavaScript, such as Caucho). ASP uses VBScript.
PHP is very popular -- it is used on over a million web sites -- but its
main advantage (IMHO) seems to be that the language, being more "scripty"
and Perl-like, is less intimidating to the great unwashed mass of HTML monkeys
and hackers. In the long run, JSP and Java provide a more powerful system.
Here is a list of reasons why JSP is better than PHP:
1.Anything you cando
with PHP, you cando
with JSP;
the reverse is not true
2.JSP is much more powerful, since it has access to all the Java libraries.
PHP only has access to PHP libraries
3.JSP is Object-Oriented, so leads to cleaner code that's easier to debug, maintain, and improve.
(PHP also allows objects, but the object model is more primitive, and most scripted pages ignore PHP objects
and just use normal variables.)
4.The equivalent syntax in JSP is just as simple to learn, so you can get up and running just as quickly -- that is,
there's no extra startup cost in using Java, at least not a significant one
5.Java programmers (as opposed to 15-year-old hackers or HTML monkeys) appreciate the importance of a clean language
with complex OO data structures and strong typing
6.With JSP, if the code inside a page gets too big, or if you want to use it else
where, you can cut it out, make it
into a Java class, and invoke it from anywhere in your application (even not from a page). With PHP, you're stuck
inside the HTML box.
7.JSP's concept of state management and persistence is more explicit and powerful than PHP's. With JSP, you can specify
whether a variable persists for the page, the request, the session, or the application (or if it's just local to the function).
The JSP engine automaticallydo
es the right thing with cookies so you have access to the variable on later requests. With PHP,
you just have "global" and "not global", youdo
n't have automatic session management, and have todo
your state thing manually
with cookies or hidden variables.


 
W

wlmmlw

Unregistered / Unconfirmed
GUEST, unregistred user!
强烈推荐JSP。
 
L

luyear

Unregistered / Unconfirmed
GUEST, unregistred user!
jsp是从JAVA衍生过来的,前景比较好
 

夜鹰

Unregistered / Unconfirmed
GUEST, unregistred user!
用JSP 好,JSP前途无量,有大量的厂商和技术后援
 
W

winter-ch

Unregistered / Unconfirmed
GUEST, unregistred user!
呵呵,我选的是JSP
 
D

Derlin

Unregistered / Unconfirmed
GUEST, unregistred user!
听我们教Asp的老师说,Asp是windows平台下的,
如果服务器是unix,linux的就不能用Asp了,不知道对不对
 
L

liuyang

Unregistered / Unconfirmed
GUEST, unregistred user!
应该是jsp!
 
M

mallisa

Unregistered / Unconfirmed
GUEST, unregistred user!
学jsp吧,据清华大学的一位老师讲,php作为免费软件,曾经风靡一时,但它与底层的接口
很欠缺,已经逐渐淡出历史的舞台。
 

Similar threads

回复
0
查看
851
不得闲
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
顶部