Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #30425
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2014-11-26 14:54 -0800 |
| References | <986bdeb7-709c-4e79-91e6-1b31771f7d06@googlegroups.com> <54763070$0$293$14726298@news.sunsite.dk> |
| Message-ID | <997e9d63-8e7e-4ff5-b892-69bd4fbe2318@googlegroups.com> (permalink) |
| Subject | Re: MVC Partner |
| From | Leonan Luppi <leonan.luppi@gmail.com> |
Em quarta-feira, 26 de novembro de 2014 17h56min41s UTC-2, Arne Vajhøj escreveu: > On 11/26/2014 2:16 PM, Leonan Luppi wrote: > > I have some doubt about MVC. Someone could solve please? > > > > So for my "M" it's need to be my mirror of DB (Entity mapped my JPA for example)? > > > > For my "V" it's need to be interfaces which only show and send to my controller? > > > > For my "C" it's need to be all business rules, calling my DAO to result from DB ? > > > > Someone can give an example please? > > I would say: > > M = interface to business logic > V = display to user > C = handling of user actions > > Also see > http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller ! > > Arne Arne, Ok, but if 'M' is my business logic. Where can i put my Entity's? And the 'V' i understand to display interfaces, but where can i send information to handle on controller? like send my username and password to do logIn.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
MVC Partner Leonan Luppi <leonan.luppi@gmail.com> - 2014-11-26 11:16 -0800
Re: MVC Partner Arne Vajhøj <arne@vajhoej.dk> - 2014-11-26 14:56 -0500
Re: MVC Partner Leonan Luppi <leonan.luppi@gmail.com> - 2014-11-26 14:54 -0800
Re: MVC Partner Arne Vajhøj <arne@vajhoej.dk> - 2014-11-26 18:07 -0500
Re: MVC Partner Martin Gregorie <martin@address-in-sig.invalid> - 2014-11-26 23:22 +0000
Re: MVC Partner lipska the kat <lipskathekat@example.com> - 2014-11-26 20:40 +0000
Re: MVC Partner Leonan Luppi <leonan.luppi@gmail.com> - 2014-11-26 15:01 -0800
Re: MVC Partner lipska the kat <lipskathekat@example.com> - 2014-11-27 08:56 +0000
csiph-web