How php is better than JSP and ASP.net ?
Moderator: General Moderators
How php is better than JSP and ASP.net ?
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 ?
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 ?
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.
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.
Re: How php is better than JSP and ASP.net ?
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.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 ?
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.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
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>
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>
- Bill H
- DevNet Resident
- Posts: 1136
- Joined: Sat Jun 01, 2002 10:16 am
- Location: San Diego CA
- Contact:
Utterly awesome. The PHP function set for integration with MySQL was written by qeniuses.PHP/MySQL is a deadly combo
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.)
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
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.
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.