Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

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 example

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.

share|improve this answer
    
I had to type this question in order to actually search for Aptana 3 shortucts, seems like I can upload the file I'm editing simple by hitting shift+ctr+u that's progress. I'll take a look at sublime text 2 –  Deus Deceit Nov 19 '12 at 5:42
    
Looks like you are editing a remote file, if SSH is enabled on that server, simply use sshfs to mount the remote folder and edit files just like local files;-) –  Terry Wang Nov 19 '12 at 5:52
    
Is that fast? Cause doing the same thing with aptana is a pain in the xxx lol –  Deus Deceit Nov 19 '12 at 6:08
    
I don't know how aptana does the file update (most likely FTP/SFTP). Should be pretty much the same but sshfs's advantage is that it appears to be a local file system and it does the update seamlessly, you don't notice that, I reckon it should work better than what you are using now. –  Terry Wang Nov 19 '12 at 8:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.