Back to list
Views:   6.4K
Replies:  1
Archived

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
Reply 1
Mohamed:

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


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0