How to create a simplified version of jsFiddle [closed]

4

Does jsFiddle use json to save CSS / HTML, Javascript / JQuery? Probably this json is saved in a bank. The 4fh0xdpc series would be the ID in the bank.

http://jsfiddle.net/ 4fh0xdpc /

Each update generates a number after that id.

http://jsfiddle.net/4fh0xdpc/ 1 /

Or does it simply send the .json file to the server and save (create a folder)? for example:

  • folder 4fh0xdpc for the first project created.

if there is update:

  • folder 4fh0xdpc with subdirectory 1 (always varying)

I am developing a system that the user can build a form dynamically (include questions, validation of each question, automatically generate form bank etc). Part of the system is developed (I'm already generating .json with all the questions, number, etc). However, I would like to do something more: save the project for later being moved by the same user or another. Is there any tip to implement this part? I wanted to follow the jsfiddle templates, if there are any good tips, I'm open for tips.

    
asked by anonymous 01.09.2015 / 04:33

1 answer

3

Testing or debugging a small script can be an unnecessarily labor-intensive task. After all, you need to create a new html page, write your markup, insert scripts, add libraries, save and then test it on some browser to track the result. All to often come to the conclusion that the big problem of the code was a missing semicolon or an unidentified selector.

jsFiddle arose from this need to test scripts quickly. Originally developed for MooTools, the tool has been expanding gradually, and now supports the leading JavaScript libraries such as MooTools, jQuery, YUI, Prototype, Dojo, Glow, Processing, ExtJS, Raphael and Right JS. Its interface is simple and intuitive, just select the desired library and fill in the fields of XHTML, CSS and Javascript with the data you want to test a script. By clicking the "Run" button, you can see the script in action, without the need to create new files or use multiple programs to view it.

Here's what you need to start your project. It is a simplified clone of jsFiddle created by nwoike .

DOWNLOAD

  

How do you do?

    
01.09.2015 / 05:01