Jsp Or Php - Faster, better, ....

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #17) by masugidsk8r on Mar 13 2007, 11:19 AM. (Line Breaks Removed)
I think I prefer PHP because it\'s much easier. Plus it\'s object-oriented. It uses the same classes and objects functions as JAVA. Besides, some JAVA developers are trying to get to developing Javascript/AJAX applications with the help of Google Web Toolkit.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > CONTRIBUTE > Computers > Programming Languages > Java, Java Servlets, Java Script, & JSP

Jsp Or Php - Faster, better, ....

p_a
I had bad experience with Java Server Pages. Lot of problems, website in difficulties, ....

PHP seems to be much better. Fast, reliable. Optimized for databases. Really good.

Many sites went from JSP to PHP.

Reply

patelg
QUOTE(p_a @ Sep 27 2005, 08:12 AM)
I had bad experience with Java Server Pages. Lot of problems, website in difficulties, ....

PHP seems to be much better. Fast, reliable. Optimized for databases. Really good.

Many sites went from JSP to PHP.
*



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.

 

 

 


Reply

vitrus
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"...

Reply

dul
Of course JSP. PHP good. ASP as well. But JSP's encoding is very good.

Reply

epox
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.

Reply

mcfly
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).

Reply

Plenoptic
I don't have experience in either of the programming languages yet but I think they both have their advantages. I prefer php though. I use it for navigation around my site.

Reply

michaelper22
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).

Reply

masterio
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? sad.gif

Reply

fffanatics
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

Latest Entries

masugidsk8r
I think I prefer PHP because it\'s much easier. Plus it\'s object-oriented. It uses the same classes and objects functions as JAVA. Besides, some JAVA developers are trying to get to developing Javascript/AJAX applications with the help of Google Web Toolkit.

Reply

salamangkero
Just a short interesting analogy I've heard fro a friend:

Java and JSP are like obsessive-compulsive people who cannot seem to trust their programmers/developers. It's a lot like they're thinking, "You are a developer. You are prone to mistakes. It is my job to call attention to even the tiniest of your mistakes. I know I'm slow but that's because I'm nitpicking your work so shut up and wait for me to finish."

C and PHP, on the other hand, are like totally gullible slobs. They trust their developers, sometimes a bit too much. "I know you can do it," they say. "If something goes wrong, though, it's not my problem 'coz maybe you want that something to go wrong. Maybe you aren't making mistakes but just doing that $#!+ on purpose. Go ahead I won't stop you."

So in the end of our dinner, I was even more befuddled with visions of talking programs. Still, though, it all depends on your needs. For general-purpose web development, though, I think PHP is better.

Reply

apacheNewbie
JSP is usually used for big enterprise application and PHP for smaller ones

But I think newest version PHP has major upgrade which make it able to make enterprise application equal to those built using JSP.

And, I feel that JSP is overcomplex, so I choose PHP biggrin.gif

Reply

FLaKes
It totally depends on what you are using it for, for normal everyday applications I think php will be better but if we are talking about enterprise level kind of applications were lots of security is involved I would think that the better option would be jsp. Php has more user support and you can find help almost anywhere though.

Reply

everflame
It mostly depends on the project itself. If it's a small one php will do just fine. But if you intend to build something big, evergrowing and with a lot of complexity and still you need to keep it neat and easy to maintain, I'll say go for JSP. But have in mind that it is far harder to find free JSP than PHP hosting. One more advantage...And here is the greatest advantage of developing in JSP....Whenever you reach a dead end in writing your J2EE app there is always someone that can help you out there on the numerous java forums.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. java vs. php?marc andreeson - 5.70 hr back. (1)
  2. how jsp relate to php - 50.55 hr back. (1)
  3. which is better php or java - 76.01 hr back. (1)
  4. jsp versus php sun one speed - 78.21 hr back. (1)
  5. wowbeez - 80.78 hr back. (1)
  6. what is better php or jsp - 89.65 hr back. (1)
  7. jsp i better then php? - 127.82 hr back. (1)
  8. jsp php secure - 141.37 hr back. (1)
  9. ajax jsp or php - 156.01 hr back. (1)
  10. use java php or jsp - 175.38 hr back. (1)
  11. who is better php and jsp - 180.13 hr back. (1)
  12. php5 java better - 221.75 hr back. (1)
  13. is jsp better than php with database - 227.85 hr back. (1)
  14. jsp is better than php - 179.30 hr back. (2)
Similar Topics

Keywords : jsp php faster


    Looking for jsp, php, faster

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for jsp, php, faster

*MORE FROM TRAP17.COM*
advertisement



Jsp Or Php - Faster, better, ....



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE