Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET or PHP, Corporate or Open-Source? [closed]

I am very experienced in working with open-source technologies like PHP, MySQL, Apache and others. I feel like home working with them and the code comes to me with little effort.

I recently started playing with the ASP.NET technology (I know it doesn't compare to PHP, or does it?) and everything seems very easy, but still I don't feel like home.

I still can't decide what road to take and with what should I experiment next.

Some of my friends work in small companies with open-source technologies and say that they are in heaven and this is the way to go. On the other hand some of my relatives work in corporate environments and say that they are in heaven and don't want to hear about open-source (although they were very happy with open-source before the corporate period).

I am very confused, I would like you guys to tell me if you had similar experiences and what you did? It would mean a great deal to me.

like image 855
Cristian Toma Avatar asked Jul 27 '09 14:07

Cristian Toma


2 Answers

PHP being interpretted, It generally is. PHP being slower than .NET..Nope.

Not when compared to improperly programmed aspx, and VBScript. If you are talking about validated and reduxed html=+>C# OOP,ASPX used properly. It could be faster than another app,depending on the bottlenecks.

You have to Piece PHP frameworks together, to get them just right. PHP can be slaughterd, and still can produce a nasty bit of html Rendering.

APC,PHAR,PHARLANGER are compilers for PHP. Any C based language can pretty much be compiled before deploying.

When in .NET, you have to be careful of the basics.Like HTML,CSS,JS,AJAX,Functions,Interfaces,Class,Objects,etc.

This goes without saying, if you know enough about Unix.. IIS/PowerShell is very easy to port to.

I use Windows MSSQL/IIS/MS SERVER2008RC2 just about 70% of the time. I run into C#,C++,ASPX,PHP,Perl,Curl,Asmx,ASPX,.ini,.htaccess/.htpassword(.htprotect)

This is one of those senarios that you can try to prove 1 technology over another..

In the end, the technology suitable for the project; ALWAYS DEPENDS on the PROJECT....

Hope this clears up some of the Hogwash about Cagey programmers that haven't the sense/experience to look at the big Picture (what really matters)

Just My 2 bits. Rob AKA Graphicalinsight

like image 38
Rob Avatar answered Oct 04 '22 13:10

Rob


It may sound trite but do what you enjoy.

There are plenty of PHP and ASP.NET jobs around and even if there was a massive difference, I'm not sure that should even be a factor unless you liked both equally.

It is true that ASP.NET is probably more popular in more "corporate" environments ("enterprise development" is the usual term) so factor in what type of companies and what kind of work you'd like to be doing.

like image 139
cletus Avatar answered Oct 04 '22 13:10

cletus