Daniel Vecchiato's Blog: Using Zend Framework components in Code Igniter
690877
In a new post on the Zend Developer Zone (by Daniel Vecchiato) pointing out a new tutorial that combines the Zend Framework with another framework, CodeIgniter, to enhance each's power.    The tutorial (Using Zend Framework components in Code Igniter) will introduce you to an easy way to integrate the Zend Framework libraries (a lot!) into Code Igniter PHP Framework.   In particular we will build an example in which we use the Zend_Service_Flickr to retrieve images based on a specific tag ('climbing' in this tutorial).    The tutorial steps you through a quick installation of the Zend Framework, but assumes that you already have CodeIgniter installed. Then it's a simple matter of combining the two, extending the Zend Flickr service client and grabbing photos related to "climbing".
177344
P&aacute;draic Brady is back today with the latest installment (part 5!) of his look at complex views in the Zend Framework. This time, her focuses on something called the Two-Step Pattern - a pattern similar to the Layouts pattern.   Part 5 of our series takes a small time-out from approaching a Composite View solution to reusable Views to take a peek at a simpler approach useful for simpler types of web applications. As we've discussed previously Composite Views allow the nesting of reusable View elements, effectively building a View based on a hierarchy of Views. But often there are simpler solutions to simpler problems. One such solution is the Two-Step View pattern, sometimes called Layouts if implemented in a specific way (as we do below!).   He gives the example of a simple website that needs a header and footer on every page. Rather than having to duplicate the header/footer calls across all of the pages, the Layout (Step-Two) pattern defines a single template that contains the header and footer but also uses a "main" area where the content is dynamically inserted.   He includes a full code example to help illustrate the point - a class, Zps_View, that is fed the path to the layouts and the layout files to use before rendering.
397724
Padraic Brady has put together a very comprehensive post on his blog today about using the Zend_Feed component of the Zend Framework to help with the aggregation of content from other sites (like RSS and Atom feeds).   In this entry I explore Zend_Feed from the perspective of someone aggregating RSS and Atom feeds with a view to building a database of uniquely identified content for later presentation in a "Planet" style application. [...] In fact all we create here is a simple command line script to aggregate content frequently (e.g. just set up cron to run it every hour or so) into a database for later presentation.   He guides you through each step of the way:   Setting Up Database And Models The Aggregator Script Foundation Using Zend_Feed to get common data for RSS/Atom entries Putting It All Together   There's plenty of code (and SQL to insert) in the post and he explains each point well, helping to make the development process smoother. There's even a summary section to toss in a few extra bits of information just in case you missed them along the way.
169108
For anyone keeping up with the PHP 5 Programming Contest that Zend hosted - the final results have been posted!
84118
KillerPHP.com has a new articles posted today looking at another one of the components of the Zend Framework - Zend_View.   As part of a series of articles about the Zend Framework and MVC, I'd like to take some time and cover Zend_View (the 'V' in that MVC triad).   He touches on where the Zend_View component's place in life is and even includes some sample code to show one in action (along with an explanation of what it's doing).
492715
Here's what was popular in the PHP community one year ago today:Community News: PHP 5.2.1 ReleasedZend Developer Zone: Zend_Acl / Zend_Auth example scenarioJSLabs Blog:  5 tips for creating high performance web appsRob Allen's Blog: Modules (Zend Framework)Alexander Netkachev's Blog: How to use Zend Framework Controller/Action approach?DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online FormsWebCheatSheet.com: Two New Tutorials - Database Export & Sending EmailIlia Alshanetsky's Blog: Month of PHP BugsWindows Skills Blog: Using SQLite as a database backend for a lightweight serverCommunity News: DreamStats "rootpath" File Inclusion Vulnerability IdentifiedPHP.net: PHP Manual UpdatesCommunity News: MySQL native driver for PHP - mysqlndAlexander Netkachev's Blog: Controller/Action versus Folder/PageSymfony Project: Online doc interface improvedFelix Geisendorfer's Blog: Making error handling for Model::save more beautiful in CakePHP
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.
624249
On the Zend Developer Zone, there's a new post pointing to the second part of their look at the Manning Publishing book "PHP in Action".   If you've been anxiously awaiting part two of this series then your wait is over. Here's a short introduction to the section part of this series written by the author of the book, Dagfinn Reiersol. I had the privilege of meeting Dagfinn at phpuk last week. Below the introduction is the link I know youâve been waiting for.   The new PDF they link to focus on two different patterns - the Decorator (a wrapper class) pattern and the Null Object (an object that works like the others but does nothing behind the scenes) pattern.
457664
In this post on the Zend Developer Zone, Cal Evans takes a look at an article published in a recent php|architect issue from Chris Hartjes about how several recent advancements in the PHP community have helped developers think more in "the Rails way" of development.   Chris does a good job of laying out his points. As with any article of this nature, you are going to agree with some of them and you'll disagree with some of them. However, to get to that point you'll have to consider all of them. That's really the point of the article; making developer sit back and think for a minute. It's well worth the read.   Cal also mentions some of the topics presented in the article including more conceptual ideas like "Convention Over Configuration" and "Rapid Should Mean Rapid".
451061
The latest episode of the Zend Developer Zone's podcast, PHP Abstract, has been posted. This time it's hosted by Chris Hartjes on the subject of "Opinionated Software".   Today's special guest is Chris Hartjes. Chris has been building PHP applications since 1998. Currently employed as a Senior Developer for the Cake Development Corporation, Chris has been labeled as an "agent provocateur" within the PHP community. He contributes to open source projects, gives lectures on programming-related topics and tries to share what he's learned via his blog.   Opinionated software entails things like frameworks (his specific example is with the CakePHP framework's ActiveRecord functionality) that has a sort of agreement with the developer that things are going to be where it expects them (allowing for less time configuring and more time developing).   To hear more about this sort of software, grab the latest show's mp3 or subscribe to the feed in your aggregator of choice.
432225
Nick Halstead has announced a contest on his blog today for PHP developers everywhere to participate in - a programming competition surrounding a challenge he's created.   It has been a lot harder than I thought to come up with a fair programming challenge that would not take too long or require lots of knowledge in any particular framework or other associated technology. It could have been to make use of a whole host of currently available API's and to make a useful mash-up but these again require other external knowledge beyond just PHP. I finally settled on a logic problem that is hopefully not too hard to solve but will test a range of PHP skills.   The problem he's worked up involves changing a word, one letter at a time, into another word using user-defined lists and choice of word. There's several requirements you'll need to follow an d rules for things like the submission process and what server setup can be used.   So, what's the motivation? First prize is a copy of Zend Studio Professional and a year of support, second prize is a Zend t-shirt, and third is a Zend Pen. For full information on participating and on all of the rules you'll need to follow, check out Nick's full post.
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.
485840
P&aacute;draic Brady continues his series on working with Complex Views in the Zend Framework with this new article - part seven focusing on the Zend_View Enhanced method.   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.    In this final entry of the series, he recaps previous concepts (like Partials/Layouts/Controllers/Placeholders) and how far reaching the Zend_View Enhanced component is. He also includes some of the helpers and interfaces he's proposed for the module including:   Zend_View_Helper_Partial Zend_View_Helper_Controller Zend_View_Helper_HeadScript Zend_View_Helper_Doctype Zend_View_Helper_HeadStyle   He takes each of the concepts mentioned above and applies these different helpers/interfaces inside them, illustrating with some sample code as needed.
661071
PÃ¡draic Brady continues his series looking at the creation of complex views in the Zend Framework with part six today all about gathering together the thoughts and ideas from the previous articles into a cohesive whole.   Part 6 now takes our previous fragments of theory and attempts to stitch them together into a cohesive whole - a description of a possible end solution. Yes, I know code talks loudly, and we'll get there with an almighty bang in Part 7 (which I promise is no more than a week away). Until then it's more verbosity.   He suggests a list of six terms to help get everyone on the same page when talking about the complex views:   Includes Partials Dispatches Layouts Placeholders Response Segments   Since these terms would mean nothing without proper definitions, he provides a few paragraphs on each explaining what they are and, where necessary, using code to illustrate the point.
306561
PotatoBob mentions a new resource for all of the Zend Framework developers out there, one more to add to their list of helpful locales - a Zend Framework IRC channel over on the FreeNode network.   So anyways a few of the folks over in http://zfforums.com decided there was a need for a Zend Framework irc channel, but there was no official one around so here it is the unofficial: #zftalk on irc.freenode.net   The group that set up the channel also has a website you can check out for the latest info on the channel and on the Framework itself - zftalk.com.
200203
Rob Allen has posted a simple example of the Zend_Layout component (since it's in the trunk now) both with a screenshot of the output and the method to set it up.   This example consists of three view files: the outer layout file, the index action view script and a right hand side bar. The remainder of this post describes the key files. If you just want to poke around with the code, then it's at the bottom, so page down now!   He defines the directory layout, sets up his bootstrap file and creates the parts that do the work - the controller and the two-step view layer (with the "inner" scripts that output the information and the layout itself the content fits into).
584229
Popular posts from PHPDeveloper.org for the past week:Reinhold Weber's Blog: 40 signs you really are a lousy PHP programmerScott Klarr's Blog: PHP Cheat SheetsDeveloperTutorials.com: Building Desktop Applications in PHPPadraic Brady's Blog: The Zend Framework and Microformats: Zend_Microformat ProposedCommunity News: GoPHP5 Project Wraps UpJob Posting: Technology Resources, Inc Seeks Senior PHP Developer (New York, NY)Job Posting: Red Ventures Seeks Sr. Systems Analyst/Web Developer (Charlotte, NC)Community News: Forage - A Search Abstraction LayerCommunity News: php|architect Launches C7Y Site (News/Podcast/Forums)Richard Heyes' Blog: SMTP for PHP 5