| Active Users: |
45 |
| Accounts: |
1 |
| Guests: |
44 |
|
Francois |
| Number of listings: |
41 |
| Number of categories: |
0 |
|
|
|
|
|
Zend Controller & Zend View
|
Zend Framework has two versions of Routing mechanism: Zend_Controller_Router (the default) and Zend_Controller_RewriteRouter (sparingly documented). You can easily make them call indexController::noRouteAction() on unexistence controllers, but on unexistence actions theyÂ’ll throw you an exception.
http://blog.ixti.ru/2007/01/17/howto-handle-unexistence-controllersactions-with-zend-framework-recovered/
PageRank: 0/10
(Clicks: 181;
Comments: 0;
Listing added: Feb 2, 2007)
|
|
Who works with Zend Framework, most likely, have read the “Zend_Controller / Getting Started” Zend Framework manual article, which explains how to use Zend_Controller in the root folder of the web server. But it does not answer on the “How to run my Zend Framework application in a subfolder of the web server document folder?” question and I propose you my solutions. First is rather a hack then a recommended solution, but with it you can start the applications and examples that use standard router. The second is neater but it depends on the Zend_Controller_RewriteRouter class.
http://www.alexatnet.com/Blog/Index/2006-09-26/using-zend_controller-in-subfolder
PageRank: 2/10
(Clicks: 187;
Comments: 2;
Listing added: Feb 2, 2007)
|
|
Part of what I love about the Zend Framework is the ease at which a person can create views for static content.
http://www.zed23.com/2006/10/19/zend_view/
PageRank: 3/10
(Clicks: 205;
Comments: 0;
Listing added: Jan 6, 2007)
|
|
In the previous article I introduced a method to describe routing information within a configuration file built specially for the Zend_Config object. The example code I gave was done in XML, but itÂ’s worth reiterating that the same can be done with an INI file or a file containing a PHP array.
Now IÂ’d like to extend the Zend_Controller_Front class to automate the retrieval and use of the configuration settings we capture in our Zend_Config object. WeÂ’ll use the Zend_Config object to create and build out a Zend_Controller_RewriteRouter object. Once weÂ’re done, weÂ’ll simply set it to our front controller like normal (almost), and dispatch our HTTP request.
http://www.johndwells.com/journal/phrappe_controller_front-part-2-extending-zend_controller_front
PageRank: 2/10
(Clicks: 110;
Comments: 0;
Listing added: Jan 6, 2007)
|
|
So, this all started as I read about the Zend_Controller_RewriteRouter class. While building my own framework, routing was a particularly sticky issue to iron out, so I wanted to see how Zend handled the whole issue. And they did in a fine way, apparently somewhat borrowed from Ruby On Rails
http://www.johndwells.com/journal/phrappe_controller_front-part-1-using-zend_config-to-describe-routing
PageRank: 3/10
(Clicks: 173;
Comments: 0;
Listing added: Jan 6, 2007)
|
|
http://www.akrabat.com/2006/03/05/zend-framework-views-and-the-front-controller/
PageRank: 3/10
(Clicks: 308;
Comments: 0;
Listing added: Jan 5, 2007)
|
|
Excelent review of Zend Controller classes.
http://www.wiki.cc/php/?title=Zend_Controller
PageRank: Not available
(Clicks: 221;
Comments: 1;
Listing added: Jan 5, 2007)
|
|
Zend Framework team works with gusto on the Zend Framework, great framework for building powerful web-applications in PHP. But too many peoples are confused with its seeming complexity. In this post I will try to explain architecture of most useful part (in my opinion) of Zend Framework - Zend_Controller.
http://kpumuk.info/php/exploring-zend_controller-class-of-zend-framework/
PageRank: 5/10
(Clicks: 270;
Comments: 0;
Listing added: Jan 5, 2007)
|
|
I started discovering of Zend Framework and was confronted with a problem. When IÂ’ve placed my test sample into siteÂ’s subdirectory (http://localhost/test/), default router tried to find TestController which is not exists of course and routed me to IndexController/noRoute. ItÂ’s not good for me. I decided to create my own router.
http://kpumuk.info/php/zend-framework-router-for-subdirectory-based-site/
PageRank: 5/10
(Clicks: 300;
Comments: 1;
Listing added: Jan 5, 2007)
|
|
Like many other PHP developers I’m keeping an eye on the progress of the Zend Framework. It’s currently still in the very early stages of development but is nonetheless worth “getting to know”. These are some notes from a play around with the current View functionality.
http://www.ingredients.com.au/nick/2006/06/10/getting-to-know-zend_view/
PageRank: Not available
(Clicks: 335;
Comments: 0;
Listing added: Jan 5, 2007)
|
|
|
|
|
|
|
|
|
|