Home  /  Questions  /  Question



50   50
Apr 05, 2011


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.



830   99.9
Apr 06, 2011
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.



50   50
Apr 06, 2011
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.