P&aacute;draic Brady's Blog: Having a bad ViewRenderer day in your ZF app?
233264
With the introduction of the ViewRenderer component into the Zend Framework has come all sorts of troubles for all sorts of developers. Thankfully, there's posts like this one from P&aacute;draic Brady that helps out with some of the more common issues people are seeing (a problem/solution approach).   The ViewRenderer "action helper" is the class Zend_Controller_Action_Helper_ViewRenderer. It's primary purpose is to facilitate the automated rendering of View scripts (templates) based on the generally accepted Zend Framework conventions. It's these conventions which will cause a lot of people grief, since the previous reliance on programmers defining the template to render has likely led to inconsistent template names.   Included in the post is a list of some of the common issues developers have including "ViewRenderer is enabled by default", "Inconsistent location of template files" and "Reusing template files across Controller actions". For each, he's included a "quick hit" solution to get you back on the straight and narrow road to having a nicely working Zend Framework application.
139275
Popular posts from PHPDeveloper.org for the past week:PHP-Coding-Practices.com: Try-Catch Syntax WeirdnessPHPBuilder.com: Cross-Platform Database PHP DevelopmentIBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2OpenSourceCommunity.org: What do you think makes a good CMS?Jonathan Snook's Blog: Elemental: Conditional Content with CakePHPDevShed: The Basics of Using the Factory Pattern in PHP 5Builder.com.au: PHP exploit code plants itself in GIFJohn Cox's Blog:  Linux.com Now PHP PoweredNick Halstead's Blog: Solving Programming ProblemsPHP-Tools Blog: Testing FIT
697363
Matthew O'Phinney points out that one of the latest Zend Webinar presentations, "MVC applications with the Zend Framework", has been posted to Zend's webinar page.   We had more than 50 attendees, most of whom stayed on the whole time. For those of you who attended, thanks for the great questions and comments. If you would like to view the webinar, download the slides, or download the example code (a hello world app), visit the Zend.com Webinar page and look for the presentation.   Other webinars posted include a look at the Zend Core, an overview of the Zend Development Tools and a look at the Zend Framework and Access Control.
701641
Havard Eide is asking for your help in a new entry to his blog. He's looking for ways to speed up his development in Eclipse, specifically in the debugging.   There is one thing I do need over everything else: remote debugging. Having used Zend Studio for 3 years now it hasn't been the best editor ( I'd rather prefer PHPEclipse/PDT ) but the remote debugging facility is superb [...] Eclipse it has all the tools you need to develop with but the debugging is slow, way too slow!   He's looking for anyone out there that might be able to help him speed up the debugging on his Leopard-installed version of Eclipse ("So slow actually that I had to install Zend Studio 5.5 for whenever I have to debug a file...")
62130
In response to a previous article from the Symfony blog, Paul Jones has pulled together some thoughts to some of the comments they made.   As the author of a relatively popular benchmarking article, I feel compelled to respond to this bit of misguided analysis from the Symfony camp about benchmarks.   Paul talks about the "straw-man arguments" presented in the Symfony article, including some references to Paul's previous benchmarks. He's even broken it down into a point-by-point response to make each point clear.
722662
As both Andrei Zmievski and Clay Loveless mention in new blog posts from each, things in the PHP framework scene are getting a bit out of hand.   Andrei's comments:   I know you might be lusting after Rails for some reason and want to have the fame, the glory, and the dancing girls of DHH, but are we not going to be satisifed until Sourceforge is filled with the object-oriented diarrheal remains of our overblown egos and delusions of grandeur?   And Clay's thoughts:   Build a cool app. Forget about your own personal stamp on the framework world; you missed the boat on that one. But, if you want to make a mark, the world is wide open for new and cool applications. Pick an existing framework, start building your app, and contribute fixes back to that framework's community as you find shortcomings in your needs for your app.   They're both in agreement, and on more that one point. They recommend the best course of action for anyone out there with "the itch" to really work with a framework - fine one of the already established ones and dive right in. It might not be your own code, but you can contribute your own functionality and thoughts into the project and establish your own little niche.
342194
Leo Buttiker has posted a release announcement about the new framework they've developed - Trevi.   There're already thousands of web frameworks out there so I would sink into the ground if we really wrote another one. [...] Zend Framework looked like a nice solution. But what we probably liked most is that ZF allowed us to replace every component in the framework.    To this end, their "framework" isn't truly a new way of doing things - it's just a heavily modified version of the Zend Framework they've customized to fit their needs. Trevi is their own internal name for this release.
202568
In this new post to his blog today, Raphael Stolt shows how to combine the Zend Framework and Phing to create a simple, quick setup utility for future ZF projects.   After spending too much time on directory and view script shifting to align an 'older' Zend Framework application to the very useful ViewRenderer Action Helper of the follow-up releases I crafted a single Phing buildfile to stick to the recommended conventions and to have a nearly 'one-button' setup solution for any upcoming projects.    He'd found some other packages that did something similar, but wanted to do it with Phing. He includes the requirements (the software) features that the buildfile makes easy to include and some future improvements that could be made to the install to make things even easier. The buildfile is included and any path or configuration changes that might need to be made.    Phing is a "make" replacement that uses XML build files to define tasks in classes.
392378
Popular posts from PHPDeveloper.org for the past week:PHP.net: PHP 4 end of life announcementZend Developer Zone: Book Review: Professional Search Engine Optimization with PHPStoyan Stefanov's Blog: phpBB front-end optimization - 1 hour workshopSitePoint PHP Blog: Win Cash for the best Facebook App!Elizabeth Naramore's Blog: July Edition of IPM PublishedJob Posting: ManicMelon.com Seeks Mid-Senior LAMP Web Application Developer (Overland Park, KS)Paul Jones' Blog: Solar Views and LayoutsCodeIgniter Blog: Version 1.5.4 ReleasedPHP-GTK Community Site: MkDevDVD (DVD Manager for Linux)Job Posting: Next Internet Seeks Senior Software Engineer (San Francisco, CA)
680036
Chris Hartjes has posted the first part of a series on the "rebirth" of a component that was contributed to the Zend Framework - Zend_Service_Audioscrobbler (to interface with the Audioscrobbler service from Last.fm).   Many moons ago I set out (along with my friend Derek) to make a contribution to Zend Framework in the form of an add-on to let people easily access the Audioscrobbler web service. We worked really hard, implemented all the features of the web service at that time. Imagine our surprise when it got accepted as part of the 1.0 release of Zend Framework! Awesome! It even has it's own entry in the manual and everything.   He admits, though, that the code is not all that it could be and cites some examples as well as ways he would make it all work so much better.
66953
Chris Hartjes has posted again about the "rebirth" of a Zend Framework component he's worked on - the Zend_Service_Audioscrobbler.   So, dear readers, I received some nice emails and comments from those you have used Zend_Service_Audioscrobbler, along with having a nice email conversation with Wil Sinclair from Zend.   He still wants to "rip things up and start over", but has decided on a slightly different route - mapping the older function calls to the new ones via a __call catch and including a message stating that the older function call would be deprecated.
181510
Dave Dash has posted his own summary about a recent PHP-related conference that happened in Amersfoort - SymfonyCamp.   He talks about some of the presentations given, the other conference attendees, Fabien Potencier's Symfony 2.0 talk, his own talk on the Zend Search Lucene component and the "clean up" project they spent a day working on.   You can also check out Fabien's overview of the event (with more photos) for a different perspective.
398928
Well, the official announcement has been made and the Zend Developer Zone has the scoop on the latest release of the Zend Framework - Preview Release 0.6.0.    This represents a watershed for Zend Framework: we have passed the halfway point. We decided to advance the version number more than the customary "one-tenth" increment.   We are at a phase in which we are focused on finishing the components of the product. As we are approaching a state of feature-completeness, a Beta Release, and then the General Release of version 1.0, we have created a more precise roadmap for the scope and schedule of upcoming preview releases of Zend Framework.    Updates in this edition include:  Lucene-compatible search engine query language Improved Session-handling design Improved XmlRpc client and server Emerging components for I18N, Getopt, Mail folders, and others. Solutions for 126 bugs and feature enhancements, recorded in our issue tracker.    You can read up about all this and more on the Zend Framework Wiki home page.
242013
Popular posts from PHPDeveloper.org for the past week:ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 6Nessa's Blog: Using an .htaccess with PHP Compiled as CGIArnold Daniels' Blog: How I PHP: The Output Handler - ContinuedMartynas Jusevicius' Blog: PHP 5 features: Class autoloadingSean Coates' Blog: Actually Solving a Problem (believe it or not)The Northclick Blog: Message Queue Project: First working versionStefan Mischook's Blog: A Question about object properties in PHP ClassesJob Posting: G2 Technology Seeks PHP Developer (Memphis, TN)Rob Allen's Blog: Zend_View: Access the view from a view helperDavid Walsh's Blog: Using PHP Generic Objects To Organize Your Code
650038
Rob Allen has a quick note today about two updates he's made to the Zend_Config module of the Zend Framework:   Addition of a get method to grab values from a configuration node Moved asArray to be deprecated in favor of toArray/   You can download the latest version of the Zend Framework from the project's main site and, to get you started, you can also check out Rob's great Getting Started tutorial
536363
Matthew O'Phinney has posted the slides from a New York PHP User Group meeting that Mark de Visser (of Zend) and he spoke at:   Mark presented information on Zend's development stack and toolset (which I entirely missed, as I was still in transit), and I came in to give an overview of Zend Framework.   Matthew posted the slides right to his blog. They're in a browser-based slideshow system that will launch wen you double-click on the index file.
654789
Padraic Brady has posted today about a subclass of the Zend_Loader package (in the Zend Framework) he had written up to handle Dependency Injections - it was submitted but ended up being replaced with a Zend_Di component instead.   I realised someone had proposed a novel new component called Zend_Di, and that small change was since accepted by Federico into his DI buster. This is a quick overview with very simple use cases - read the full proposal for even more gory details about your object innards using DI.   He talks about what DI (dependency injection) is and what it can be used for and includes a simple example set around a controller in the framework that uses the Zend_Di component to make a "mock Zend_Mail" that can be used in testing too. Examples of these sorts of tests (with PHPSpec) are included too.