tags:

views:

6974

answers:

18
+11  Q: 

Online PHP IDE

Is there an IDE for PHP where you can edit the code for your pages online? Real syntax highlighting is minimal. More would be great. I'd like to be able to do development on my site at times other than when I'm not at at home.

+1  A: 

Well my website came with cPanel, which has a nice file manager and code editor. It has syntax highlighting and line numbering. It runs too slow on my computer to really use but I've got a pretty slow computer. :P

So to get to the code editor, I'd go to cPanel at http://mysite.com:2082, click File Manager, then select a file and click Code Editor.

Edit: I tried using it, and it can highlight PHP and HTML (at the same time), and it also has a "code completion" feature... I'm not sure if that's what it's called, but when you write an opening bracket or quote, it writes the closing one after the cursor. The only problems are that the highlighting isn't perfect (it treats escaped quotes as actual quotes) and more importantly, it's not free.

yjerem
A: 

it would be really cool if it had a frame that dynamically reloaded your site on each save (ctrl+s)

or even better: a separate window for dual monitor users :)

Jiaaro
That would be incredible. Especially when compared to the syntax highlighter that Unkwntech mentioned. Does something like this exist?
Dinah
I don't think so, check out bespin though, they're making solid progress, and building in support for third party plug-ins. So we should have it soon :)
Jiaaro
A: 

Thats an interesting idea. One could use something like this: http://code.google.com/p/syntaxhighlighter/ to the syntax highlighting then it's just a matter of code completion for things like functions. That much is relatively simple, it gets harder when you get into things like per file (or even included file) variables (for the code completion).

And now that you have me thinking... It's to bad that I don't know javascript better.
If anyone wants to get together and maybe build this idea into a viable project I'm definitely game.

Unkwntech
+5  A: 

See if your host supports VIM in the shell. You can SSH into your account from anywhere you can use an ssh client (you can download/run putty without admin rights). The syntax highlighting in VIM is fantastic.

Brian Warshaw
and it's so much harder to get your secure shell hacked than some unknown php script that this is probably the best solution for that.
Kris
also, there'S the possibility of hosting a java applet with am embedded ssh client, so that you can easily log on without requiring anything special. In addition, ssh is also the way to go when it comes to transferring files between your server and the machine you're working on
none
Alternatively you can use emacs with tramp. That way you can edit files though ssh.
simao
A: 

@Dinah - As far as I know there is nothing like that now, but I am defiantly thinking about building it if i can find someone to help me out with it.

EDIT: There are web based HTML WISIWYG editors, but I have not seen (nor found) anything for PHP.

Unkwntech
+4  A: 

Try one of these:

ejunker
bad link to CodePress; Heroku is a Ruby platform. How is it relevant to the question?
MaxVT
the link to Amy Editor should maybe point at http://www.amyeditor.com/api/embed/test_php.htmlAlthough you can open your FTP project (and open/save files etc) via Amy, you could use the embedded example for your own purposes.Well, the editor is dead anyway, having better things to do than working on it :). It was just a showcase for other project anyway.
aprilchild
@aprilchild, to bad you are done with that project, it is really amazing. It just has so much potential ... you should try to market it some more.
Joe
+1  A: 

EditArea

Robert
+1  A: 

I created this online php editor

Tell me what you think.

Cheers!

I LOVE the concept but its current state (today = 01-18-09) the fact that you have to force the syntax highlighting by pushing an unlabeled button makes this unusable to me. Perhaps I'll revisit this later when it's had time to mature. +1 for creating such a project though.
Dinah
This looks promising but it needs some work, I'd love to help out I've been meaning to start my own, but I havn't had the time to start a new project. Let me know [email protected]
Unkwntech
+10  A: 

try http://www.phpanywhere.net it should be exactly what you are looking for.

Cheers

+1  A: 

I don't know what your websites audience is, but generally I think it's a bad idea to edit a live website. Much too easy to accidentally break something, or worse print_f your passwords or other secrets by accident.

I run my server from home so this will not be available to everyone but this is basically what I dp:

  1. have ssh and svn on the server
  2. the same apache, php (i get my binary here) and mysql on the server and the laptop
  3. develop on the laptop using netbeans
  4. when happy with changes, do an svn export of the project and scp it to the server.
Kris
+3  A: 

May be this could help you to execute sample php code and see output

http://codepad.org

Enjoy coding
Not really what I was looking for but +1 for such an interesting tool
Dinah
+3  A: 

Check out http://www.coderun.com

+1  A: 

Etherpad is cool to code collectively but it has no syntax highlighting and is not realy an IDE, just a collaborative pad for programmers with versioning and chat features. Still pretty cool but not what youre looking for.

+2  A: 

You can try ideone.com even thera are some limits (no Internet nonnections, no file manipulations)

lumen
+6  A: 

check http://kodingen.com it has PHP/Ruby/Perl/Python/SVN/Ftp/Bespin, free hosting too. Edit and see it online.

Devrim
+2  A: 

This one is specialized on PHP: http://edit.orgapage.de

FTP access, syntax highlighting and code completition

JochenJung
+1  A: 

ShiftEdit Web Based IDE

Syntax highlighting, Integrated (S)FTP, Tabs, Find/Replace, Revision history + it's free.

Adam Jimenez
+1  A: 

We are making exactly this happen at http://gnymb.us! See the feature list.

Chad Johnson