5 ms·
WAMP is a pain in my ass. If I have to do my dev work in a VM just to get my dev environment to somewhat match my deployment environment, that's a problem. MAMP
by WiseWeasel 14y ago
WAMP is a pain in my ass. If I have to do my dev work in a VM just to get my dev environment to somewhat match my deployment environment, that's a problem. MAMP for web development is where it's at, or LAMP if you can swing it.
- w1ntermute 14y ago> WAMP is a pain in my ass. Did I ever say to use WAMP or run a VM? I said to run everything remotely. Just set up a Samba share on the Linux server and mount it on the Windows machine. My SSH client of choice is KiTTY[0], though there are obviously a million options out there. Then you can use whatever editor you want. I usually use Notepad++, but Vim, Sublime Text, etc. are available. 0: http://kitty.9bis.com/ http://kitty.9bis.com/
- WiseWeasel 14y agoThat's still less convenient than working locally. Working locally, I can hit one key combo and be previewing my changes in the browser instantly. Not to mention being independent of a net connection to develop.
- w1ntermute 14y ago> Working locally, I can hit one key combo and be previewing my changes in the browser. Something I can do as well. Local vs. remote plays no role here. > Not to mention being independent of a net connection to develop. This is true, but seems like an edge case to me. Wifi is available pretty much everywhere you spend significant amounts of time, and a mobile hotspot is a must if you're a mobile developer anyway. Besides, I'm always looking stuff up while coding, so I need the connection anyway.
- WiseWeasel 14y agoTruth about needing the net connection anyway; I was reaching on that one. I guess I could add a remote staging server to my setup, which is a non-issue, and I'd still push to the git master repo from my local repo. So you have it set so one key combo from your editor saves the file you're working on, copies it to the appropriate location on the staging server automatically, and refreshes the page in the browser? That doesn't sound so bad actually; maybe I need to rethink my VM plan for Windows web dev, which turns out to be very timely for me. [Oh, I see, you don't even keep a local copy; you edit the remote copy directly. I wonder if the Github client for Windows can watch a remote dir.]
- w1ntermute 14y agoEven if I were using a Linux or Mac development machine, I would still have/want to develop everything remotely by mounting a network share, but that's just my situation/preference. Either way, I don't see it as a big deal. In fact, I think it's better to test the code on a remote staging server that matches your live environment than it is to use a local Linux/Mac setup that might differ from the live environment. And yes, the remote files are directly edited. There's a volume (i.e., Z:\) on my laptop that is the remote directory I've mounted. I use Samba, but you can also use NFS by installing the necessary client software from Add/Remove Programs, if that's what you prefer. I don't know anything about the GitHub client, so I can't help you there.
- WiseWeasel 14y agoIf I was on a Mac, I'd install OSXFUSE[1] and mount the server share through SSH. I must admit I'm a bit wary of poking an SMB hole in my server; maybe my fear is unfounded. [1] http://osxfuse.github.com/ http://osxfuse.github.com/
- egypturnash 14y agoYou edit the live sites? Ow.
- w1ntermute 14y agoJeez, you guys just love your strawmen. Ever used a staging server?
- egypturnash 14y agoNot unless "a local copy" counts? YMMV.
- bduerst 14y agoI love WAMP - what problems are you having?
- WiseWeasel 14y agoLack of POSIX compliance and GNU/BSD userspace, namely bash.
- iyulaev 14y agoCygwin or Mingw?
- sukuriant 14y agohttp://stackoverflow.com/questions/4746043/where-does-microsoft-windows-7-posix-implementation-currently-stands http://stackoverflow.com/questions/4746043/where-does-micros... http://technet.microsoft.com/en-us/library/cc754351.aspx http://technet.microsoft.com/en-us/library/cc754351.aspx
- veemjeem 14y agoSadly not all software is posix compliant, there's still tons of stuff that just doesn't work in windows without lots of painful work. For example, if you use nodejs, around 40% of the npm modules that use native code doesn't compile properly in windows. The only way to do development is to run a VM. If you're a developer, the only reason to use windows is if you're developing for windows related platforms, otherwise it's just a pain in the ass -- use linux on the laptop and run windows in a VM or use wine.