Re: MVC within Keel
"Shash Chatterjee" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
Shovon, > I was looking at the app-hoj example application. I am > just wondering if putting "commands" within the code > of model puts the M & C of MVC within the model of > keel. Should we have another set of classes as pure > busines layers? Can you please point me to wiki that > clarifies it (if any). I am just confused if we are > restricted to the same controller sequence which is > hardcoded within the code of model. app-hoj is meant to have the least code possible to provide an introduction to working with Keel. You can avoid putting Command objects in Models in two ways. First, create Output objects to store objects of relevance for the next state in the application, and do the dispatching in the JSPs (or other view elements). Second, and certainly the more capable option, is to use app-workflow and define your transition logic to go between the various Models as part of a workflow. Shash