Setting up my Windows environment
Since I am not working with a Windows environment on a day-to-day basis, the first task for the WinPHP Challenge for me was to actually install a Windows environment and get my development environment up and running.
As I don't have any spare hardware on which I can install Windows, setting up Windows for me meant creating a new
Parallels virtual machine on my iMac. On that VM, I installed Windows Server 2008, of which I still had a copy lying around.
The easiest way I had heard of to get a server environment up and running must be the
Web Platform Installer by Microsoft, which you can use to easily install IIS and PHP. So, I downloaded the Web Platform Installer and used it to install IIS and PHP. It was indeed pretty easy to install all the things I needed, with automatic installation of dependencies, however it was a nuisance every once in a while, because several of the components I had to install required me to reboot my Windows. All in all, I think I had to reboot 4 times to get my platform up and running. When twittering about this, I did get a response from Josh Holmes that it was not supposed to do that, so I am not sure what happened there.
Since I am using
Github for my code, I also needed to get Git up and running. Now I heard horror stories about running Git on Windows but actually it is quite easy as it turned out. It is just a matter of installing
mSysGit and off you go. I especially like the Git Bash commandline that gets installed that way (which I'm really used to while working with Git on Linux and OSX).
After having cloned the
MediTerra repository, it was time to install an IDE. Lately I have become a fan of the
Jetbrains PhpStorm IDE, and since they have a Windows build available I decided to install that one. Starting it and creating a project from the cloned MediTerra repository worked fine and it seems PhpStorm runs like a charm, just like it does for me on Linux.
Since I am building an application that is supposed to run on
Windows Azure, and I want to develop my application without having to deploy to Azure itself all the time, I also need the
Azure SDK. I downloaded the SDK and tried to install it, but found out it has some dependencies that I needed before being able to install the SDK. The first one (.NET Framework 3.5 SP1) was listed on the SDK page (stupid me, I should've read), was an easy download and install. The second one was MS SQL server, of which the Web Platform Installer has an easy installation option. Luckily the Web Platform Installer is really as easy as opening the WPI installer, selecting the package you want and click install. It takes a short bit but then you've got it installed and up and running.
The installation of the Azure SDK was pretty straightforward after that. Well, I ran into a strange problem where the SDK installer would basically stall on checking for diskspace requirements, but there's nothing a Windows reboot does not solve

and after that, the SDK installed fine. One bit of feedback towards Microsoft though: Get the Azure SDK into the WPI to make it all even easier.
So now I have a seemingly running local environment. It's time to start working on the code. This is where I'll leave it now, and start with my next blogpost.
April 22, 2010 - tags: winphp, windows, php, azure, wpi
Dr. Robert Goulet: Goodness. I think you lost me mSysGit. I guess I don't know as much about development environments as I thought I did. Thanks for posting this though. Even though I'm behind, this explains enough for me to start trying things out on my own. I happen to be already using a Windows environment though, so I'm already one step there!
online dating sites: Congratulations. Extremely impressed with the excellence of the knowledge offered. I sincerely hope that you keep up with the good job conducted.
orlando car accident lawyers: The process of setting this up is not hard at all. There is so much that goes into this but well worth it.
Accounting Software: Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.
Fadi Karnaby: The sign of an intelligent people is their ability to control their emotions by the application of reason.
compaq ladegerät: Very interesting topic will bookmark your site to check if you write more about in the future.
dentist in houston: Thanks for the best blog. It was very useful for me. Keep sharing such ideas in the future as well. This was actually which was looking for and glad to come.
bestech park view ananda: I think this is a educational post thanks.
music production: Nice website like article thanks I feel lucky to search this websites. I really appreciate you.
medium length hair styles: This has to be one of my favorite posts! And on top of thats its also very helpful topic for newbies. Thanks a lot for informative information!
IT Support Fishpool: These kind of post are always inspiring and I prefer to read quality content so I happy to find many good point here in the post
Otsingumootorite optimeerimine: This is a interesting line of content, very good article. Thanks for sharing this post, nice way of bring this subject to discussion. Keep up the excellent work !