Method saving: JSON on file “content.txt”

 Data Serving Method:
 1. Get content for file “content.txt” every page load and put in on parameter.
 2. JSON Decode the parameter. So the parameter will be array type.
 3. Use desired data for that page.

Hello can anyone help me understand the content in the quotation? That is a saving method for CMS. Does that mean that it's not using mysql ? JSON by itself is enough ? What's the difference between JSON and Javascript ?

Thanks before.

JSON is a data storage format. JavaScript is a scripting/programming language.

The website explains it better but the format is "readable" and lightweight.

Your text shows that content.txt will contain JSON encoded data. You can use whatever server (PHP, ColdFusion..) or client (JavaScript..) language to read the data and reformat to the language's array type.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.