| Number of listings: |
41 |
| Number of categories: |
0 |
|
|
|
|
|
Zend Controller & Zend View
|
Plugin de configuration du contrôleur frontal et initialisation de l'application. Largement inspiré de l'article de Matthew sur la DEVZONE : http://devzone.zend.com/article/3372-Front-Controller-Plugins-in-Zend-Framework
http://www.wowww.ch/index.php?post/2008/11/20/Zend-Framework-front-controller-plugin-et-initialisation
PageRank: 0/10
(Clicks: 364;
Comments: 0;
Listing added: Nov 26, 2008)
|
|
Shows how to use the Zend Controller with the PEAR package HTML_Ajax.
http://www.prodevtips.com/2007/10/15/marrying-the-zend-framework-and-html-ajax/
PageRank: Not available
(Clicks: 1655;
Comments: 0;
Listing added: Oct 16, 2007)
|
|
When working with views in the Zend Framework, you normally have a view for each action in your controllers. Each of the views run a view script, which then include header and footer views in them. This may lead to some repetitive code and may cause a problem if you want to modify the way the header and footer are included in your views.
A better approach could be to use a "layout". A layour is a master view, perhaps similar to the master page in ASP.NET - it has the header, footer and all other code except the content. It effectively replaces the header and footer and is used to include the content (the action view script) inside itself instead of the action view script including the header and footer.
http://my.opera.com/zomg/blog/2007/09/14/using-layouts-with-zend-viewrenderer-helper
PageRank: Not available
(Clicks: 1863;
Comments: 0;
Listing added: Sep 14, 2007)
|
|
I've seen two articles describing how to integrate Smarty with Zend_View, Integrating Smarty with the Zend Framework at Zend Developer Zone and Zend Framework: Using Smarty as template engine at Dmytro Shteflyuk's blog. Both of these are very outdated by now. So here's take three on integrating Smarty with Zend_View, this time hopefully staying useful for a longer time since the Zend Framework has reached version 1 now.
http://my.opera.com/zomg/blog/2007/07/31/smarty-zend-view-take-three
PageRank: Not available
(Clicks: 1027;
Comments: 2;
Listing added: Sep 4, 2007)
|
|
Yet another demonstration of the power of the Zend Framework. This works with ZF Version 0.8 as well as the recent release of 0.9.(x?) This time we’re going to create dynamic breadcrumbs that might look like this: Home / Article / Editing: My Post Title Utilizing view helpers, all we need to do is do a little prep work; in my case, I use a bootstrap controller that all my controllers extend.
http://www.zed23.com/2007/03/14/breadcrumbs-with-zend-framework-view-helpers/
PageRank: Not available
(Clicks: 1407;
Comments: 0;
Listing added: Sep 4, 2007)
|
|
It's been a long, and hopefully interesting, road to Part 7. In this concluding entry to the long running, and oft delayed, "Complex Views with the Zend Framework" series I introduce the Zend_View Enhanced Proposal for the Zend Framework, elaborate on its operation, and provide some opinions on the ongoing debate over its implementation. So sit back, relax, here's another long (be patient ;-)) blog entry.
http://blog.astrumfutura.com/archives/297-Complex-Views-with-the-Zend-Framework-Part-7-Zend_View-Enhanced.html
PageRank: Not available
(Clicks: 1022;
Comments: 0;
Listing added: Sep 4, 2007)
|
|
One could tweak Zend Framework's Router_Route to meet almost all your routing needs. But what if you want something beyond what that package can offer? You can make your routing dreams come true with making your own custom router, all you need to do is implement Zend_Controller_Router_Route_Interface (that's a mouth full).
http://www.codeangel.org/article/custom_zend_framework_router
PageRank: Not available
(Clicks: 1328;
Comments: 0;
Listing added: Jul 1, 2007)
|
|
It's 4:30 AM, and I'm sitting in an airport lounge waiting for a flight to Brussels after accidentally bumping into Zeev and a couple of other guys (Amnon and Matti) from Zend, on their way to a management meeting in the US. Since they had to board, and I'm left all alone and still have an hour or so to pass, I'm going to share a nifty little thing I found in Zend Framework a couple of days ago: A nice and clean way to generate relative links in view scripts.
http://prematureoptimization.org/blog/archives/25
PageRank: Not available
(Clicks: 704;
Comments: 0;
Listing added: Jun 22, 2007)
|
|
Contrary to what my tutorial says, I'm one of those people that doesn't want to have to render my common header and footer templates in every single view script file. I prefer a standard site-wide layout script file that will display the content of the action script files within it.
The Zend_Controller_Action_Helper_ViewRenderer action helper is a great bit of code that automates rendering a view template based on which action has been called. This is very useful, but renders the action template, not my layout template. To solve this, I am experimenting with extending the Zend_Controller_Action_Helper_ViewRenderer and overriding it so that it know about my layout template. I also prefer to use the view suffix "tpl.php" for my view scripts, so I've made my class automatically set my preferred view suffix.
http://akrabat.com/2007/06/02/extending-viewrenderer-for-layouts/
PageRank: Not available
(Clicks: 1368;
Comments: 0;
Listing added: Jun 18, 2007)
|
|
Over the last week a lot of the activity on the Zend Framework mailing lists has revolved around the introduction in 1.0.0 RC1 of the ViewRenderer action helper. As of RC1 this helper has been enabled by default. Lot's of queries have been raised about how to disable, modify it, and generally how current applications can be made to work with the ViewRenderer.
http://blog.astrumfutura.com/archives/290-Having-a-bad-ViewRenderer-day-in-your-ZF-app.html
PageRank: Not available
(Clicks: 260;
Comments: 0;
Listing added: Jun 18, 2007)
|
|
|
|
|
|
|