Posted: Nov 29, 2007

Learn them both! One of the best things that could ever happen to me was to be talked down to by an older engineer who said something like “You can’t learn all the programming languages… its very difficult… you are lucky if you can learn one…”. I kind of took that on as a challenge instead of an insult in a time when the internet was just taking off.

Not only have I learned and coded in several languages (ASP, Visual Basic, C#, Perl, PHP, Javascript, TEA) but I took on Photoshop and Flash to boot.

Is one better than the other?
No! Why? Because they are two seperate and distinct things like apples and oranges or Honda and Ferrari. Lets take the Honda/Ferrari example for a spin. I have seen many people pump tons of cash to create a high performance Honda for racing. Custom Suspension, Turbos, Tires you name it. But it will never perform and compare to a Ferrari. Both are cars and will get you from one point to the next and thats pretty much where the similarities end. Now one will cost next to nothing and be efficient while the other will cost you much more and be a bit of a burden to maintain.

PHP
At this point in the internet game you need to know PHP. Its free, widely adopted, hosting is less expensive and many great applications like this wordpress blog are available at no cost. PHP is optimized for the web and is a straight forward scripting language that is easy to pick up and if you run into trouble guess what? Tons of info and help is available online at no cost to you.

Theoretically you could build just about anything you need for the web with PHP like websites, webservices, scrapers data aggregation, wordpress plugins, etc… I have “seen” PHP scripts that can do anything from login to websites, create email accounts, blog spam auto update blogs to generating images and flash files. With some work you can even simulate multi threading but in the end its not true multi threading and thats where .Net starts to shine

.Net
If you need data crunching reporting or massive multi threaded applications .Net whether its c#, c++ or Visual Basic is going to be the way you want to go. And guess what? Microsoft offers its .Net Visual Studio development software for free!

.Net can create powerful windows tools but unfortunately at the moment in my opinion gets out done by PHP when it comes to the web. PHP was developed for the web around proven and efficient platforms while .Net still has a windows application mindset towards web development.

Remember…
As a coder you are only as good as what you can create. If you limit yourself to PHP or .Net you limit your ability to create and more importantly your opportunities of which there are many.

RSS feed | Trackback URI

6 Comments »

Comment by Brian B
2007-11-29 16:32:04

The biggest problem I’ve had with .NET is that the existing tools aren’t as SEO friendly as the PHP tools. Since PHP is free and the hosting is cheap, I think that there are a lot more young coders (with a lot more time on their hands) who can contribute to the open source projects and keep improving them. The .NET open source libraries seem to be lacking. Probably because .NET is a corporate tool and the programmers are all on the clock most of the day. Not as much time to crank out free code for the general public to use. Of course, this is just my theory. Plus, the .NET tools I’ve used just don’t cut it for SEO. I have to tweak them to make them SEO friendly. You don’t have that problem with many PHP tools. However, from a pure programming standpoint, using a scripting language is a bit of a joke and I would much rather program with .NET and it’s IDE. One benefit of using a MS tool is that they have tons of resources available to creating great programming tools right out of the box. VS 2008 has so many new features I doubt if I’ll ever time time to learn them all. But when I need something, I can go to Google and find that it’s already ‘in the box’ most of the time. Saves me a lot of coding time.

Comment by Cesar Serna
2007-12-19 02:06:12

Great points Brian…

 
 
Comment by Tilak
2007-12-14 09:23:27

Good information for those want to learn web programming.

 
Comment by Dominic
2008-03-18 19:04:45

I was a C# dev before I learnt PHP and didn’t find PHP too difficult to learn.
However, pre-.net I was a VB6 dev, and would have found the jump to PHP a little more tricky.

Comment by Cesar Serna
2008-03-19 11:54:45

Thats what I thought coming from VB6/VBScript/ASP… Now that I am neck deep in PHP everyday I find that all the VBScript/ASP stuff helps me more so than all the C# that I have done…

Good to see that you are doing both .Net and PHP… Not a very common combination of skills found in developers.

 
Comment by Dominic
2008-04-08 15:51:10

I prefer to use .Net for windows apps as I find its treatment of how the web works inherently wrong - Allthough I am currently consulting on a .Net web app.

I like php most for hacking wordpress and for the ease of picking up quick consulting gigs for filling down time.

 
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.