hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : PHP + MYSQL + Linux vs ASP + MS SQL + Win 2003
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

PHP + MYSQL + Linux vs ASP + MS SQL + Win 2003

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2007, 12:22 PM
Ron Ron is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Posts: 468

PHP + MYSQL + Linux vs ASP + MS SQL + Win 2003


What are the pros and cons?

Reply With Quote


Sponsored Links
  #2  
Old 04-05-2007, 03:59 PM
Xeentech Xeentech is offline
Web Hosting Master
 
Join Date: Aug 2005
Location: UK
Posts: 655
I'm SURE this must have been covered already.. use the search took Ron

Reply With Quote
  #3  
Old 04-05-2007, 06:23 PM
That Guy That Guy is offline
Over there
 
Join Date: Oct 2004
Location: LA, CA
Posts: 1,058
PHP - free, easy to use and learn, very popular
MySQL - VERY popular database, easy to use and well documented
ASP - Not free in most cases, but is still a pretty powerful language with slightly different syntax than other programming languages like PHP
MS SQL - No idea...

I think it depends on your personal preference. Honestly, I enjoy ASP; the syntax is fun to use for me. Never used MS SQL though, so I can't really tell much about that...why exactly do you want to know the pros and cons? If you gave a bit more detail maybe the people here could help you more thoroughly.

Reply With Quote
Sponsored Links
  #4  
Old 04-06-2007, 06:53 PM
billorly billorly is offline
Newbie
 
Join Date: Apr 2007
Posts: 25
I used to be a ASP.net 2.0 C# programmer, and I used to use MSSQL 2005. I liked the full-text search functionality and the actual programs that used to manage the MSSQL database and that is about all. To be honest it's really a big trade off between what you like more. The IDE that you can use for ASP.net is much better then anything you will find for PHP. But at the same time PHP is so darn lax that you can get away near anything in it. That is curse and a blessing all at the same time. I really used to like how I could actually press f9 to make the program stop to debug at a line of code, and press f5 to start and actually step through the code line by line and examine the variables. Also, intellisense is a huge plus (it's what helps you along in Visual Studio as you write code). I can guarantee that I code can be written much faster in C# ASP.net then any other language, but there are a lot of other disadvantages to using it though.

Disadvantages:
1) Cost. Windows boxes are going to run you more money (usually). Also legimately purchasing Visual Studio costs quite a bit, and if you aren't going to use VS then don't even think about it.

2) Efficiency. I could reference a page that shows PHP being faster then ASP.net, but that is common knowledge, so therefore I am not going to. As for MySQL vs MSSQL, those have to be pretty close to even, although I am sure most tests would show MySQL beating MSSQL.

3) Strictness. All languages ASP.net can handle are much more such then PHP. Enough said.

Reply With Quote
  #5  
Old 04-06-2007, 09:12 PM
Ron Ron is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Posts: 468
Quote:
Originally Posted by billorly
I liked the full-text search functionality and the actual programs that used to manage the MSSQL database and that is about all.
What do you mean by full-text search functionality?

Won't MYSQL allow you to do this?

Reply With Quote
  #6  
Old 04-06-2007, 10:17 PM
billorly billorly is offline
Newbie
 
Join Date: Apr 2007
Posts: 25
Well full-text search is like searching within an SQL field directly from your SQL query. Actually I just learned that MySQL now supports this too. So pretty much there isn't a lot of different in MSSQL and MySQL... except that with different versions of MSSQL you have various limitations depending on which package you choose. But MySQL is free and great though.

Reply With Quote
  #7  
Old 04-07-2007, 12:25 AM
jt2377 jt2377 is offline
Web Hosting Master
 
Join Date: Jul 2002
Posts: 3,336
Quote:
Originally Posted by billorly
I

2) Efficiency. I could reference a page that shows PHP being faster then ASP.net, but that is common knowledge, so therefore I am not going to. As for MySQL vs MSSQL, those have to be pretty close to even, although I am sure most tests would show MySQL beating MSSQL.
you need to run php scrpt everytime it is process on the server while asp.net is load once since it's compiled. where did you get the php is faster than ASP.net? Do you have something to back it up other than "common knowledge"?

http://en.wikipedia.org/wiki/ASP.NET

"Performance

