design decision between array or object save in database

Posted by justjoe on Stack Overflow See other posts from Stack Overflow or by justjoe
Published on 2010-06-12T10:40:49Z Indexed on 2010/06/12 10:42 UTC
Read the original article Hit count: 187

Filed under:
|
|
|

i code some configuration setting. And need those values to be load, everytime my webapp start. yes, it's somekind autoload setting.

But, right now, i have to choose between save it as object or array. is there any different between them when we save them in database ? which one is faster or maintainable or other pro and cons

thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about design-patterns