On Mon, 30 Jun 2008, Derick Rethans wrote: > On Sun, 29 Jun 2008, Tobias Schlitt wrote: > > > ezcMvcController > > ---------------- > > > > So far the design defines that the action is selected internally by the > > controller. While I can live with this solution, I think the decision > > belongs more to the dispatcher. This avoids quite some duplication in > > controller code, I'd say. > > Yeah, I agree.
Actually, I don't. > > Example Dispatcher > > ------------------ > > > > The example implementation uses goto. While I like that this is added to > > PHP in 5.3 (e.g. for parser implementations), I don't see a sense in > > using it here. We should better extract the re-run part into a method > > and call it recursively, if needed. > > It was a joke ;-) But seriously, you can do whatever you want with the dispatcher. This is just an example in the design document. How exactly our example implementations look like we'll have to see later. > > The implementation also makes use of a $routerManager, which is not > > defined anyhwhere else. > > You have to implement it, just like the viewManager. Both are at the top > of the example implementation of the dispatcher. I added the ezcMvcRouterManager to the document now. regards, Derick -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
