| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Jsp Or Php
Started by p_a, Sep 26 2005 09:12 PM
21 replies to this topic
#2
Posted 26 September 2005 - 10:59 PM
p_a, on Sep 27 2005, 08:12 AM, said:
It depends, why and how you are using this technologies. For Normal web use, PHP will be easy to use with many features....as you already know.
But for complex websites and applications, Java/Jsp solution is much preferable, secure.
This is the reason big organisations use Java/.NET solutions.
Once you site grows bigger and bigger it becomes hard to maintain as it becomes complex with more users, more application and features.
Also, it requires more security, as it also increases threat of being hacked into.
For normal website, PHP solutions is great way to start.
Anyway, different developer has their own opinion but this is mine.
#3
Posted 10 October 2005 - 03:38 PM
You are totally right...
-PHP is much easier... You don't have to bother about object types (string, integer, array, enumeration ed).. you just enter $object = "whaaaatever"; and it allways works...
- PHP works fast for small applications (so most personal websites).
- PHP has more default methods (like stripslashes() sha1() md5() etc)...
- And a PHP host is very easy to find... JSP takes some more time....
However: JSP / J2EE r0000x..
if you use it where its made for "Jave 2 enterprise edition"...
-PHP is much easier... You don't have to bother about object types (string, integer, array, enumeration ed).. you just enter $object = "whaaaatever"; and it allways works...
- PHP works fast for small applications (so most personal websites).
- PHP has more default methods (like stripslashes() sha1() md5() etc)...
- And a PHP host is very easy to find... JSP takes some more time....
However: JSP / J2EE r0000x..
if you use it where its made for "Jave 2 enterprise edition"...
#5
Posted 19 October 2005 - 02:51 AM
i think java is better than php, in one hand php is easy and it doesn't have language restrictions and at last it brings you the security that any other language offers you, but when you talk of proffesional coding it's worthless because it hasn't variable constraints and a lot of things respect to object oriented programming. In the other hand java is specially designed for a good object oriented programming, it's a litle hard to learn but it has the modularity needed to acomplish professional coding and also all the complex of java packets.
#6
Posted 05 November 2005 - 08:51 PM
When I first encountered PHP about 5 years ago (can't even remember which version it was...an early 4.x, I think) it had some issues. We were thinking of switching from CF to PHP, but in our testing one of the dll's related to PHP kept throwing errors and gumming up the works. But that was a long time ago and PHP has seen some pretty serious changes since then.
A few days ago, Marc Andreeson was quoted as saying he thinks PHP will surpass Java as the "standard" server-side language (perhaps he specified "web-services language," I can't recall).
To be brutally honest, I think one of Java's biggest problems is Sun. I'd have more faith in it's longevity if it were an IBM product (which may be the case, some day).
A few days ago, Marc Andreeson was quoted as saying he thinks PHP will surpass Java as the "standard" server-side language (perhaps he specified "web-services language," I can't recall).
To be brutally honest, I think one of Java's biggest problems is Sun. I'd have more faith in it's longevity if it were an IBM product (which may be the case, some day).
#8
Posted 26 November 2005 - 11:38 PM
ASP.Net and JSP are better for large scale, enterprise level applications. I went to the MSDN event in NYC, and in the demonstrations, they were using Visual Studio, a rather expensive product (depending on the edition), and more affordable for companies than individuals. PHP is free and can be developed for with pretty much any editor (not to mention many good free IDEs).
#9
Posted 28 August 2006 - 02:27 PM
For me, PHP is the best programming tool even for enterprise solution. I know java is good. But for web programming, nothing is better than PHP.
if you talk about OOP, just remember, PHP 5 now support OOP 99,5% not like PHP 3 or 4. BTW, there is no system 100% secure. It's depend on the programmer side. Is he understand about security or writing secure code?
The most best market for java i think is for Mobile Application. I've learn java and it run so slow, than C or C++. Just an example, to open "open dialog box" java (I used JAVA 1.5) need at least 6 seconds. And C++ application only took 0.01 secs. Any one has some problem?
if you talk about OOP, just remember, PHP 5 now support OOP 99,5% not like PHP 3 or 4. BTW, there is no system 100% secure. It's depend on the programmer side. Is he understand about security or writing secure code?
The most best market for java i think is for Mobile Application. I've learn java and it run so slow, than C or C++. Just an example, to open "open dialog box" java (I used JAVA 1.5) need at least 6 seconds. And C++ application only took 0.01 secs. Any one has some problem?
#10
Posted 28 August 2006 - 03:31 PM
You cant just say php or jsp. You have to look at the project you are currently creating and determine what features it needs and will needs and then you choose the language to do it. For smaller projects that dont need all of the windows look-and-feel that the jsp and ajax pages allow, you would stay with php. If you get into a page like gmail, etc. that need tons of complex features, multiple developers working on the same project, etc. you would go with java because it would decrease the time it would take for a project like that to be completed as compared to using php. Finally, you also could do similar types of pages in lisp and write your lisp code so it outputs to php / c code that can be used on the web. Those are your options but you have to know exactly what the person / company wants before you choose a language.
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















