top | item 29891077

(no title)

g19fanatic | 4 years ago

You have any good simple examples of your backend? Sounds like what I've been attempting to explain to others. How many concurrent requests and what size of data can you run with a setup as described?

discuss

order

dncornholio|4 years ago

Storing stuff in a json file sounds horrible to me. Why would you want that?

Spivak|4 years ago

Because your data is teeny tiny, not performance critical, and `json.load` and `json.dump` is easy and usually less brittle then you're language's marshalling library.

paul_f|4 years ago

PHP supports complex data structures using associative arrays which map to the application requirements. Which can be easily saved in JSON. A SQL database with rows and fields does not always work well with these data structures. Often, as long as the data size is manageable, a json saved in a mediumtext field in MySQL works just fine.