I am thinking of building a PHP/MySQL application with stores a shopping cart's contents for a particular user in the database. This implies that each user has a row of data in the cart table if I wanted to serialize the contents of the cart and write it to the table OR that for each product in the user's cart, there'd be a row in the table.
I'd like to be advised on the performance advantages of serializing over writing individual cart items to a table, considering that the site is to be scalable.
Thank you