|
Posted by Andy Dingley on 10/12/70 11:22
On 28 Jul 2005 03:03:05 -0700, "Travis Newbury"
<TravisNewbury@hotmail.com> wrote:
>There is where we disagree. Putting the business logic in 3 places.
You have to have it on the server, because you need to validate the
final submission.
You also want to have it available on the client, because that improves
usability. There are two efficient approaches to this: one is to
describe the logic formally by some form of predicate calculus. This
then generates different code for each platform automatically, but with
equivalent function. The other way is to code a distributable object to
some standard interface, then run copies of it on each platform.
The third option, that of asynch validation on the server may also use
these techniques, but usually it's done by proxying onto the same logic
already done for the server. Again this proxy layer is automatcially
produced.
Navigation:
[Reply to this message]
|