Windows as a frustrating dev environment
Moderator: General Moderators
-
jamiel
- Forum Contributor
- Posts: 276
- Joined: Wed Feb 22, 2006 5:17 am
- Location: London, United Kingdom
Windows as a frustrating dev environment
Coming from Linux & Gentoo at work, I have tried on numerous occcasion's to use my laptop (Running Windows XP) as a suitable development platform for when I am at home. Each attempt leaves me increasingly frustrated and I was just wondering if any of you prefer a Windows Environment for PHP development as opposed to a Linux environment and your reasoning behind this.
My frustrations mainly revolved around quickly being able to run test scripts from command line, installing and implement pear in any of my classes, and trying to find a structured way of organizing my files.
Also subversion seems tiresome without the simplictiy of command line shortcuts like svn commit -m 'Fix bug #332'. (Even gave something called TortoiseSVN a go) I have been trying Ultra Edit as an editor of choice, and although nowhere near in the same league as vim, I find it one of the few things that didn't leave me frustrated. (Although I think the interface to edit files remotely can be improved).
Apache is a nightmare to debug, and the tiny little command prompt to access the MySQL client from command line is just plain annoying.
I have a feeling that if I were to get hired by an employer who did not allow me to install Linux on my desktop machine, my productivity would decrease by a good 30-40% at least. Is this because I'm not used to developing in a Windows environment, or because it really is just this frustrating.
-- Jamie
My frustrations mainly revolved around quickly being able to run test scripts from command line, installing and implement pear in any of my classes, and trying to find a structured way of organizing my files.
Also subversion seems tiresome without the simplictiy of command line shortcuts like svn commit -m 'Fix bug #332'. (Even gave something called TortoiseSVN a go) I have been trying Ultra Edit as an editor of choice, and although nowhere near in the same league as vim, I find it one of the few things that didn't leave me frustrated. (Although I think the interface to edit files remotely can be improved).
Apache is a nightmare to debug, and the tiny little command prompt to access the MySQL client from command line is just plain annoying.
I have a feeling that if I were to get hired by an employer who did not allow me to install Linux on my desktop machine, my productivity would decrease by a good 30-40% at least. Is this because I'm not used to developing in a Windows environment, or because it really is just this frustrating.
-- Jamie
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
I feel the same way you do except with the environments reversed. I tried, broefly, to develop in Linux and kiled it quickly because I was unfamiliar with the environment. I have my Windows XP laptop set up to run everything I need for developing in PHP and DotNet. I run IIS, Apache, PHP5, DotNet2, Visual Studio Express, Zend Studio, MSDE Express and MySQL. I have never had a problem with it.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
I can't develop in windows. I do too much scp'ing and ssh'ing, I feel most comfortable with a terminal window open to work in and I can't find a windows editor as good as Kate (or Quanta since it uses the loads of the same stuff).
Package management is a million times better for the fact it's centralised into a repository on the distros I use and my desktop enviroment is cleaner. I have all the compile tools I need and can hack my system to modify it to do what I need with ease. I can work remotely just as easily as I can work locally and I can do cool things like SSH mount the drive on the server to my PC. Antivirus and spyware blockers aren't slowing me down and if I want to "kill" an application I don't need to start another one to do it! (I'm referring to Task manager in windows).
Oh, and I'm not particularly fond of screens that go blue
Seriosuly though, yeah I do get frustrated with Windows just generally.... I can't manipulate the system anywhere near as much as I can in linux.
Package management is a million times better for the fact it's centralised into a repository on the distros I use and my desktop enviroment is cleaner. I have all the compile tools I need and can hack my system to modify it to do what I need with ease. I can work remotely just as easily as I can work locally and I can do cool things like SSH mount the drive on the server to my PC. Antivirus and spyware blockers aren't slowing me down and if I want to "kill" an application I don't need to start another one to do it! (I'm referring to Task manager in windows).
Oh, and I'm not particularly fond of screens that go blue
Seriosuly though, yeah I do get frustrated with Windows just generally.... I can't manipulate the system anywhere near as much as I can in linux.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Most the time I test in the browser. Sometimes I run the Zend debugger which loads the script and executes it all from the IDE. It has a neat little 'View in browser feature' so you can see the generated coded in a browser if you want, but if you are just looking for the output of the script, it is done right in the IDE.jamiel wrote:Do you test all code via a browser? Or is the php executable in your path so that you can quickly test scripts from command line?
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: Windows as a frustrating dev environment
Er... So make it bigger?jamiel wrote:[...]and the tiny little command prompt to access the MySQL client from command line is just plain annoying.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
You'd be surprised. Once you've got the thing installed and working you can get by in a desktop environment just about as intuitively as windows. You don't even need to go near the command line with some distros if you choose not to. That includes Ubuntu, but Linspire is supposed to be a strong distro if you really are struggling to move from windows.GM wrote:I'd like to have a play with Linux at some point, but I have a feeling that there is a fair learning curve.
When I migrated to linux, I didn't have high expectations for my capabilities. Just accept that you aren't going to be building apache from source and applying patches the first day. Play around with ubuntu for a couple weeks as just a desktop environment, learn to manipulate gnome, browse the file structure, etc. Then after you get a strong foothold on the monster, go for the server environment.