server side redirects for commands
"Valeri Sarantchouk" <[email protected]>
| Newsgroups | gmane.comp.web.maverick.general |
|---|---|
| Organization | Lycos Mail (http://www.mail.lycos.com:80) |
| Message-ID | <[email protected]> |
Hi there! > While supporting the concept is important, I'm not personally convinced > *yet* that controller chaining has enormous merit. How about this use case: The site (portal?) has three levels of services and subscribers: 1) Basic: has standard set of features; 2) Premium: Basic + more features; 3) Premium Plus: Premium + even more features. The application is written as chains of servlet filters, mapped through web.xml. This makes composing a more complex views and models for more advanced users a matter of adding new controllers to the basic chain. I know, same thing can be done by constructing inheritance trees. As I see, this leads to discussion of design decisions and preferences. More specifically, to discussion of differences between object-oriented versus component-oriented design. This project takes components very seriously: http://avalon.apache.org/ Ok, we won't touch aspect-oriented development :^) My best wishes, Valeri ____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com [INVALID FOOTER]