Jared White's Blog: Willowgarden Highlight: Template Modes
687610
In this new blog post, Jared White spotlights a feature of the Willowgarden application platform - the template modes.   Unlike many Web frameworks, Willowgarden doesn't provide a different template for every action. All actions are provided via a single template file for the entire page. This works because of the concept of template modes.   He includes a quick example of these templates, creating two files to show the difference - one with the normal templating methodology and the other showing the difference Willowgarden's templates make (more concise and more flexible).
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
758558
On the Zend Developer Zone today, Cal Evans has posted his look at the Phrasebook series from Sams Publishing covering Javascript, MySQL, Apache, and, of course, PHP.   I get a lot of books to review. Currently the stack is about waist high and UPS hasn't been here this morning. So in an effort to trim down that stack of books, I'm going to talk about books 4 in one review.   He looks briefly at the contents for each of the books, pointing out specific areas they seemed particularly helpful in. He doesn't recommend them to someone trying to learn the language right off the mark. These are, as their title implies, just clips and handy snippets of information to help you get to where you're going. You have to know how to get on the road first, though...
540441
Aaron Wormus is back today on the Zend Developer Zone with another in his "Hidden Gems" series. This time, he takes a look at the "Zend Plumbing", those bits of connective code that help you make your Zend Framework applications work.   The functionality that he covers in this article are some of the min parts that a lot of ZF coders use every day and might not know it:  the Zend class (providing a suite of helper methods) built in Wrapper functions:  loadFile loadClass loadInterface isReadable dump exception  the Zend registry  Each of these is briefly described with some sample code for the loadFile, loadClass, exceptions and the Registry to give you an idea of how to use it all. As always, you can check out the Zend Framework website for all the details on each of these functionality bits.
660667
Solar fans will be happy to see (as mentioned in the latest post from Paul Jones) that all of the previous (and future) posts he's been making as tutorials on certain parts of the framework have been integrated into the Solar manual.   The translation went pretty quickly, because I wrote the original blog entries using Solar_Markdown, which converted them to HTML for the blog. Then I did some quick edits and re-converted them using Solar_Markdown_Wiki (which is the markup format for all the class API and manual entries at the Solar website).   Posts adapted so far include the posts covering views and layouts, using HTTP and sending email from Solar.
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
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)
521521
The results of the latest poll from the International PHP Magazine are in. The question this time asked which, of the options given, were your favorites in the Smyfony project's feature set. There was a clear winner above all of the others - the scaffolding that it makes so simple.   Some of the other options that were included but didn't get nearly as many votes were:  Simple templating and helpers Multilingualism and I18N support Object model and MVC separation Ajax support  Following at a distant second was the "Object model and MVC separation" choice (and to others, "Enterprise ready" and "Ajax support" nipping close at its heels).   Be sure to cast your vote in this week's poll that asks your opinion on some of the rules that the PHP Throwdown has set in place. Vote for the one that you think fits best with the spirit of the competition.
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).
594797
While the Zend Framework works out how it's going to integrate complex views, Paul Jones posts about how the Solar framework makes it simple to work with views and layouts.   He breaks up the post into different sections for the kinds of view/layout and controller combination:   Page Controller, View, and Layout Variable Assignment Other Layouts, or No Layout Multiple Formats Shared Layouts   The code in the post makes it simple to add an overall template for the site instead of having to add a header and footer to each view (or where the include doesn't belong).
313520
In a follow-up to a previous blog post, Alexey Zakhlestin shares a few more thoughts on the project and the proper object hierarchy's going for.   actually, I changed it completely 3 times already in my thoughts. I finally "see the light"(tm) and will implement it on a weekend. I think about converting SCGI-part to a simple "driver" and move all http-related stuff to a separate driver-agnostic set of classes. This way, I would be able to implement FastCGI as anther driver without altering applications. If you have any better ideas - let me know.   He also includes a link to another sample application that uses the functionality to create a pie chart (including some benchmarks) with the help of the eZ components framework.
616513
Popular posts from PHPDeveloper.org for the past week:Community News: Namespaces in PHP6Mike Potter's Blog: Sample Code From PHP / Flex e-SeminarThe Bakery: PremierMarinas.com, ScienceHack.com and an iPhone AppPHP F1: PHP Session TutorialCommunity News: GoPHP5 Official SiteCommunity News: jPOP Framework - Javascript & PHPTim Koschuetzki's Blog: Composing Methods: Remove Assignments to ParametersAlexey Zakhlestin's Blog: YAML: Syck for PHP is not read-only anymoreMatthew O'Phinney's Blog: File_Fortune refactoredSite News: Popular Posts for the Week of 07.06.2007
310574
Cal Evans has posted a tutorial on the Zend Developer Zone (posted today) about using the PEAR Structures_DataGrid package to create quick and easy data tables.   In this article, I'll be introducing you to the Structures_DataGrid package, showing you how it can be used to display structured data in tabular form. I'll be showing you how to hook it up to various data sources (including a CSV file, an RSS feed and an Excel spreadsheet), and how to format the resulting output so it's as pretty (or as ugly) as you want it to be.   They talk about what you'll need to get started (the different packages for different kinds of data) and some sample code to help you down the path to more attractive tables. There's even a bit touching on some of the more advanced features like exporting to Excel, pagination and data sorting.
673968
On the Zend Developer Zone, they point out a handy little image manipulation class they've come across - GenXDesign's PHP Thumbnail Class - as well as some details about it.    I've seen a lot of implementations of thumb nail functionality in PHP, I've even written a couple of my own. I like this class thought. In looking over the code the first thing you notice is that it's clean code. I don't mean they use the latest whiz-bang method to cshave a few keystrokes.    This code is simple, nicely formatted and easy to read through. My only real problem with the code itself is that it is not terribly well documented. That can be forgiven since easy to read.    Cal talks about some of the other features of the class, including that it works with gif/jpeg/png images, makes it easy to set the quality of the jpgs, and makes it easy to display the dynamic images directly to the browser. Check out the demo for more.
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.
542803
According to this quick post on the Zend Developer Zone today, the Zend Framework project has a new leader to take the place of Jayson Maynard when he left.    After a difficult search, we have found the seasoned veteran we need to track, manage, and coordinate our ever growing group of contributors and Zend liaisons, and our lengthy list of components and sub-projects on our published roadmap for ZF 1.0, and beyond.   Fortunately, we were introduced to Bill Karwin. Bill is up to this challenge, having performed similar project organization duties at several companies, including Borland and Lutris Technologies. He is also committed to the open-source community, and is a member of the MySQL Guild.    Cal has some other nice things to say about Bill, including a compliment on Bill's grasp on the Zend Framework project.
696609
On his blog, Stoyan Stefanov takes a look at using on of the most popular pieces of PHP forum software out there - phpBB - and optimizing the front-end.   During this short workshop there will be no changes to the phpBB code, we'll create a new template instead, so that in case something bad happens, your board will continue to work normally. As an example, I'll use the bgcanada.com/phpBB2, the board I volunteer to administrate.   The tutorial is broken up into sections:   The plan New subdomains Creating a new template Moving CSS to an external file, merging Copying files to the new subdomains Serving gzipped content Turning ETags off Expires header Sysadmin summary   It looks like a lot of steps, but each section is relatively short and written well so as not to have more information than needed. In the end you'll have a simple template that uses Yahoo's 14 optimization rules to make things work that much faster.