Cart object concept?
I have a general question: In the Design Pattern Framework, why is the shopping cart object in the framework layer and not in business layer? What is the concept behind that?
Mohamed Ahmed, Sep 23, 2010
The main reason is that the shopping cart is not persistent in the current implementation of the Design Pattern Framework.
If you have a Cart table in your database (i.e. you have a persistent cart), we recommend you implement the Cart object in the Business Layer, like all other persistent business objects.
Hope this helps.
Dan McMillan, Sep 23, 2010