ASP.NET aims for performance benefits over other script-based technologies ( including ASP Classic ) by compiling the server-side code to one or a few DLL files on the web server. This happens transparently in the background the first time a page is requested (i.e., the developer need not perform a separate compilation step for pages). This provides the ease of development offered by scripting languages with the performance benefits of a compiled binary.

The ASPX and other resource files are placed in a virtual host on an Internet Information Services (or other compatible ASP.NET servers; see Other Implementations, below). The first time a client requests a page, the .NET framework parses and compiles the file(s) into a .NET assembly and sends the response; subsequent requests are served from the dll files.

Developers can also choose to pre-compile their code before deployment, eliminating the need for just-in-time compilation in a production environment."


Last edited by jt2377; 04-07-2007 at 12:32 AM.
Reply With Quote
  #8  
Old 04-07-2007, 02:31 AM
billorly billorly is offline
Newbie
 
Join Date: Apr 2007
Posts: 25
Well, yeah that is true. I guess I should have specified specifically what I meant. As is ASP.net can actually wipe out PHP because pages are compiled vs. interpreted, but with Zend the code is compiled. ASP.net unnecessarily wastes memory and clock cycles. PHP + Zend is known to be faster then ASP.net. No joke, I very much like writing code in ASP.net, but I hate paying extra for a windows host. C# is a great language, but it's still oh-so strict. A good compromise for me would probably be JScript .net. Although it isn't an OOP language, it is a lazy language though, so I could learn to deal.

Reply With Quote
  #9  
Old 04-08-2007, 04:34 AM
eu_host eu_host is offline
WHT Addict
 
Join Date: Apr 2007
Posts: 135
I go for php mysql. why ? simple. It is free and if you have problems with your own code () it is very easy to find help.

Reply With Quote
  #10  
Old 04-18-2007, 03:12 AM
realmetrics realmetrics is offline
Disabled
 
Join Date: Apr 2007
Posts: 5
Linux Vs Win 2003

This will be an ongoing discussion but here is what I think.

Linux - free, security, protect pc from virus, spams, spywares.
Windows - Money, low-security.

PHP Vs. ASP

PHP: Faster, Free, Extras are many and free, cross-platform.
ASP: Limited by COM-object model, Money, Extras are Limited and cost money, Supports only windows platforms.

Mysql Vs. MS SQL

Mysql - Compatible with all other server side scripts
MS SQL - Supports only with scripts developed by microsoft.

Linux, PHP, Mysql are all around better choice than windows, ASP, MS SQL.

Cheers!!!

Reply With Quote
  #11  
Old 04-18-2007, 01:10 PM
M3TechSolutions M3TechSolutions is offline
Junior Guru
 
Join Date: Oct 2006
Posts: 182
Open Source FTW!

PHP, MySQL and Linux, are the best solutions in my opinion. I love open source. and I also love free stuff too! =P Plus with the MS stuff, you have to pay for those rediculous CAL's for EVERY potential user you have. And plus last time I checked Linux never gets a blue screen =)

Reply With Quote
  #12  
Old 04-19-2007, 02:39 AM
JustinH JustinH is offline
Web Hosting Master
 
Join Date: Nov 2000
Posts: 3,042
Quote:
Originally Posted by realmetrics View Post
Linux Vs Win 2003

This will be an ongoing discussion but here is what I think.
And it's dead wrong. Let's continue.

Quote:
Linux - free, security, protect pc from virus, spams, spywares.
Windows - Money, low-security.
The only truth in this is that Linux (without a support contract) is free, while Windows is not.

Linux is not natively any more secure than Windows, for a variety of reasons. It is the responsibility of a solid system admin to secure an operating system. Windows can be a very secure operating system, as long as a competent admin is running it.

The idea that Linux is better at preventing Spam is simply stupid. Spam has nothing to do with the underlying operating system.

Spyware is equally stupid, since spyware requires installing software, which an end-user does not have the capability to do.

PHP Vs. ASP

Quote:
PHP: Faster, Free, Extras are many and free, cross-platform.
ASP: Limited by COM-object model, Money, Extras are Limited and cost money, Supports only windows platforms.
Again, you got one thing correct. .NET is limited to Windows at this point. However, PHP is NOT natively faster. On the contrary, due to PHP's tendency to let absolutely crappy code run just fine, I've found it much easier to create bottlenecks.

