Matt Pass f39093c78f Better way of handling file existence checking
Vars to determine if we have overwrite OK permission from user or
there's no conflict with filenames, so it's a new one and we can save
Don't check for DOM node to decide if we can save or not anymore,
instead run an XHR that ends up setting lastFileDirCheckStatusObj from
false to something
On spotting that, clear the interval and continue by asking user if they
want to overwrite, or if there's no conflict, set that value instead
If we have no newFileName or we have one but no permission to overwrite
yet, set the content for use in a moment under saveAsContent and we loop
back around
2015-06-30 16:45:51 +01:00
2013-06-17 14:50:07 +01:00
2015-04-25 17:09:48 +01:00
2015-06-26 12:15:27 +01:00
2015-06-26 12:12:15 +01:00
2015-04-27 16:12:09 +01:00
2015-04-27 16:15:10 +01:00
2015-06-26 13:48:53 +01:00
2014-08-28 20:50:52 +01:00

#ICEcoder ##Web IDE / browser code editor awesomeness

ICEcoder is a web IDE / browser based code editor, which allows you to develop websites directly within the web browser. It uses the brilliant CodeMirror for code highlighting & editing, with a slick IDE wrapped around it to make the whole thing work.

ICEcoder web IDE

###Requirements You can run ICEcoder either online or locally, on Linux, Windows or Mac based platforms. The only requirement is to have PHP 5 available (5.3 recommended). You can have this either as a vanilla installation or via a program such as WAMP or XAMPP (for Windows) or MAMP (for Mac).

###Installation

####Step 1: Get ICEcoder Either download the zip or clone from Github using:

$ git clone git://github.com/mattpass/ICEcoder

####Step 2: Place in your document root (online or local)

  • Put in a new sub-dir URL such as yourdomain.com/ICEcoder or localhost/ICEcoder
  • Set write permissions (757 or 775 depending on your system) on the 'backups', 'lib', 'plugins', 'test' and 'tmp' folders

(Note: A small number of web servers give an internal server error here, if you get this, try 755 instead)

####Step 3: Start coding

  • Visit the sub-dir URL in your browser and enter a password

Now you're setup, auto-logged in and ready to code!

Suitable for commercial & non-commercial projects, just let me know if it's useful to you and any cool customisations you make to it. I take no responsibility for anything, your usage is all down to you.

It's fully open source and MIT licensed. I'm happy for you to take it, make it your own and customise to your hearts content and/or contribute to this main repo! :)

Plenty of comments included in the code to assist with understanding, customising etc.

Comments, improvements & feedback welcomed!

Description
No description provided
Readme 11 MiB
Languages
PHP 67.9%
JavaScript 19.5%
CSS 12.6%