Reply
Old 06-21-2009, 12:39 PM Re: JSP vs. PHP
EricReese's Avatar
Super Talker

Posts: 137
Name: Eric Reese
Location: Maryland, USA
Trades: 0
I don't know why people keep comparing languages asking which is better. All languages can do the job, it's just a matter of how easy it is to do said job.

I'm not sure how PHP isn't reliable with larger databases..could you expand on that thought?

Well even though this thread is old, I still gotta contribute I notice with PHP you can learn a lot of what you need in a weekend. But with JSP, it takes a long time because Java is a full fledged programming language.

Cheers
__________________
I am 17 years old.Looking for Web Design Job(s). If interested use my contact page
CSS3.info | My site | W3C | Dynamic Site Solutions
Funny Line- "I'll Twitter your Yahoo! until I Google all over your FaceBook :D
EricReese is offline
Reply With Quote
View Public Profile Visit EricReese's homepage!
 
 
When You Register, These Ads Go Away!
Old 06-22-2009, 12:47 PM Re: JSP vs. PHP
willcode4beer's Avatar
Super Moderator

Posts: 1,388
Name: Paul Davis
Location: San Francisco
Trades: 1
Writing Java inside a JSP is generally considered an anti-pattern. One of the worst practices.

Logic should almost always be performed in a servlet or a controller class. The JSP should really only function to render data.
__________________
Paul Davis

earn $$$ write for willCode4Beer.com
willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 06-30-2009, 05:58 PM Re: JSP vs. PHP
Junior Talker

Posts: 1
Name: Eric
Location: Northwest Oregon, USA
Trades: 0
I am a software engineer currently looking for work, and I've noticed that the two most popular web development languages being used right now seem to be ASP.NET and PHP. I've also been seeing some postings for web jobs using Ruby on Rails and some for Django (a web framework that uses Python). As for JSP, I don't remember the last time I saw a job posting for JSP.

I haven't used Django, but I've heard that it's designed for rapid, well-designed web development with clear, understandable code. I've used Python before, and Python itself has a fairly large standard library, which I thought was nice. I've heard that Ruby on Rails is also a good web framework.

I've used PHP, and I think it works well as a web development language. Much of my PHP experience has been with version 4, and one of the things I didn't like so much about PHP is that it didn't have good support for object-oriented programming. Thus, much of PHP's functionality is provided simply by a set of functions that you can call, passing a bunch of parameters. And it feels like the design of PHP was a bit disorganized, with multiple functions performing similar tasks (i.e., explode() vs. split(), and ereg_replace() vs. str_replace()).

Last edited by FlyingToaster; 06-30-2009 at 06:09 PM.. Reason: Adding more thoughts about Django, Ruby on Rails, and PHP
FlyingToaster is offline
Reply With Quote
View Public Profile
 
Old 06-30-2009, 06:26 PM Re: JSP vs. PHP
Junior Talker

Posts: 1
Trades: 0
PHP is a scripting langaguge. PHP is used to create website fast and easy, It is easy to cheap to find hosting for it. But it is not build to develop stable system like JSP JAVA and beans.
__________________
Find php scripts http://www.scriptcms.com
blog in pics (photo blog) http://www.pileofphotos.com
scriptcms is offline
Reply With Quote
View Public Profile Visit scriptcms's homepage!
 
Old 06-30-2009, 06:45 PM Re: JSP vs. PHP
willcode4beer's Avatar
Super Moderator

Posts: 1,388
Name: Paul Davis
Location: San Francisco
Trades: 1
That's because nobody does just JSP. In a professional shop, JSP's are just used for rendering. Try searching J2EE or Java EE.

dice.com 3500+(J2EE) 1400+(PHP) 2300+(ASP.net)
computerjobs.com 700+(J2EE) 300+(PHP) ~=500(ASP.net)
theladders ~=700(J2EE) 200+(PHP) 200+(ASP.net)

As a Software Engineer, also my title, you'll find most jobs want C/C++, Java, and/or C# with a random collection of other things. PHP and ASP.net tend to be m ore in the realm of web development and less in the realm of engineering (of course, there is overlap).

To decide what you want to do, first decide which direction you want to take your career.
__________________
Paul Davis

earn $$$ write for willCode4Beer.com
willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to JSP vs. PHP

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.13437 seconds with 12 queries