samedi 29 novembre 2014

Which PHP structure is good for storing data in the WordPress option table? And what about PHP plugin PHP structure?


I searched too much about that but can't find resonable answer of that question


I am creating a WordPress plugin that has so many options that I need to store so to store data using option API which structure is good StdClass or Array?


I want to know answer based on simplicity and ease to manage structure and I heard about ArrayObject too can I use this is my plugin structure? And I want to know about which PHP pattern is good for plugin structure: singleton or simple class?





Aucun commentaire:

Enregistrer un commentaire