On 8/29/05, netsql <[EMAIL PROTECTED]> wrote:
> 
> So... how is he wrong? I deployed a rich app... and only domain model is
> on server.


If you have *only* the domain model on the server, you'd have to be making 
direct remote method calls to model objects from the browser. Don't you have 
a servlet in there, that processes and decodes incoming requests, dispatches 
to appropriate business objects, and then packages up the results in a 
suitable form for sending back to the browser? I'm sure you'd agree that 
that code is not part of your domain model. In fact, it's really just MVC 
again, and the decoding, dispatching and serialising are all things that a 
framework like Struts Ti can provide you with.

--
Martin Cooper


What else should be on the server?
> If UI (View) is on the client, C (controller has to be there).
> 
> .V
> 
> 
> Martin Cooper wrote:
> > That article does indeed indicate that only the model is on the server. 
> But
> > that's wrong. ;-) Check out the first response to that article, labelled
> > "Marc's Voice". He gets much closer to the truth when he says "The other
> > thing to note about Model N is that the server side is very similar to 
> Model
> > 2".
> >
> > One of the goals with Struts Ti is to make it simple to implement
> > server-side handling for rich applications, whether they use AJAX, AJAJ 
> or
> > whatever. We're not going to write the client side framework - that's 
> what
> > folks like the Dojo team do best - but we aim to provide the best means 
> of
> > implementing the server side of applications built with them.
> >
> > --
> > Martin Cooper
> >
> 
> 
> --
> thx,
> .V
> 
> Broadband interface (RIA) + mail box safety = Roomity.com<http://Roomity.com>
> <http://roomity.com/demo.jsp>
> *Your* clubs, no sign up to read, ad supported; try broadband internet.
> 
> cell: 917 825 3035 in DFW
> email: netsql at roomity.com <http://roomity.com>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to