MVC alternatives: examples of MVA & AVC?
I'm interested in learning about the alternative patterns to Model-View-Controller, specifically the Model-View-Adapter and Application-View-Controller patterns.
Google results tend to be either a high-level overview or Java-based.
Can anyone either provide, or point me to, an example of these patterns in either PHP, Python or Java开发者_如何学JAVAScript?
These are some alternatives lurking about my bookmarks. They're mostly Java based but you shouldn't have any problems in understanding the underlying patterns.
- http://www.javaworld.com/javaworld/jw-07-2000/jw-0721-hmvc.html
- http://en.wikipedia.org/wiki/Presentation-abstraction-control
- http://en.wikipedia.org/wiki/Model-view-presenter
- http://msdn.microsoft.com/en-us/magazine/cc188690.aspx
- http://www.mindsilver.com/guide/docs/articles/mvc/index.php
This could be "python" enough: http://en.wikipedia.org/wiki/Application_View_Controller You should look at that framework, although patterns aren't frameworks and understanding frameworks won't necessary make you understand the pattern.
As I understand from AVC description on its site, AVC is not a design pattern, it's a framework for python (and for jython as well).
That's why I think that your question is incorrect.
精彩评论