Hi, I have some doubt in my mind about web development that should i need to go for the PHP or .net based website. As i know that .net based website is much secure then of PHP but it's expensive then of PhP. So can you please give me suggestion in details ? What should i do and why ?
PHP runs everywhere. .NET does not. PHP is free. .NET is not. PHP usually requires less lines of code. .NET requires more. PHP will remain stable for many years. .NET has had several major changes just in the last seven years. Conclusion: don't use anything .NET.
nothing 10% secure , besides look at Facebook , its a php website , besides php has a lot references, resources and tutorials more than asp.net
PHP and .Net are both free. PHP and .Net can both be used to write secure or insecure websites. There are (at least) two considerations that go into making the decision: 1) Are you running on an IIS server or an Apache server? 2) Which languages are you most comfortable/experienced with? Neither security nor price enters into the decision.
No. .NET is not free. 1) You must buy Windows to code for it. 2) You can only run .NET applications on Windows servers (for the web) which cost more.
I was not looking for this thread but it has made me more conscious since I was almost going to develop a new SaaS in .net and forgoe .php which i have historically always used. It was convienient since i found a local coder but I will go back to developing in .php now
Everyone here seems to like PHP more. I do too... In any case, .NET is a framework, not a language. Just because it's free, it doesn't mean it's better. There are advantages and disadvantages to each. Here's some fun facts: ASP.NET/C# is a lot faster than PHP because it's applications are compiled. While PHP is an interpreted language meaning it has to be compiled each time it runs, therefore it is slower. Also, everything that you develop in ASP.NET/C# can be compiled as Windows application with just few modifications. Having to develop in both languages, I'd say ASP.NET/C# is much easier to manage and debug if you are developing huge applications. Just saying, there is nothing better than the other, just choose the one that best suits your needs.
You must buy a computer to write PHP code, so it's not free either - in that sense. .Net does come in a free version. (Do you include the price of building a garage as part of the price of your car?) Which was the reason for my first point. If you're running on Apache without .Net capability, you don't have the option of using the .Net framework. (And since there's no question of which is the better server, this thread is about as moot as the last 200 times someone asked the question.) But it usually doesn't cost more to buy Windows hosting than it does to buy Linux or FreeBSD hosting.
No. All things being equal, including that a computer must be bought. .NET will cost you more in every way. And you don't have the NEED either. .NET is only needed for Windows. Haven't looked in a while but it used to always cost $10 to $20/month more.
Not appreciably. When you're spending $25,000 for a server, a few hundred for an OS is almost insignificant. I seem to be having a problem on this site with some words not showing. What I originally saw of that line (until I quoted it) was: And you don't have the NEED either. .NET is only needed for . And I immediately thought "only needed for people who can't write software". It's also "needed" when your client tells you that you're going to be writing his site to run on that Windows box - or someone else is going to be writing it. I sometimes take jobs like that because the code the site will need sounds interesting. Not often - sometimes. Can't get much cheaper than some of these http://www.webhostingsearch.com/windows-web-hosting.php (I'm not saying that any of them are any good but there are reviews.)
Having used both I prefer PHP over .NET, but they are both as bad/good as each other. I prefer the documentation for PHP and as the PHP community is larger finding a solution to something you are stuck on is usually relatively easy!