Storing HTML, CSS, JS for individual users on sites such as jsfiddle.net and cssdeck.com

Does anyone know how html, css and js are stored for each user on sites like jsfiddle.net and cssdeck.com , i.e. sites that allow users to create / store their own front-end projects?

Are they stored as text strings in the user table / collection in db or are they stored as separate files? Does anyone know the best practice here?

Thanks!

+4
source share
1 answer

The founder of jsfiddle answered this question about a year ago.

From the answer:

This is an SQL structure created using Django ORM. Pastes and versions use separate tables. Currently, the code is stored in the same table due to my poor design. It will change in the near future.

Source: https://stackoverflow.com/questions/5283257/how-does-jsfiddle-work

0
source

Source: https://habr.com/ru/post/1435164/


All Articles