I am creating a HTML/CSS + Javascript/Jquery project wherein a lot of configuration needs to be maintained. So, I was wondering what would be the best way to maintain a configuration file from which all the settings and stuff could be fetched.
I was planning to have a xml file as a configuration repository, but due to browser specific restrictions and blocks, I am perplexed as to what I should use for having a smooth progress.
Please suggest some. Thanks.
The most common way to configure JavaScript applications – both server-side and client-side – is using JSON.
On the server-side, YAML might be worth a thought, too, since many people consider it more readable and even easier to write.