Welcome Guest ( Log In | Register )




                Web Hosting

 
Reply to this topicNew Topic
Php - Browser Based Editor
Bảo Tuấn
post Mar 26 2007, 04:01 AM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 12
Joined: 26-March 07
Member No.: 21,082


I'm trying to set up some tools for a number of developers to use in the creation of a text-based MMORPG. I'd like to be able to show directory structure and allow them to easily see which files are where - then to be able to edit the pages from their browser. It would also be a neat feature that they could upload some files from their computer.

Last time I needed this I built it myself, but it was restricted to 2 directories only and I ended up storing the file structure in text files.

Anyways I'm debating rebuilding the entire thing but I can't help wondering if someone somewhere has already built something to this extent and has code available for free somewhere. However, I can't find anything on Google. Maybe someone knows of such a thing?
Go to the top of the page
 
+Quote Post
beatgammit
post Mar 27 2007, 04:23 PM
Post #2


Member - Active Contributor
Group Icon

Group: Members
Posts: 83
Joined: 10-November 06
From: Provo, UT
Member No.: 17,161


I don't understand what exactly you are trying to do, but it seems that you are just maintaining folders of code that the user could edit. If you want to create more than 2 directories, this is pretty simple with recursion. Just recurse through the directories until you find the file you want (or until you display all of the folders/files). If you already have the code for the editor, just add in recursion to get the data from all of the directories. There is plenty of information on the internet if you are confused about recursion.
Go to the top of the page
 
+Quote Post
TavoxPeru
post Mar 27 2007, 09:12 PM
Post #3


Super Member
Group Icon

Group: [HOSTED]
Posts: 818
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579
myCENTs:3.57


QUOTE(Bảo Tuấn @ Mar 25 2007, 11:01 PM) [snapback]100462[/snapback]
I'm trying to set up some tools for a number of developers to use in the creation of a text-based MMORPG. I'd like to be able to show directory structure and allow them to easily see which files are where - then to be able to edit the pages from their browser. It would also be a neat feature that they could upload some files from their computer.

Last time I needed this I built it myself, but it was restricted to 2 directories only and I ended up storing the file structure in text files.

Anyways I'm debating rebuilding the entire thing but I can't help wondering if someone somewhere has already built something to this extent and has code available for free somewhere. However, I can't find anything on Google. Maybe someone knows of such a thing?

There exists a lot of Browser based editors, take a look to the following ones:
  • FCKEditor:This HTML text editor brings to the web many of the powerful functionalities of desktop editors like MS Word. It's lightweight and doesn't require any kind of installation on the client computer.
  • XStandard:XStandard is the leading standards-compliant plug-in WYSIWYG editor for desktop applications and browser-based content management systems (IE/Firefox/Safari/Opera).
  • RTE:The Cross-Browser Rich Text Editor (RTE).
Best regards,

This post has been edited by TavoxPeru: Mar 27 2007, 09:31 PM
Go to the top of the page
 
+Quote Post
livingston
post Mar 28 2007, 07:05 PM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 149
Joined: 14-February 07
From: Tuticorin, India
Member No.: 20,415
myCENTs:0.55


TinyMCE is a great Javascript based editor that can be easily integrated into any website or CMS.

you can get Tiny MCE at http://tinymce.moxiecode.com/
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   1 Mahmoodm 93 4th January 2009 - 07:43 AM
Last post by: tansqrx
No New Posts 13 Ajay Shivaa 1,417 29th December 2008 - 03:24 AM
Last post by: www.jbi.in
No New Posts   13 miCRoSCoPiC^eaRthLinG 3,256 28th December 2008 - 06:51 PM
Last post by: reynaldosheppard
No New Posts   0 zainboy 94 25th December 2008 - 08:50 PM
Last post by: zainboy
No New Posts   1 cherri 1,354 21st December 2008 - 09:59 AM
Last post by: iG-Christian
No New Posts   14 Mr 85 1,652 17th December 2008 - 03:44 PM
Last post by: ryantommo
No New Posts   3 nighthawk16 2,260 14th December 2008 - 05:51 PM
Last post by: iG-Kudos
No New Posts   2 denverporia19 1,860 11th December 2008 - 10:36 PM
Last post by: iG-Marble
No New Posts   13 Scionwest 4,797 6th December 2008 - 11:34 PM
Last post by: iG-Levi
No New Posts   8 iceblade 1,395 6th December 2008 - 12:59 PM
Last post by: iG-David
No New Posts   12 austiniskoge 2,504 4th December 2008 - 08:30 AM
Last post by: iG-sozana
No New Posts   8 Mico 456 2nd December 2008 - 07:14 AM
Last post by: The_Fury
No New Posts   5 Convictlife 1,660 29th November 2008 - 10:28 PM
Last post by: iG-Soanage
No New Posts   2 halo3fanboy 393 28th November 2008 - 10:45 AM
Last post by: iG-SomeoneRandom
No New Posts   9 Aequitas619 1,730 23rd November 2008 - 10:00 PM
Last post by: iG-Gamemaster