Re: Zend front controller and getInstance()
Posted: Mon Feb 23, 2009 3:47 pm
1) Everything accessed via the Registry, 2) there is a separate class that holds/calculates the paths and names for Actions, etc. to use (so no dependency on the FC object at all), and 3) the Registry object is injected into Action constructors/methods so no static calls required. It makes it lighter and everything replaceable, but that is it own set of design trade-offs -- hence the arguments about the lack of concrete interfaces, etc. You just can't win design discussions.Theory? wrote:How does Skeleton handle it by default?