Relative Content

Tag Archive for json

Is using something other than XML advisable for my configuration file?

I have a small tool I’m designing which would require a configuration file of some sort. The configuration file in my case is really more of a database, but it needs to be lightweight, and if needed the end-user should find it easily editable. However, it also will contain a lot of things in it. (depending on certain factors, could be 1Mb or more)

Should I use JSON just to use JSON

I’m building a blogging site for learning, with a PHP/MySQl back-end. All of the user input is handled with forms sent in POST requests.

Why is NoSQL better for this scenario?

Hypothetical scenario: Let’s say we are downloading JSON from Facebook with details of a user’s friend’s checkins, posts, etc… These come in as one document per friend per activity, so with 8 activities a user with 300 friends will cause our system to make 2400 requests to Facebook, downloading 2400 JSON documents.

How best to merge/sort/page through tons of JSON arrays?

Here’s the scenario: Say you have millions of JSON documents stored as text files. Each JSON document is an array of “activity” objects, each of which contain a “created_datetime” attribute. What is the best way to merge/sort/filter/page through these activities via a web UI? For example, say we want to take a few thousand of the documents, merge them into a gigantic array, sort the array by the “created_datetime” attribute descending and then page through it 10 activities at a time.

Reinventing the wheel, or the technology that drives it? [closed]

It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. I recently asked a question on StackOverflow that […]