Matt Pitts wrote:
-----Original Message----- From: Christopher H. Laco [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 2:05 PM To: The elegant MVC web framework Subject: [Catalyst] Catalyst + Class::WorkflowAnyone done any integration with Class::Workflow and mapping object states to actions? I need to get back on the Mango wagon this week and I'm toying with making checkout nothing more than configurable states of an order. My first question is me wondering if checkout states are the same as order states, or if they should/could be two separate workflows.I see them as separate workflows. When working on a site rebuild last year my boss and I addressed this question and we both agreed that a "cart" and an "order" are separate things. We drew the line at the point where a user enters billing information, but hasn't yet said "submit my order". This is the point at which we "copy" the cart into an order and tie them together.
Yeah. I've lived through a few projects where the cart was the 'line items' part of an order during checkout, right up until the 'place order' part. It usually caused more harm than it would if I just kept a cart and order in sync when the cart changed and someone already started the checkout process.
That's where I struggle. Two seperate workflows makes sense to me. But on the flip side, if it's one workflow, you have the ability to look at 'temp' orders and find out where people bailed in the checkout process based on the state of that order. But it's a little harder to do the same if the checkout process is never saved like an order is...even an incomplete order. It also brings more possibilities to send people emails about un-submitted orders when parts in that order go on sale, etc.
But I digress...
signature.asc
Description: OpenPGP digital signature
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
