[UPHPU] storing variable data
Wade Preston Shearer
wadeshearer.lists at me.com
Mon Mar 22 09:02:54 MDT 2010
On 22 Mar 2010, at 8:38, Dallin Jones wrote:
> XML, serialized arrays, JSON, what ever you decide to use will be a whole lot more complicated to query against than some nice database design. With a nice database design, you'll just need a query to pull the information out and you are good to go. If you serialize the data in some other way, you will have to parse all your data and then query against it. This is fine for small amounts of data, but it sounds like you are going to want something alot more flexible.
Thanks, everyone. I'm not sure what I was thinking when I was thinking that this would be complicated. I implemented a simple table (question ID, answer) and it's working great.
More information about the UPHPU