On "Agile Web Dev (2nde edition)", Question about the Playtime Task D : Add a Dash of AJAX

Hi,

I'm surprised by the solution published at the following place :
http://wiki.pragprog.com/cgi-bin/wiki.cgi/Task_D-A_Dash_of_Ajax

For the 4th point : the solution published make a database request for
remove a Product from a Cart. I think it's not needed. What do you all
think about that ?

Canardo wrote:

Hi,

I'm surprised by the solution published at the following place :
http://wiki.pragprog.com/cgi-bin/wiki.cgi/Task_D-A_Dash_of_Ajax

For the 4th point : the solution published make a database request for
remove a Product from a Cart. I think it's not needed. What do you all
think about that ?

I think it looks weird to show an empty cart.