Create complicated block with a lot of Parameters

Permalink
I want to create a block for the swiper.JS libary (slider)
http://idangero.us/swiper/api/#.VvqBj9J96Uk...

"THE PROBLEM" - This slider has 60-70 Parameters. I dont want to create 60-70 DB colums inside db.xml (i only need this data for the Js Initialize). Example:
var mySwiper = new Swiper('.swiper-container', {
    speed: 400,
    spaceBetween: 100,
    rest of the Parameters...
});

Their is some way to use "one col" in db.xml "parameters" and mabye store all the values inside "Associative arrays" (key: speed, value: 300....key=>value) and than use this keys inside form.php?

Or any advice for this kind of issue.

siton
 
Parasek replied on at Permalink Reply
Parasek
You can always store data as json in text field.
Then you will use json_encode/json_decode php function to convert json to array and vice versa in your view/controller.