Drupal and LAMP for the Windows Developer

A friend of mine has started his own company which specialises in recruitment campaign management and advert trafficking.  He asked me to build him a corporate website. Ordinarily when I create websites I use my tried and trusted .NET and SQL technologies however I was conscious that the cost of running a .NET solution for a small start-up would be excessive when open source technologies are comparatively cheap. Also, as I try to have a life outside of coding, I didn’t want to spend my evenings supporting his website. Ideally I wanted to use a Content Management System (CMS) that, after I configured it, could be maintained by a non-coder. So the requirements were: 

1) Cheap to run
2) Easy to manage
3) zero code to write
4) Content Managed

After a bit of digging around the internet for reviews of CMSs I had a shortlist of Joomla and Drupal. As far as I can tell there is much of a muchness between them with regard to managing content of a simple site. I think Joomla is easier on the get go as Drupal can be a bit overwhelming at first. In the end I chose Drupal for no other reason then a friend of mine is working with them at the moment and there are a lot of free custom modules. These CMSs are free. Free!

The only trouble for me was they used technologies I have zero exposure too – the LAMP stack (Linux, Apache, MySql, PHP). For the past 8 years I have used nothing but the WISA stack (Windows, IIS, SQL Server, ASP or ASP.NET). Broadening my exposure to other technologies other than Microsoft has been something I’ve been meaning to do of late. Open source technologies have been gaining ground for sometime now and are ‘almost’ a viable solution for the average company.

So with a mug of tea in my hand I bravely set out to get to grips with this open source malarkey. The first thing to do was to get a WAMP (Windows, Apache, MySql, PHP) stack on my PC. The best way to do this is to install xampp. XAMPP is a preconfigured WAMP stack for development purposes. It was straight forward to install. It did complain about port 443 being in use which I found out was Skype had got hold of it first. Rather than solving this problem I just kill Skype whenever I need to use XAMPP. As there is nothing to register or install for XAMPP then there is nothing stopping you from copying all the files onto a USB stick for your own portable development environment. Ideal for WAMPing during your lunch break. Very nice.So I now had my stack configured ready to install Drupal. This didn’t prove to be an issue. I would say though for all of the above you must read and re-read all the installation instructions. The instructions are easy enough to follow but for a newbie like myself it can feel a bit alien. Make sure you are happy with MS-DOS as you don’t get your nice Windows dialogs for configuration settings. There’s a bit of hacking about with config files

Getting Drupal to look and function as you want takes a bit of time to get used to. The paradigms are similar regardless of what technology you use so most of the time its just working out what Drupal calls something that you may call something else.

As for hosting, after reading some good reviews about Clook on the Drupal forums I decided to use them to host the CMS. They were (as of writing) £5 a month or £50 for the year for the basic package which included the LAMP stack. Also as part of the control panel there is a one click deployment of Drupal (and Joomla and other CMSs). I was very dubious of how ‘one-click’ it would really be. In the end it was quite remarkable – it creates and sets up the MySql database and then installs Drupal into it. Web Hosting is really getting quite sophisticated these days.

I haven’t needed to use any MySql or php coding yet and I don’t think I’ll need to. There are plenty of free custom modules for Drupal which will do everything you need and if they don’t then you are probably doing something wrong – or very customized.

So to sum up a very successful project. It took me less then 20 hours to learn enough about LAMP/WAMP and Drupal in order to set up a simple working content managed website which we can build upon in a structured way.


3 Responses to Drupal and LAMP for the Windows Developer

  1. […] original here: Drupal and LAMP for the Windows Developer Related ArticlesBookmarksTags EditPlus – text editor and HTML editor for Windows HTML, […]

  2. Sam Kleinman says:

    This is a really interesting perspective, that we (in the drupal and open source CMS communities) don’t hear very much.

    I am aware that there’s some movement to get drupal to run (better) on the microsoft stack (so IIS/MS SQL/PHP) not a lot mind you, but some. In the next version of drupal, I’m aware that the database system is being reworked so that it’ll be possible to add support for MS SQL, but it’s not there yet. And I do remember something about how there’s an installer for drupal in web services, or something. Sorry that I’m sketchy on the details, but it’s happening. It will, I suspect, continue to be a niche project, but it’s interesting that it’s happening.

    Secondly, while you can’t do *everything* through a web-based interface (particularly theming) I think Drupal is remarkable in the amount of web-based configurability (particularly low level stuff). People criticize the user-interface for being oblique and hard to manage, and it’s true to varying extents; however, I think Drupal as a platform runs into a problem where there really is just *too much* information and options to be displayed in a clear and easy way. But it’s nice to know that despite the challenges that it provides, that level of web-based configurability is worthwhile and appreciated.

  3. Amit says:

    As to the local server,
    I have Checked few of PHP local servers and
    came to conclusion that WAMP Server IS the best out there.
    Easy to install, Intuitive to work with.

    Great software for all PHP developers out there.

    If you using Skype while working on developing
    Make sure to start WHAP before Skype (and not the other way around).
    That the only “bug” I have found.

    Strongly recommend to use it!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: