Wednesday, March 5, 2008

PHP, ASP and Actionscript

First off, this blog will be extremely bias, towards what, you'll soon find out. ; )
I've recently had to work for the past 2 weeks with server sided scripting. I've generally tried to avoid it because I don't to regress to where I was a couple of years ago, jack-of-all-scripts. But my lastest work project required I do some server sided scripting to interact with a MySQL database and Flash (using amf).
I must say server sided scripting with PHP was MUCH easier that I remember in the past. Within a couple hours I had written several PHP Classes with the interaction I needed. Granted they were probably not the cleanest scripts the world, but by did the job that was required.
Now in comes my friend from IT (I'm in Marketing) and states "any new server sided code MUST be in .NET". My first reaction was (clean version...)"great another script to impede me from doing more Actionscripting, but if I have to fine." But after thinking about it, I came to ask "why?" Although all intranet pages are done with .NET, web based scripts are PHP. From a selfish point of view I thought, in the long run (as a developer), which language will give me more leverage to increase my salary in the job market. Without a doubt, I believe it's PHP. Why? Based mostly on personal experience, recruiters have often asked me "Do you know PHP?" If I look on job boards I see much more postings for PHP developers than ASP.
My reasoning for this is two-fold. Microsoft makes tons of money certifying .NET developers, where as PHP has no regulating body. PHP is niche, not many people do it WELL. When a company needs a niche developer, they pay more.
Now don't get me wrong. If you're looking for a much more stable career, that's regulated, and almost guaranteed to always be around than .NET is the way to go. But if you're like me and gamble on occasion (I dedicated myself to ActionsScript when everyone thought I was crazy) I strongly believe PHP is the way to go.

0 comments: