Monday, November 26, 2012

PHP Editor with FTP support

For many years i used Zend Studio 5 as editor with FTP support.
Moving to Windows 7 tough, i found out the Zend 5 is no longer compatible with my Windows, which is a big disapointment.
I moved to Zend Studio 9, but after a few days i just gave up. What i need is a simple PHP editor with a FTP support. I need to connect remotely to a server and write code. I dont need all that amazing but so heavy functionality that Zend comes with.

Zend Studio 9 comes with support for SVN but in my case i dont need it. Every project that you are trying to connect to in Zend Studio 9 is first copied to your local machine. The whole process of fetching the site structure and importing the files on the local machine is painfull and time consuming.

Therefore....i needed a SIMPLE PHP editor that is fast and easy to use.

After many tries i found a few solutions. None of them is as good as Zend 5 used to be, but still.

1. Rapid PHP 2011. 
http://www.blumentals.net/rapidphp/


The editor is clean and easy to use. It loads fast and looks friendly. You can try it for free for 30 days.
In order to connect to remote server, go to "File -> Open from FTP".  Then click on the "Add FTP site" and add the server that you want to connect to remotly. From here you have access to the files and you can start coding.

Pro: user friendly, clean and fast
Contra: you can't see the structure of the files in the left menu. Everytime you want to edit a new file you have to open the connection, choose the file then start editing it. Free only for 30 days.

2. Chrome Addon : FTP editor
https://chrome.google.com/webstore/detail/ftp-editor/caljonifjecojdgoejokjfdffgpgliic?hl=en-GB



Chrome becomes amazing. Now we have an addon that allows you to conncet remotely to a server and edit the files directly in the browser.
It is very fast and handy. The only problem is that it looks a bit primitive. Another small issue could be that the code you write can't be idented and HTML/PHP tags are not recognised.
It is a very promising project which i am sure will become a succes once it evolves.

3. Plugin for Notepad ++ that allows to connect remotely to a FTP server.
http://sourceforge.net/projects/npp-plugins/files/FTP_synchronize/

Fast and easy to use, it is a good option if you just need small modifications here and there.



Wednesday, September 5, 2012

SVN ERROR: Server sent unexpected return value (403 Forbidden) in response to OPTIONS

If you are using SVN and want to do an usual update you might encounter this error:

Server sent unexpected return value (403 Forbidden) in response to OPTIONS

The problem was that the SVN client has in cache an username and a password which might no longer be available. Try instead of the simple svn update to force the update with the username and password that you have (and you know they should work)

Solution: svn update --username yourusername --password yourpassword

This should solve it :)