摘要:
1、The HttpKernel Component a. 用httpKernel是 Symfony 灵活性和可扩展性的基础,通过他,可以创建Symfony和Drupal b. HttpKernel (HTTP内核) 是更高层的协调者,而 Controller (控制器) 是具体的业务逻辑执行者。 阅读全文
posted @ 2025-09-08 21:22
繁星灼灼
阅读(10)
评论(0)
推荐(0)
摘要:
4、Controller Controller是负责从Request读取请求,并返回Response对象。Response可以是html、json、xml、404错误等任何东西。Symfony有一个抽象的基类,AbstractController。有一些常用的方法。具体包括: a、Generatin 阅读全文
posted @ 2025-09-08 17:58
繁星灼灼
阅读(5)
评论(0)
推荐(0)

浙公网安备 33010602011771号