Hi Rajeev,
On Mon, 2 Jan 2012 20:54:01 -0800 (PST)
Rajeev Prasad wrote:
> Hello,
>
> Has anyone ever used, tinyMCE as web based editor (to run inside the browser)
> to edit the perl/php/shell scripts on the server? I am looking for some
> direction and advice?
I don't know how possible it is, because from what I know tinyMCE is an editor
for rich-text syntax (HTML/etc.) and not for code, which is plaintext.
That put aside, editing code directly on the server is not a good idea, because:
1. You should be using version control - see http://better-scm.shlomifish.org/
and http://www.slideshare.net/xSawyer/source-code-management-systems . Editing
the files directly on the server will interfere with that.
2. You should be using a staging server, where you upload code for testing
before actual deployment.
3. Allow the code on the server to be editable using HTTP/HTTPS will open the
door for many security problems.
--
All that put aside, I should note that the Mozilla people started working on a
web/AJAX-based IDE, but it's currently in its infancy -
http://mozillalabs.com/skywriter/ . I would not recommend editing code directly
on the production server with it either.
Regards,
Shlomi Fish
--
-
Shlomi Fish http://www.shlomifish.org/
"The Human Hacking Field Guide" - http://shlom.in/hhfg
Larry Wall can program in his sleep.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/