Dofactory.com
Dofactory.com
 Back to list
Views:   8.4K
Replies:  2
Archived

Checkout is not implemented?

Hi.
I am interested in the silverlight patterns, but i see in your silverlight Action project that the Checkout use case is not implemented. I would like to see how you suggest create the order and orderitems an how and where you update the Product.UnitsInStock.

I do like your product but i think that is need that the checkout would be implemented.

excuse my bad english.
thanks.
Ramiro Bautista, Apr 05, 2011
Reply 1
Yes you are right .

However i think that the use cases already implemented has basic CRUD operations. I think that the checkout use case (not ask card info), i.e. place the order is a more complex use case that allow show a transaction script pattern or the application service pattern or domain Model pattern, i.e. i have doubts about where I should be put my complex business rules in a use case.

thanks in advanced.
Ramiro Bautista, Apr 06, 2011
Reply 2
Hello Ramiro:

The purpose of the Design Pattern Framework is to demonstrate Design Patterns in the real-world.
A checkout process would not significantly add to Design Pattern learning which is why it is not included.

However, with the sample code you already have (shopping cart, db access, service layer, etc) this should be relatively easy to implement, I would think.

Hope this helps.
Dan.


Dan McMillan, Apr 06, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.