[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Chaining together OrderProfiles?
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting cfm@maine.com (cfm@maine.com):
> > Quoting cfm@maine.com (cfm@maine.com):
> > > Has anyone ever done any work to chain together OrderProfiles?
> > >
> > > Rather than calling profile:
> > > a for part a
> > > b for part b
> > > c for part c (where c is just sum of a and b)
> > >
> > > I'd rather call profile:
> > > a for part a
> > > b for part b
> > > a+b for part c (where c is just sum of a and b)
> > >
> >
>
> I'm satisfied with failing on the first bump.
>
> suppose it's something like
> valid_date_profile
> valid_payment_profile
> valid_account_profile
>
> and it dies on valid_date_profile
> then user corrects it
> and it dies on valid_payment_profile
> and user corrects it
> and his account_profile was ok so it goes.
>
> Anything else makes it really hard to just add them together independantly
> and arbitrarily. That's **my** primary goal for code management purposes.
>
> I'd not thought about the final issue. This particular implementation still
> goes to final page for one last look. I'd think the simplest would be
> "last one rules" wrt any "set"; that would seem the "expected" behaviour.
>
But I don't like the idea of not telling the user all the errors at once
myself.
I will do some thinking on this one. If anyone has some suggestions for
how the flow might make sense, I am all ears. 8-)
--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>
Friends don't let friends use Outlook. -- Bob Blaylock
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list