![]() |
PHP or ASP.Net?
Ok, what is better in your opinion - PHP or ASP.Net? Provide a reason for your answer :)
|
php: no M$ included :)
|
Re: PHP or ASP.Net?
Quote:
--Petey |
Professional or Personal stand alone websites: Normally PHP, as its free, open source, yada yada yada.
However, ASP.NET does have its advantages. Such as its tight integration with Active Directory and some of its new uses which haven't been published too much. I'm not saying one's better than another, I'm just saying they have their own uses. Personally, I develop for asp.net, but thats mainly because my office uses it so thats what I taught myself. (Gov't tends to like going m$, they just find it easier than trying to figure out a whole new OS [linux]. However, we are going to move to php and MySQL within the next few years for our new projects, mostly as a proof-of-concept for the state of florida gov't system. We'll proboly implement it first, and from there [as long as we do it well] it should spread throughout the state fairly easily). |
PHP totally wins over anything out there. Barely no one uses ASP, and that is for a reason.. it is terrible.
|
Quote:
If my host would allow Windows 2000 server users PHP, then I'd not be contacting Tech Support all the time. PHP also has more easier syntax in my opinion. A simple difference: PHP Code:
|
Quote:
back to the topic PHP mainly becasue of OpenSource and Simplicity. |
Well, I tried both PHP and ASP before, and I kinda like PHP better myself :) One more question: how to use classes in ASP.Net code on Brinkster? If I just put them with the rest of the code like this
Code:
<script runat=server> |
Quote:
|
.NET Rocks! I've seen PHP and it is ok but you can do so much with .NET. And you can program your site in Visual Basic .NET, C#, J#, C++, what ever. THe Visual Studio .NET IDE is the best I have ever worked with. But then I've only been programming for a little over 30 years. :-)
I like .NET so much that I went and got a job at Microsoft. But I liked .NET for years before I made the move. |
Its not really a valid comparison. PHP is better than old-school ASP, but ASP.NET is an enterprise-capable framework for distributed applications. Its competitor is J2EE, not PHP so much. I can see why you would like PHP over ASP.NET, but there are some killer development tools available for .NET. For the last few years I've been working on a product in VB that uses ASP as the presentation layer. The improvements in .NET are unreal, but ASP still has a place for simple web sites.
Heres an implementation of echo for ASP: Code:
<%@ Language=VBScript %> |
I myself use PHP all the time. Its a simple language that has great integration with mostly any type of SQL server. I have a PHP and web serverr urnning off my computer here right now, it was on windows and now is on linux. I also have a coulple of other places where I use PHP, such as on scriptlance (to bring in some online cash) and helping my friend with his site, plus it's also juts fun to goof around with.
|
php. why? asp (not going into .NET here) is propreitary, doesn't run on anything but IIS (which means it inherently has security holes) and the syntax is extremely convoluted. i tried learning ASP a while ago, and it set me off the track of hypertext preprocessors (i started using perl for everything. recently discovered that php was alot better for alot of things i was doing.) not to mention that php has unparallelled integration with SQL. like asp, php also has a company behind it (zend) that is pushing development and keeping it organized, but at least zend isn't a coporate money-hogging control freak. :D
|
ASP 3.0 for Sun ONE and Apache
Quote:
http://wwws.sun.com/software/chilisoft/index.html |
Quote:
You have to remember that PHP is only for small individual projects, whereas ASP is a professionals language, honestly speaking here guys. Here is a quote from a man who is heavily involved in PHP. Quote:
http://www.edwardbear.org/blog/archives/000189.html So basically it IS a good language. Easy to learn, powerful etc. but if you want something that is universally used, powerful, extendable and PROFESSIONAL check out ASP.NET. MS has powerful and easy to use OS's and languages sure...but thats only when they actually work. ;) :p |
| All times are GMT -5. The time now is 08:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi