[Last Call] Learn how to a build a cloud-first strategyRegister Now


PHP vs ASP , which one to choose on my project.

Posted on 2012-09-07
Medium Priority
Last Modified: 2012-09-13

I have some hands on experience on asp.net.I already built a web site on my own.
I will soon be giving a project of web site creation on a freelance hire web site on internet.
The web site will be selling some e-books so it will need to have an admin panel etc...

I requested the web site to be on ASP  + MSSQL but
 many programmers suggested to write the site in PHP and MySQL rather then ASP and MSSQL.
Could you give me any suggestions why they suggest this and which one is better ?

Thanks in advance all
Question by:JoeBlack1980
LVL 11

Assisted Solution

Slimshaneey earned 572 total points
ID: 38376154
I develop in both. I have worked for agencies where we make this decision many times. Generally, you go with what fits. PHP is cheaper to run, implement, develop and has far larger communities of developers to choose from. .Net gives Microsoft backing (Important for many of the Govt. agencies I sometimes build solutions for) and security (being able to compile code and protect it). .Net is true OO also, so allows for more "engineered" solutions to some problems.

In general, if money is an issue above security, we would implement PHP.
LVL 58

Accepted Solution

Gary earned 288 total points
ID: 38376228
If you don't know php (actually easy to learn) and something goes wrong or you want to change something you will then probably need to hire someone to make the changes.
As you have some experience of ASP then if the site was done in ASP you could probably make the changes yourself.
As mentioned hostng ASP  + MSSQL is more expensive than open source like PHP and MySQL.

Don't be bullied into PHP, if you want ASP then get it done that way - it's your project.
Also be careful who you choose on those freelance sites.
LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 572 total points
ID: 38376238
You can achieve adequate security in either language.  Which is best?  The one that the developers already know!  Flatten the learning curve.  If you're the only developer, and you like ASP, use that.  If you want a larger support community, you might choose PHP and MySQLi.

Parts of Google, much of Yahoo, and nearly all of Facebook are written in PHP.  It is a stable platform for enterprise web development.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

LVL 11

Assisted Solution

Slimshaneey earned 572 total points
ID: 38376279
By security I meant securing Intellectual Property. .Net makes it very easy to "secure" code by compiling to DLLs, and licensing that code. PHP is a little less robust in that sense. But as you say, some of the best software in the world is written in each.
LVL 14

Assisted Solution

EMB01 earned 284 total points
ID: 38376320
I recommend you use PHP since you don't know it.  I recently took a job where I knew nothing about VB ASP.NET MVC 3 and I hit the ground running.  Now, I have been working with it for a month or two and I'm very comfortable and can accomplish all tasks that have been thrown my way on this advanced development project.  I've learned something knew and now I'm more valuable for the next project/ position that comes my way.
LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 572 total points
ID: 38376323
Yes, I take your point about IP and compiled code.  Some PHP developers choose IONCube for this.
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 284 total points
ID: 38378774
And there is Facebook's HipHop for PHP: http://developers.facebook.com/blog/post/2010/02/02/hiphop-for-php--move-fast/   PHP translated to C++ and compiled.  It's open source but I don't know where to find it yet.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses
Course of the Month17 days, 18 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question