Windows as a frustrating dev environment

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

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

Post by jamiel »

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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

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.
jamiel
Forum Contributor
Posts: 276
Joined: Wed Feb 22, 2006 5:17 am
Location: London, United Kingdom

Post by jamiel »

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?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Jamiel, you should give a try to UnxUtils package and Win32 version of Vim. Makes life less painful on Win platform ;)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

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 :P

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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

php 5 and php 4 are both in my paths. Testing is done in both the browser and command line, depending on what's going on. I'll often have a command prompt open, even if I'm not coding. :)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

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?
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.
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

I use Windows Server 2003 on my laptop with PHP 5 and MySQL. It works great.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I use multiple environments simultaneously.. I have win xp pro on my desktop and run win 2K3 server and debian under vmware server...
With remote desktop connection and putty (ssh client with a nicer console than cmd.exe) i use all of them...

(Btw, i really like the win32 port of gvim)
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Re: Windows as a frustrating dev environment

Post by Grim... »

jamiel wrote:[...]and the tiny little command prompt to access the MySQL client from command line is just plain annoying.
Er... So make it bigger?
jamiel
Forum Contributor
Posts: 276
Joined: Wed Feb 22, 2006 5:17 am
Location: London, United Kingdom

Post by jamiel »

Well, I know my Windows skills really dropped in the last 2 years since I use *nix 99% of the time, but I couldn't for the life me figure out how to full screen the command prompt. Could only get it to make some half screen window when its maximized which I couldn't resize.
GM
Forum Contributor
Posts: 365
Joined: Wed Apr 26, 2006 4:19 am
Location: Italy

Post by GM »

Right click on the MySQL prompt title bar, select Properties. Allows you to resize the window, the buffer, the font etc.

I use Windows because that's all I've got. I'd like to have a play with Linux at some point, but I have a feeling that there is a fair learning curve.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

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.
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
Forum Contributor
Posts: 365
Joined: Wed Apr 26, 2006 4:19 am
Location: Italy

Post by GM »

I'll look into them, cheers :)

Just a case of getting Telecom Italia to sort my bloody internet access out...
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Post by Todd_Z »

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.
Post Reply