.NET's limitation to the COM object is actually a feature, since it's an underlying feature of Windows. And .NET does not cost anything as long as you've already purchased a proper version of Windows.

And to say Extra's are limited is hilarious. While the majority of good ones do cost money, implementation is key. I don't mind working with commercial companies, it seems some do.

Quote:
Mysql Vs. MS SQL

Mysql - Compatible with all other server side scripts
MS SQL - Supports only with scripts developed by microsoft.
And this shows how little research you've done. Every scripting language currently available has the capability to talk to MS SQL servers, that includes PHP, Python, Java and Ruby, none of which were developed by MS.

Quote:
Linux, PHP, Mysql are all around better choice than windows, ASP, MS SQL.

Cheers!!!
At the end of the day, how many Fortune 500s are using PHP? Yahoo? While PHP can be a GREAT language so can the .NET platform.

Besides, at the end of the day, a real programmer learns Python .

__________________
A well-reasoned assumption is very close to fact.
- Adorno


Reply With Quote
  #13  
Old 04-19-2007, 02:42 AM
JustinH JustinH is offline
Web Hosting Master
 
Join Date: Nov 2000
Posts: 3,042
Quote:
Originally Posted by M3TechSolutions View Post
PHP, MySQL and Linux, are the best solutions in my opinion. I love open source. and I also love free stuff too! =P Plus with the MS stuff, you have to pay for those rediculous CAL's for EVERY potential user you have. And plus last time I checked Linux never gets a blue screen =)
Every potential user with direct access to the system. This does not include some guy with a web site. Only people accessing the operating system directly needs a CAL.

And since using Server 2003, I've NEVER gotten a blue screen. On XP, I've gotten exactly 1 blue screen (which was ATI's crappy drivers).

Come on folks, if you are going to comment, make it somewhat educated. It's okay to say you don't have much experience with Windows, or you prefer PHP because it's free, but don't randomly make up non-existent "bad things" to try and convince someone.

That being said switch to Python.

__________________
A well-reasoned assumption is very close to fact.
- Adorno


Reply With Quote
  #14  
Old 04-20-2007, 07:05 AM
realmetrics realmetrics is offline
Disabled
 
Join Date: Apr 2007
Posts: 5
Hi Adorno,

I’d like to remain the topic of this page. It’s PHP + MYSQL + Linux vs ASP + MS SQL + Win 2003. This topic is not about python.

Anyway I think you are python programmer. Great..

I know, both PHP and Python are entirely different in syntaxes. I'm more productive in PHP but I've not used Python yet.

Cheers!!!

Reply With Quote
  #15  
Old 04-20-2007, 01:07 PM
JustinH JustinH is offline
Web Hosting Master
 
Join Date: Nov 2000
Posts: 3,042
Quote:
Originally Posted by realmetrics View Post
Hi Adorno,
Actually, I'm not Adorno. He's another member on here and my signature is a friendly jab at him .

Quote:
I’d like to remain the topic of this page. It’s PHP + MYSQL + Linux vs ASP + MS SQL + Win 2003. This topic is not about python.
I'm aware of that. It's programmer humor.

Quote:
Anyway I think you are python programmer. Great..
No, I'm a programmer. The language I use in any given situation is based on a clients needs. Programming languages are just tools, and any programmer worth his salt will learn a programming language relatively easily.

Quote:
I know, both PHP and Python are entirely different in syntaxes. I'm more productive in PHP but I've not used Python yet.

Cheers!!!
You're the majority I'd guess. PHP's syntax allows for very sloppy syntax, which makes it really easy to learn.

__________________
A well-reasoned assumption is very close to fact.
- Adorno


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup – April 26, 2013 Web Hosting News 2013-04-26 16:31:48
Big Data and Cloud Drive Enterprise Linux Adoption: Report Web Hosting News 2013-03-27 12:54:34
Canadian Web Hosting Launches Linux Shared Cloud Hosting Service Web Hosting News 2011-12-14 15:01:34
Web Hosting Software Firm CloudLinux Releases CloudLinux OS Version 6.1 Web Hosting News 2011-09-13 14:08:49
Gazzang Data Encrytion Solution Adds Support for CloudLinux Platform Web Hosting News 2011-06-30 18:54:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?