The first half of this file will look much like the symfony front controller you created.
此文件的前半部分与您创建的symfony前端控制器看上去很相似。
The front controller is responsible for accepting the request and passing it off to a specific action.
前端控制器负责接受请求,并把请求传递到特定动作。
The front controller pattern is trying to claim that keeping all of my commands in one place is agile.
前端控制器(front controller)模式声称将我的所有命令保持在一个地方是敏捷的做法。
The front controller calls the execute method and passes it a number of useful objects, including the HTTP request and response objects.
前端控制器将调用execute方法,传递给它许多有用的对象,其中包括HTTP请求和响应对象。
This controller will look similar to the front controller, in that you will be registering the autoloader and defining the base adapter for the model.
该控制器看上去将类似前端控制器,因为您将注册自动装入器(autoloader)并为模型定义基本适配器。
When you wanted to execute a command-line script in the Zend Framework, you created a scripts controller that would be used instead of your front controller.
当需要在 Zend框架中执行命令行脚本时,您创建了可用于替代前端控制器的脚本控制器。
We're now ready to create the Front Controller.
我们现在准备创建前端控制器。
You don't need to write a Front Controller like you did in Zend, as symfony has already provided this for you.
您不需要像在Zend中一样编写Front控制器,因为symfony已经为您提供了该控制器。
The architecture consists of a Front Controller which ACTS as the central point for receiving requests and providing response to the clients.
该架构包括Front Controller,作为接收请求并向客户端提供响应的中心点。
This is one of the main advantages of the front-controller design pattern.
这是前端控制器设计模式的一个主要优点。
This is one of the main advantages of the front-controller design pattern.
这是前端控制器设计模式的一个主要优点。
应用推荐