Question:
Windows ,IIS and ASP VS Linux, Apache, and php?
anonymous
2007-11-10 02:00:02 UTC
What would be the best choice. What should I focus more on?
I want to create a website and host it, but i cant make up my mind. What will be the best choice?
Can you tell the pros and cons?

Thank You
Nine answers:
anonymous
2007-11-10 05:50:11 UTC
If you have money and time, learn ASP.NET + C#. PHP is really a piece of junk compared to C#.NET and ASP.NET believe me I've been working with PHP as well as C# and ASP.NET. PHP codes get really messy when you involve with large project.



However if you just want to play around with web programming and start to learn, php seems to be ok (just ok). On the other hand, you can have many better choices over PHP like Python. It's a very nice language (a much better than PHP).



And BTW, for all Open Source frenzy, you can run ASP.NET with C# codes on a Linux Box + Mono framework and Apache server with lib asp.net. If you want to get serious about web programming forget about PHP. Either Python, ASP.NET + C# or J2EE
Mr. Todd
2007-11-10 09:22:19 UTC
Go LAMP all the way.



If you're going to do just scripting *Ie just message board and widgets*, you won't need more than php and mysql. When you start getting into more complex programming python and perl are great!



The great advantage of linux with apache is, it's free. Free like beer and speech. If you're physically setting up your own server, you can feel free to change anything you want in the code to adapt it to your needs.



There is gobbs and gobbs of information of scripts, how tos, open source software, etc for this setup. Php is extremely easy to learn, and free mind you. *like both beer and speech* It can get spaghetti style if you have poor organizational skills, but I've seen very large programs written in php that were both clean and easy to read. *You can find crappy programming on both sides of the fence, so don't use it as an argument to choice either*



The disadvantage of LAMP, there isn't anyone to tell at. Something screws up, it's no ones fault but your own. Apache isn't owned by a company like Microsoft. It's a community built application.



Windows IIS and ASP. The advantages, once you've paid for you'll have some tech support for a limited amount of time. Since it's geared towards business owners it has that mentality. Any problem you have, you can call someone and pay them, the problem will be fixed.



ASP, especially .NET ASP is extremely powerful. Since you're taking advantage of the full operating system, you can write full scale programs online that function just like their desktop counterparts.



The great disadvantage, and trust me, it's a big one, you have to code, the Microsoft way. What is the Microsoft way? You have to use their development software to build all your apps with. It costs a pretty penny to! Want to hardcore your apps from scratch? Too bad! Once you start developing a project with their software, it's a code minefield to just figure out how to do the simplest of tasks!



The Microsoft way also entails, you have a bug in your server software, there's a good chance they'll say, sorry we'll be fixing that problem in the new server 2007. Want to fix the problem yourself? Not going to happen, Microsoft's source code is as closed as Fort Knox. So even if you really wanted to, you couldn't fix the problem.



I'm sure I could go on forever, but that's the basics for you.
?
2016-05-29 05:27:44 UTC
I'd recommend Linux, Apache and PHP, because that's what most people use and so there's loads of useful stuff on the web if you get stuck. Also, linux/php/mysql hosting is generally cheaper than Windows stuff. SSL doesn't give you security. It gives you encryption, in one specific area. You still need to think carefully about security in every piece of code that you write, especially in the code that accesses the mysql database.
fretless
2007-11-10 02:53:18 UTC
Definitely Linux, Apache and php. Cheaper hosting and many many open source programs to help you now or in the future. (open source CMS, forums, e-shops etc).

Also you don't have to restart your server all the time.



Sorry I am afraid I do not know any pros for Windows.
anonymous
2007-11-10 02:28:39 UTC
Go with Apache and php, it's free stable and there are alot more free php & mysql apps available goto: www.hotscripts.com for apache bundles for windows & Mac as well as thousands of php scripts.



PHP is pro, if you like to write vb code go with asp 'cause your going to be doing alot of it , very few free asp scripts, after all there written in the M$ win world and php is open source
Dan.
2007-11-10 02:05:27 UTC
linux servers are the best for hosting, php is great for forums, i use plain old html and java for websites
grasshopper645
2007-11-10 02:02:26 UTC
apache. PHP is a script for making websites - not hosting
Vivid Spirit
2007-11-10 02:14:07 UTC
if you to use open source web applications or CMSs the best choice is Linux and PHP.



but i myself prefer IIS and ASP.NET
NadineC
2007-11-10 02:22:55 UTC
for beginners choose PHP



pros: It is easy to learn, free, flexible and powerful.



for advance choose ASP.NET or JSP



pros: a must to learn


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...