Reputation: 984
We are looking at doing a 'version 2' of our web application that is currently written in PHP with a MySQL database. Since it has been in a constant state of development for about 5 years with numerous developers, over time you look at it as a whole and think 'we could do this so much better if we started again'.
So we are looking at doing a new build and have been discussing the most appropriate development path to take. Do we stick with PHP and MySQL on Linux servers or do we make the move now to .NET.
We already have Visual Studio etc etc as we have developed integrations between our web app and many third party products like Microsoft Office and MYOB.
What I want to try and work out is what is going to be a better environment for us in terms of customer perception, scalability, support and so on. Put aside cost because I don't really care, I want the cold hard facts.
For a business management web application that requires integration with third party products both web based and application, whats our best option?
Upvotes: 2
Views: 338
Reputation: 106960
If I have to purely choose between .NET and PHP, .NET wins on all accounts. I cannot think of any reason why PHP would be better, except that it's more cross-platform and doesn't require Windows Server to be deployed. In your case there might be other reasons though.
Added: Sorry, I was in a hurry. Let me clarify why I think .NET is superior to PHP:
this
can't be null, static methods are always static and vice versa, operators can be overloaded, etc.), delegates and events, etc;Added 2: Diclosure - I'm primarily a .NET developer, but regularly write PHP code as well, so I'm fluent in both languages and their libraries.
Added 3: Note, that this is a pure comparison of both environments. The existing PHP experience (and .NET inexperience), as already said, is a very strong factor as well, probably even stronger then all of the above combined.
Upvotes: -3
Reputation: 2239
This is an utterly subjective question and, full disclosure, I am a PHP programmer.
There is a lot of hating on PHP by non-PHP programmers for a lot of (good and bad) reasons. I will leave it to them to list the reasons why .net is better. I believe that most of the differences are academic and with that said, here are some reasons you might want to stick with PHP:
But, as I said, this question is subjective and both are (nowadays) fine object oriented languages.
Upvotes: 1
Reputation: 30269
I'm not a big fan of PHP, however I would suggest that there's little point in wholesale ditching your deployment platform for .Net when all you really need to do is re-architect / refactor your existing PHP application.
There is obviously some other unspoken impetus that you haven't detailed in your question, since you imply that your only options are to stay with PHP or move to .Net... Depending on the application, it's requirements and development roadmap, there may be a number of other development options available.
It's also difficult to suggest anything concrete when the purpose and integration requirements of the application are unknown.
Thanks, I appreciate your comments.. as for other unspoken The managers have gotten all excited about .NET for some reason and are suggesting that we need to rebuild in .NET. I am looking for some evidence that there is anything to benefit from doing that or if we should just stick to php. – Tim
From the way you worded the original question, this is what I imagined. I'd say that the fanfare around .Net should be taken with a pinch of salt, a lot of $$$ go into marketing .Net and a lot of people eat it up whole.
That said, PHP is hardly the poster child for #1 language design and consistency, however, we're talking about the devil YOU know here, and it's a known quantity within your enterprise.
However, If the bosses are willing to invest in solid re-training, for you and your team, moving to .Net could be a good thing, particularly for you and your colleagues career development, since, bottom line you will have a more valuable skill set as an experienced C#/.Net developer.
I'd suggest pragmatism over fanaticism in either case.
Upvotes: 3
Reputation: 604
If this is a version 2, then you should know all the shortcomings of your application and the new features that you want to implement. I am a fan of staying the course, if the current platform allows for all the features and the stability that you are looking for then there aren't any reasons to change. I am just getting started in this community so I am not sure what the policy is on answering subjective questions, but I can tell you that depending on who you ask, you will get a different answer to this every single time you ask.
Upvotes: 2