Zend Developer Zone: PHP in Action - Chapter 7, Design Patterns. Part - III
480820
The Zend Developer Zone has posted the final part of their excerpts from the Manning Publishing book "PHP in Action" today with part three of the Design Patterns chapter.   You know you've been waiting for it, here it is. The final installment of Chapter 7 of PHP in Action by Dagfinn Reiersol. Without further comment, here's the introduction to this section in Dagfinn's own words: "In this section we discuss an Iterator and a Composite."   Dagfinn briefly mentions what the two patterns are about - a "canned loop" and making tree structures easy. Check out the PDF for the remainder of the chapter.
31642
Here's what was popular in the PHP community one year ago today:The bla.st Blog: Process your URLs in PHP with Apache mod_rewrite and wildcard DNSZend Developer Zone: Book Review : PHP and MySQL by ExampleBen Ramsey's Blog: Zend Executable Debugger Eclipse PluginIlia Alshanetsky's Blog: PHP 5.2.1 RC1 Available for testingphp|architect: 7-Day Promo Fest BeginsNew Earth Online: Detecting Users OnlinePHPBuilder.com: Beginning Ajax with PHP: From Novice to ProfessionalVexxhost.com: Top 5 new (and cool!) features in PHP5 that you probably haven't heard ofFelix Geisendorfer's Blog: A PHP developers guide to JavaScript - Part 1DevShed: Introducing Bridge Classes with PHP 5Book Review: The Design of Sites: Patterns for Creating Winning Web SitesPaul Jones' Blog: New Year's BenchmarksHowToForge.com: Building Apache with PHP,MySQL, OCI8 instant client supportManfred Weber's Blog: Consuming PHP SOAP Webservices with Flash - Part IZend Developer Zone: Who Uses the Zend Framework?
515251
In a new post to his blog, Rob Allen takes a look a a package inside of the Zend Framework - one that allows for much more flexibility with the way your site flows.   One of the new features to hit the Zend Framework since 0.7 is Zend_Controller_ModuleRouter and its sibling Zend_Controller_ModuleRewriteRouter. This allows for separating out sets of controlers, models and views into their own modules.   He gives both a directory structure and PHP code example of it in action, both in how it normally functions (looks for a controller with the same name as the request) and an example of how he thinks it should work - complete with code and a directory structure to compare to the previous example.
473226
Damien Seguy has continued his series looking at PHP configurations around the web and is sharing the results in the form of two new reports over on Nexen.net.   I just published the second part of the serie about PHP configurations. This part focuses on three aspects of PHP: PHP extensions, PHP streams, and disabled functions.   You can find the statistics themselves here and the latest configuration statistics here. It's interesting to see the drop-off when it comes to the various modules that are installed ("php, ftp and http are the most common. Besides them, tough luck.") and to see the somewhat more gradual curve of which functions are disabled - with system() topping out the list (with good reason).
318761
DevShed ramps up another new series today with this new article giving developers a look at working with object-oriented programming through the eyes of design patterns. It's another excerpt from the George Schlossnagle book "Advanced PHP Programming".   This chapter provides an overview of the advanced OO features now available in PHP. Some of the examples developed here will be used throughout the rest of this book and will hopefully serve as a demonstration that certain problems really benefit from the OO approach.   The article lays down the foundation for the more complex information to come. It introduces object-oriented programming briefly, and talks about some of the handy features of it - like inheritance, static attributes and methods.
553589
Zend has a new tutorial posted in their PHP 101 series - PHP 101 (part 9): SQLite My Fire!
437494
Popular posts from PHPDeveloper.org for the past week:PHPClasses.org: A PHP killer feature - Streams abstractionRob Thompson's Blog: Switch vs. IfPHPEverywhere: Octopussy numbers in PHPJob Posting: MODE Visual Seeks PHP Developer (Charlotte, NC)ProDevTips.com: Why PHP as a templating language sucksMatthew Turland's Blog: The Yin and Yang of TypingStubbles Blog: Stubbles 0.5.0 releasedChristopher Jones' Blog: Updated connection pooling in PHP's OCI8 extensionBen Ramsey's Blog: Congrats Costa Rica PHP!Carsten Lucke's Blog: Configuration issues with Xdebug on Debian Etch
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.
736098
Patrick Reilly has a new post today encouraging developers out there looking for an opportunity to volunteer in the community to check out the Zend Framework project's many needs.   Most components and subprojects need volunteers to help with documentation, unit test coverage, code reviews, improving integration with other ZF components, and enhancing architecture and design for the purpose of improving extensibility and ease of use with new components. If you see a subject area or component that interests you, please contact any project members currently associated with the component.   The project is starting several wiki "websites" dedicated to each of the components/efforts inside of the main framework project. Areas for these include:  Auth Team Documentation Team MVC Team Web Services Team
728813
Matthew O'Phinney has a reminder for anyone in the Burlington, VT area tonight - there's a meeting of the Burlington PHP user group tonight at 5:30pm.   Bradley Holt will be giving a presentation on developing a web application using Zend Framework. Bradley Holt is founder and web developer for Found Line, a local design and development studio which has used Zend Framework in several recent projects.    You can get more information about the meetup from this event page on their Google Groups site (happening at the Brown & Jenkins Coffee Roasters).
387178
The Zend Developer Zone has posted the latest episode of their PHP Abstract podcast series with a focus this time on screen scraping (as recorded by Matthew Turland).   Matt has been building PHP applications since 2002. He joined the ranks of PHP-Oracle developers in 2006 when he became a programmer for METHODS Technology Solutions. He contributes to open source projects such as the Zend and Forkr frameworks. [...] We are going to veer off the beaten path today as Matthew talks to us about Screen Scraping.   You can download the mp3 directly or you can  to get this and the most recent episodes.
635920
Popular posts from PHPDeveloper.org for the past week:Padraic Brady's Blog: Complex Views w/Zend Framework - The Final Chapter: ZFE & Zend_Layout in Core!php|architect: Stuff your stockings: single issues 30% offDeveloperTutorials.com: How to Install PHP 5 on LinuxStoyan Stefanov's Blog: Fancy FormattingSymbianOne.com: Your S60 Web server gets a boostAndreas Gohr's Blog: MySimple.php - A lightweight PHPMyAdmin substituteNessa's Blog: Working with Permissions in PHPSymfony Blog: Symfony 1.0.10 is OutMatthew Turland's Blog: Web Scraping Article PublishedJan Lehnardt's Blog: REST Controller for PHP Applications
695727
As posted over on the Zend Developer Zone, Marc Gear has posted a new review over on his blog of the guide that php|architect magazine has created to help prepare developers for Zend's PHP 5 Certification.   I brought the book to make sure that my knowledge was sufficient to take the test [...] however, having read most of the book last night, I think it would be a good addition to my bookshelf, especially to lend to other developers on my team.   He briefly covers the topics in the book (including basics, functions, stream, security, etc) and a general impression of how the book presented them overall. His opinion of the resource is definitely a good one, summed up well by the above comments.   His only complaint was a small one (and not even about the content of the book) - that the spine was printed upside down so it looks a bit odd on the shelf.
753153
P&aacute;draic Brady has a suggestion for all of the PHP readers out there - two articles in the latest edition of php|architect magazine, the May 2007 edition:   The two that stick in my mind are Jim Delahunt's "Unicode and PHP: A Gentle Introduction" and Jeff Moore's "Test Pattern: Model View Controller". Both are something those seeking illumination on these topics should certainly read.   The first presents an introduction to one of the hottest topics in the PHP world - Unicoding - including a few same scripts to get you going. The second article, a look at the Model/View/Controller pattern that really gets more to what the pattern is about rather than just talking about its structure.
155453
Popular posts from PHPDeveloper.org for the past week:PHPBuilder.com: AJAX and PHP Part 1Developer.com: Threads Versus The Singleton PatternNick Halstead's Blog: Google Gears Caching of WordPress in PHPDevShed: PHP, MySQL and the PEAR DatabaseDave Dash's Blog: Installing a PHP that can do symfony+doctrine on DreamhostChristopher Jones' Blog: Upgrade PHP with Oracle Application Server on LinuxPHP.net: PHP 5.2.3 ReleasedPro::PHP Podcast: Newscast for May 31st, 2007Secunia.com: PHP Integer Overflow Vulnerability and Security BypassPHPBuilder.com: PHP and Regular Expressions 101
434386
Ben Ramsey, a speaker at both the Zend/PHP Conference 2006 and the International PHP Conference 2006, has posted a monster wrap up for both events to his blog today.   This post is long overdue, but I was finally able to sit down and type out my thoughts about the Zend/PHP Conference and Expo and the International PHP Conference.    First up is his look at the Zend conference - largely a good experience. He specifically mentions the talk from Rob Richards, the "Extending PHP" tutorial session (with Sara and Marcus), and the infamous misunderstanding about his laptop bag (which was resolved shortly after the conference had concluded).   His experience with the International PHP Conference went equally well, despite the location of the event being slightly more out of the way than some liked. He comments on the excellent conference materials provided, the types of attendees, and some of the talks he attended - Aaron Wormus' "Mastering enterprise-level PHP tools PEAR, PhpDocumentor and testing" and Sata Golemon's "Navigating Streams" being among them. If you like to check them out, he's also posted some photos of the conference and a night out around the town he took.
458749
Sebastian Bergmann posts about the tutorial he (and fellow developers Matthew O'Phinney and Mike Naberenzy) will be presenting at this year's Zend/PHP Conference & Expo - a look at PHP Development Best Practices and Unit Testing.   From the official description:   PHP development by teams of developers introduces challenges beyond the mere coding of great algorithms. Agreements are needed about tools, specifications, architecture, design patterns, coding standards, testing, documentation, source code control, staging and deployment. This tutorial session aims to introduce developers to a set of best practices that will help them deliver applications fast and move them to deployment with confidence.   You can check out some of the other tutorials for the upcoming conference as scheduled here.