Monday, 9 September 2013

Massive PHP array vs MySQL Database?

Massive PHP array vs MySQL Database?

Good afternoon,
I'm debating in my head whether I should use a massive, multidimensional
array or a database in MySQL. I'm developing for a client whom's business
has many products. In this multidimensional array I would include the
product title, description, image link and categories for each individual
product. My client has perhaps 1000+ products. I've researched other
similar questions and many of them say that an array is perhaps faster,
however none of them are dealing with an array of this scale. I personally
would much rather use an array, because my knowledge with MySQL is
extremely limited, but if it means sacrificing a significant amount of
speed then I would rather use the database. Which would you consider a
more appropriate option for my case?

No comments:

Post a Comment