I'm working with ubuntu and lately I decided to learn php. I have everything setup and I'm currently using aptana 3 as my php editor and for file sync. It seems like the process for file sync is too much, it has to check all files just to upload 1 file. So if someone can tell me how to update a file at once without delay, that's welcomed. I find aptana not being what I like. It's a good editor, but I would like to know if there are alternatives out there. Can someone suggest a good php editor for ubuntu?
If you are after a GUI editor, try sublime text 2, you can use it for free (you don't have to purchase a license anyway).
Are you editing remote files directly?
I would just use rsync over SSH, DRBD is too complicated;-)
rsync -avz --progress --delete source user@host:/home/user/code
Alias above and run it whenever you have changed code locally.
BTW: You can also consider
sshfs to mount folder on remote host via SSH.