I am working on an theme editor, wich allows theme developers to make an array with the functions for there website, like wich elements can change colors.
Okay, so my problem is that, how would you save the theme functions? I was thinking on three ways:
- Save the array in database serialize
- Save the array as json file in theme folder
- save every function in a database column in theme_functions
I know that this issent about Phalcon, but I hope someone has a great answer for this