Page 1 of 1
How php is better than JSP and ASP.net ?
Posted: Sun Oct 16, 2005 4:56 am
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 ?
Posted: Sun Oct 16, 2005 5:48 am
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.
Re: How php is better than JSP and ASP.net ?
Posted: Sun Oct 16, 2005 9:55 am
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.
Posted: Sun Oct 16, 2005 10:02 am
by John Cartwright
Moved to General Discussion.
Posted: Sun Oct 16, 2005 10:12 am
by Charles256
in all fairness ASP has a really nice forum i want to use..

Posted: Mon Oct 17, 2005 4:01 am
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>
Posted: Mon Oct 17, 2005 9:57 am
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.)
Posted: Mon Oct 17, 2005 11:16 am
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...
Posted: Mon Oct 17, 2005 8:50 pm
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$ ...
Posted: Mon Oct 17, 2005 9:48 pm
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..
Posted: Tue Oct 18, 2005 2:06 am
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
Posted: Tue Oct 18, 2005 2:24 am
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.