Yeah, I think the example is basically flawed in that particular aspect.PHP Code:class ProductItemController extends ProductController {
...
$this->view=& new ProductItemView($this->model,$getvars['id']);
...
I think the case may be that it's misleading to talk about proper MVC and improper MVC. There are different degrees of separation, and more separation isn't necessarily better.




Bookmarks