![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 224 Pomógł: 18 Dołączył: 4.02.2003 Skąd: Częstochowa Ostrzeżenie: (0%) ![]() ![]() |
Witam, chciałem na potrzeby pracy mgr. dobrze opisać diagram znajdujący się w dokumentacji:
http://framework.zend.com/manual/en/zend.c...ler.basics.html Ostatni akapit: Cytat The workflow of Zend_Controller is relatively simple. A request is received by Zend_Controller_Front, which in turn calls Zend_Controller_Router_Rewrite to determine which controller (and action in that controller) to dispatch. Zend_Controller_Router_Rewrite decomposes the URI in order to set the controller and action names in the request. Zend_Controller_Front then enters a dispatch loop. It calls Zend_Controller_Dispatcher_Standard, passing it the request, to dispatch to the controller and action specified in the request (or use defaults). After the controller has finished, control returns to Zend_Controller_Front. If the controller has indicated that another controller should be dispatched by resetting the dispatched status of the request, the loop continues and another dispatch is performed. Otherwise, the process ends. Moje tłumaczenie: Cytat Działanie Zend_Controller jest stosunkowo proste.(dop. czyżby? ![]() Po skończeniu załadunku, kontrola wraca do Zend_Controller_Front. Jeśli kontroler wykazał potrzebę załadowania innego kontrolera (innej klasy) przez resetowanie procesu załadowywania, pętla kontynuuje się i kolejne ładowania klas (dispatcher) odbywają się dalej. W przeciwnym razie proces się kończy. Czy dobrze to zrozumiałem i czy nie popełniłem czasem błędu w interpretacji/tłumaczeniu? Będę bardzo wdzięczy za opinię, pozdrawiam. Ten post edytował rafalp 2.05.2011, 20:13:37 -------------------- |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 09:30 |