How php is better than JSP and ASP.net ?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
hiren
Forum Newbie
Posts: 3
Joined: Sun Oct 16, 2005 4:48 am

How php is better than JSP and ASP.net ?

Post by hiren »

I am a Php developer and I am using mysql as a database .

But I am confused , becoz 9 out of 10 times I need to depend on internet connection to ghet the free code.

Since Php is not a complete suite of applications , we need to search and install so many packages with it .

But Asp.net comes with all the needed packages and documentation , so it is faster as compared to project completion .

Can anybody help me to find out the differences between all this ?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

ASP is microsoft and only works on windows platforms.

PHP, in the early days, was relatively slow, but in the newer versions, it's speed is comparible with that of other languages. I think, part of the beauty of it, is it's 'lightness' and the fact it doesn't come with other stuff built into it. PHP is a very powerful language. PHP/MySQL is a deadly combo. I believe once you get familiar enough with it, you will love it, and find your project completion time shorter.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: How php is better than JSP and ASP.net ?

Post by onion2k »

hiren wrote:I am a Php developer and I am using mysql as a database .

But I am confused , becoz 9 out of 10 times I need to depend on internet connection to ghet the free code.

Since Php is not a complete suite of applications , we need to search and install so many packages with it .

But Asp.net comes with all the needed packages and documentation , so it is faster as compared to project completion .

Can anybody help me to find out the differences between all this ?
If your idea of software development is to install code that other people have already written then you're probably right: ASP.NET would suit you better.

However, if you write your own code then PHP is a lot easier to get to grips with, doesn't have such a rigid object oriented structure, is much easier to maintain on the server, and doesn't lock you into a Microsoft platform. What's more, if you rely on Microsoft's packages you opening your code up to a heck of a lot of security issues that PHP manages to dodge.

Use what you prefer.

This is not the place to evangelise about ASP.NET though, so I wouldn't try to argue the point.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Moved to General Discussion.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

in all fairness ASP has a really nice forum i want to use.. :-D
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

All programming languages have a time, place, and situation to which they are appropriate. The only way you'll be able know about that is to educate yourself on what each offers, their comparative advantages/disadvantages, and by avoiding all the hype and jumped up claims each language will inevitably make ;).

If it helps:
http://www.oracle.com/technology/pub/ar ... l_asp.html

ASP.NET as you can see is very limited on the platform front, operating system front and its slower. Yet another sign of Microsoft's adverse monopolistic practices. You actually need at least one unsupported (by MS) module to allow it to work on Apache - a very serious drawback. It's because of Microsoft's typical Windows/IIS orientation that PHP is such a powerful alternative.

Who wants to use ISS over Apache? <shudder>
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Post by Bill H »

PHP/MySQL is a deadly combo
Utterly awesome. The PHP function set for integration with MySQL was written by qeniuses.

It is so much fun that I run around looking for applications to program. I have even done a couple for free, just for the fun of doing them. (Of course being officially retired helps.)
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Being officially retired would be a dream ;) Preferably with a comfortable source of income and nothing but free coding time...

Ah, another 25 years...
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

The original topic mentions JSP. Anyone here code with JSP before. I haven't but I have been curious about it lately.

PHP like Linux means freedom for me. KYeah there's a learning curve but once you get over it you don't feel tide down to M$ ...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I've worked in JSP, it wasn't all that fun... kinda like my experience with Java.. just a bit too OOP crazy..
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

feyd wrote:I've worked in JSP, it wasn't all that fun... kinda like my experience with Java.. just a bit too OOP crazy..
there is something OOP, and there is this being overly OOP
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

JSP is just like PHP... markup/constant text with a bit of code in it (Ok, it's compiled into a Servlet by the webcontainer in the background but that isn't really relevant imho) The (dis)advantage that you have to use the Java libraries to get things done which are a couple of degrees more oo-ish.

A more important advantage is the fact there are a couple widely supported frameworks like Struts, JSF, openLaszlo. I can imagine that people are quite happy with wact, mojavi, agavi, pear, prado, ... too.

Meaby the biggest the difference is at the level of IDE/tool support. Untill now i've found a lot more tools that allow for J2EE than for PHP.
Post Reply