Relational databases are not suited for my application - what's the alternative?

Posted by waitinforatrain on Stack Overflow See other posts from Stack Overflow or by waitinforatrain
Published on 2010-06-13T13:40:03Z Indexed on 2010/06/13 13:42 UTC
Read the original article Hit count: 208

Filed under:
|
|

Hi,

I'm writing a CMS in PHP that allows the user to define different fields (e.g. a Blog page could have fields for Title (string), Content (rich text), Picture (file)). I need the user to be able to add and remove fields dynamically, and the only way I can think of to do it with relational DBs is to serialise all these values and store them in one cell.

This seems like a slow approach and like I'm trying to fit something dynamic within a static structure. Could someone recommend anything that is PHP-compatible that would make this easier?

© Stack Overflow or respective owner

Related posts about sql

Related posts about database