Hi , I will make a social networking website. My coder will use ASP.net but people are suggesting me to use php. Which will be better and what are the difference between them? Thanks
Hi, Both are server-side technologies and allow to do a lot of things thanks to their huge frameworks out of the box. ASP.NET is a Microsoft technology while PHP is open source. In regard of the hosting, that makes a diffference price wise (PHP/MYSQL is cheaper than ASP.NET/SQL SERVER hosting). Same if you want to find developers, a MYSQL/PHP dev is cheaer than a ASP.NET. I would say unless you have good reasons to use ASP.NET (you know a good developer etc), it would be easier for you to use PHP/MySQL. Hope it helps. Patrice
PHP : cheap server cost, ASP : expensive server cost. ASP run on win server and php on unix or linux.
hi, thank you so much for the reply. I have heared something about liscense. Can you please explain about ASP liscenese? Like do I have to renew the liscense or buy new liscense for future modifications or adding new items into my social networking site? thanks again.
The only license you need to run asp pages on your server is an operating system license for the box where the IIS server is running. If you use hosting it's included.
actually i didn't understand about operating system license. Is that mean the coder who is making the site have to be licsensed windowx operating system on his hard disk?
ASP -> Windows only. PHP -> Could be run on Linux, or Windows, and probably some others I'm not thinking of right now. As others have said, the cost is generally going to be higher for hosting the ASP script down the road, as windows hosting is generally more expensive.. and if the ASP script is using Microsoft SQL for it's data storage.. well.. that's going to be *really* expensive. (Especially if it should grow to were you decide to get your own hardware and host it yourself someplace)... SQL Server licenses are insanely priced when done per CPU...
no, the developer doesn't need a license (unless he develops the pages under Windows which is more than likely if he/she does ASP code) but the server where the pages are gonna be hosted needs a windows license. However there are some exceptions: - ASP.NET pages with Mono and Apache. - I think there is an ASP engine somewhere other than IIS but I don't remember its name (maybe Chilisoft ASP) Patrice
.Net can be run on linux but in reallity is best suited to running on Windows servers. That said, the price difference between a Linux server and Windows server is normally a couple of dollars a month at most and for any business site shouldnt really be the deciding factor. PHP has the advantage of many more developers and so cheaper prices. More free off the shelf solutions. .Net has its own advantages too in terms code being compiled and therefore quicker to execute. We find .Net development is quicker and so number of hours to develop custom solutions are quicker etc.
There's an overwhelmingly large amount of PHP developers in my area (Boston) and very few ASP guys as far as I can tell.
I can tell you it's quite the opposite if you are looking to a big script that uses a lot of cpu. When it comes to enterprise size websites development is quicker and cheaper on ASP.NET and it's the same with hosting. Yes, a windows license is going to cost but the hardware required to run a large php application is a lot more expensive. ASP.NET applications scale upwards very well. Less RAM needed and less CPU. Let's not forget we are talking of compiled code, heavily optimized by the jit compiler. PHP is easy to code and simple. A 12 years old can do it. Great for small and simple projects. But if you want something big..... As for hosting...somebody said that it's really expensive to use SQL Server. With all the respect, he doesn't know what he is talking about. SQL Server Express is free! Yes it has limitations: no replication, no clustered services, and 4Gb database. What? You think the free mysql version support replications and such? Those features are never free, regardless of the vendor. As for licenses....hosting companies pay for bulk licenses. They are a lot cheaper then what you would pay for at home. Usually the hosting price is 1-2$ over the linux hosting price for the same hardware. Other times they are simply the same. My hosting company has flat prices for both. And as I said, ASP.NET scales up a lot better. In the long run it's cheaper.
Excluding server things, ASP programmers are also hard to find for developing your site, addons, etc PHP you'll find very easy
Hi, As an ASP.net developer this my opnion php +easy to develop +more developer + runs on linux cheaper + a lot of free code out here - Slower - slower development Asp.net + faster + faster development + cleaner code + bigger companies like it better (They know and trust MS) negative points other posts already said. I would try to find or even buy a base framework to start with for .net go to www.asp.net good luke with the project