PHP Development IDE for remote editing

RampantAndroid

Diamond Member
Jun 27, 2004
6,591
3
81
I'm currently writing a website up for a wedding to let people RSVP with a special code on their invite or a QR code. I've got this deployed on my own webserver that's hosted somewhere not in my home (shared hosting with Dreamhost - SFTP and SHH access.)

Now, I've used Textmate and Notepad++ over the years, but I wouldn't mind an actual IDE. However, all IDEs that let you do remote editing require you to download all files, and many don't handle syncing very well (if I write code on both my PC and my laptop, one is out of sync and can overwrite changes.) What is the best IDE out there for remote editing that doesn't require me to download every last file, or at the very least handles syncing files easily? The is REALLY painful when I'm writing plugins for bigger sites based in a larger system (be it a Joomla plugin or something more custom) - I have to keep a local copy of everything.

I'm looking for both OSX and Windows options, FWIW.

Thanks!
 
Last edited:

Sgraffite

Senior member
Jul 4, 2001
209
149
116
I'd say use PHP Storm and rely on SVN/Git to resolve any file conflicts. File conflicts aren't generally territory for an IDE.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
I'd say use PHP Storm and rely on SVN/Git to resolve any file conflicts. File conflicts aren't generally territory for an IDE.

I also think you need to look at source code management. Learn to use git and then you can checkout your project, work on it, and check it in (Plus a ton of other features).

I even have projects that run on elastic beanstalk that are deployed via git.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
I use JetBrains products. The SVN and Git integration is pretty good. I usually it over the command line. The Git integration for resolving three way merge conflicts is especially great.
 

purbeast0

No Lifer
Sep 13, 2001
53,764
6,645
126
at work i use intellij (a jetbrain product) for webapp dev, front end and backend. it's by far my favorite ide and i've used just about all of them.

for a much lighter thing, for web development (front end not sure about backend), i really like sublime text 2. you can get a ton of different plugins for it as well.

i use it on this latop (osx) for my webapp dev and actually writing my unity3d game with it as well using c#.

EDIT:

and i also strongly suggest using git for your own personal use just for version control. even if you aren't pushing it out to a remove server, it's just very nice to have it locally to be able to commit stuff and be able to go back to that revision if something messes up.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
at work i use intellij (a jetbrain product) for webapp dev, front end and backend. it's by far my favorite ide and i've used just about all of them.

for a much lighter thing, for web development (front end not sure about backend), i really like sublime text 2. you can get a ton of different plugins for it as well.

i use it on this latop (osx) for my webapp dev and actually writing my unity3d game with it as well using c#.

EDIT:

and i also strongly suggest using git for your own personal use just for version control. even if you aren't pushing it out to a remove server, it's just very nice to have it locally to be able to commit stuff and be able to go back to that revision if something messes up.

It's nice to create a few branches for playing around with a few ideas in parallel.
 

drebo

Diamond Member
Feb 24, 2006
7,034
1
81
If it's just you working on the file, NetBeans is free and will work with FTP or whatever to synchronize files and upload them automatically when you save them.

Dreamweaver also does the same, but it's not free.
 

RampantAndroid

Diamond Member
Jun 27, 2004
6,591
3
81
What's the best way to work with git and deploy to a web server? Do you just re-upload all your files?

Thanks for the suggestions!
 

purbeast0

No Lifer
Sep 13, 2001
53,764
6,645
126
What's the best way to work with git and deploy to a web server? Do you just re-upload all your files?

Thanks for the suggestions!

not sure what you are really asking about git and deploying to a web server. you're going to either have some sort of automated process set up with something like jenkins that will run jobs when you commit to a remote server, or just do it manually.

for dev there is no need to deploy to a web server. run it locally.
 

RampantAndroid

Diamond Member
Jun 27, 2004
6,591
3
81
For the record: due to some oddness around Dreamhost (the webpage would not load correctly on iOS and OS X devices, but WOULD load fine on Windows machines. I don't get this..but moving on) - I've got an MSDN subscription and so I'm using my $150 credit for a dev/test environment. In the process of setting this up...it turns out Azure has an auto deploy setup going with GIT. So I have a BitBucket account which I can commit/push to, which then auto deploys to my web server.

Win....other than, well....why on earth is there commit AND push? I'm used to source control where you sync down, check out, edit, check in, and the check in changes the version on the server.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
Win....other than, well....why on earth is there commit AND push? I'm used to source control where you sync down, check out, edit, check in, and the check in changes the version on the server.

Git is distributed source control. This lets you make commits on your local machine that you're not sure you want to be final commits on the server. You can use this, for instance, to create new local branches every time you try something you're not sure is going to work. You can quickly and easily back out your changes locally without cluttering up the server with bad versions.

Oh, and the other thing that allows so many branches is that Git makes merges much easier than Svn on a server. You still have to resolve conflicts, but usually less of them.