Just a quick post aimed at people newer to web development, really. I can remember a time when I had some web-space and some crappy HTML editor from a disc from with .net magazine, an FTP client and not much else. And this was in the days of dial-up so learning and progress were slow.
So what do I use now? I’ve yet moved onto a Mac, although that is my next move but I have a little set-up which works pretty well on my XP machine.
Setting up a site
I run XAMPP from Apache Friends, because of all of the webserver installers, this one just worked straight away and had everything I needed. I have this running from ‘C:\xampp’ and set-up directories in htdocs for each kind of work (ie. agency, freelance, demos of products, my own projects, etc) and within that, I have one per client or site, so I end up with a path like: C:\xampp\htdocs\hereinthehive\clientX\main_site
Each site has a fairly similar basic file structure:
- includes – for classes and snippets of code
- styles – CSS
- silo – storage for media used in upload, often subdivided by type/category
I then go to the ‘hosts’ file to set a loopback url, which on XP machines is normally at: ‘C:\WINDOWS\system32\drivers\etc\hosts’
You then add the name or domain for the site and set it to the loopback/localhost address like this:
I then set the site up in Apache in the vhost config file at: C:\xampp\apache\conf\extra\httpd-vhosts.conf, basically, like this:
# Here in the Hive
If you’re using XAMPP then bring up the control panel and restart Apache. You should now be running your site at http://hereinthehive/ in your browser!
I’ve found this great for working on laptops; I even have a version I can run from a pen-drive so if I need to do some dev work wherever I am, I have the files and tools to hand. I’m still a fan of Dreamweaver for all it’s bloat. I’ve used it since version 4 and haven’t felt the need to move away from that yet although I do sometimes use NotePad++ for a bit of hand coding, FileZilla for FTP and PuTTy for SSH. I used Fireworks most of the time for simple graphics tasks and Photoshop when I need some more fancy graphics.
So what about you?