Joshua Eichorn's Weblog: Templating Options
642662
On Joshua Eichorn's weblog, there's a new post talking about some of the events covered at their latest PHP London meeting.
465600
Joshua Eichorn notes in a quick post that, due to a last minute change, he will be speaking at php/db|works this year.   He'll be giving two Ajax sessions:  Scaling with Ajax (Wednesday @ 10:15) Javascript Light and Sweet (Wednesday @ 14:45)    Check out the full listing schedule over on the php|architect site for complete details on the whos and whens of each day of the conference. And, of course, you can still sign up for the conference too!
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
743840
Chris Shiflett has posted his own recap of the (just passed) php|works conference up in Toronto over on his blog.   I've been traveling non-stop since php|works, so I haven't had a chance to reflect on the conference, what I learned, who I met, and things like that. (Zak has been doing a good job of this lately, and I'd like to follow his lead.) I've probably forgotten more than I remember, but this is my recap.   Included in the things he mentions are:  The people he was able to meet (like Joshua Eichorn and Sebastian Bergmann) The talks he gave ("Truth about XSS" and "Agile PHP Testing") His interview with Cal Evans of the Zend Developer Zone The PHP 5 Certification and Wez Furlong's "Not PDO" talk
408961
HTML::Template is a templating module for HTML made powerful by its simplicity. Its minimal set of operations enforces a strict separation between presentation and logic. However, sometimes that minimalism makes templates unwieldy. Philipp Janert demonstrates how to reuse templates smaller than an entire page--and how this simplifies your applications.
41064
Gerd Schauffelberger writes on the PHP-Tools Blog today about the contents of the latest issue from the German PHP Magazine, specifically an article covering the PEAR package HTML_AJAX.   This article's target is (1st) to give a brief introduction to AJAX and how things work from Javascript an PHP side in contrary. Also (2nd) I wanted to show that you actually don't have to muck around with a mess of Javascript (browser compatibility issues and such) because it's it is all done by the Joshua Eichorn's HTML_AJAX framework.    The article doesn't build up an entire application (as Gerd mentions) but it does provide you a good base to work from and gives you a good direction to head from to learn more about this powerful package.
448300
PHPBuilder.com has a review posted today of a piece of PHP development software - RapidPHP 2007:   Of the many editors available for creating (X)HTML, CSS, JavaScript, and PHP pages, several combine a few different yet compatible languages. Some include support and a few manage to make it work seamlessly. RapidPHP 2007 belongs in the latter category.   They walk through the list of features (including a PHP syntax checker) and include a screenshot of the PHP function hints in action. The reviewer also talks about the support for other languages it has - the (X)HTML editor and CSS style sheet editor.
499517
Over on our sister site, AjaxDeveloper.org today, there's a note about the latest release of Joshua Eichorn's HTML_AJAX PEAR package - version 0.3.1.    HTML_AJAX 0.3.1 is out, lots of good bug fixes, and iframe fallback support for Opera and IE with activeX turned off.  More details are available on the release notes on the wiki.  Feature wise were getting close to beta release, its mainly getting a browser compatability test suite added in and doing some basic API review. If you have experience supporting an API without breaking bc, it would be great to get your feedback on HTML_AJAX.    In the release notes, there's mention of several bugs with Internet Explorer implementations and some yet unsolved problems (IE memory leaks and table support in Konqueror). Check out the rest of the notes for more of the bugs and issues they've taken care of...
627987
In a much anticipated article, Peter Belesis returns with this piece on a DHTML Lab Popup Calendar. Among it's many features: No knowledge of JavaScript is necessary; only a beginner's aquaintance with HTML and CSS syntax is all that's needed. 0809
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).
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".
486082
Padraic Brady has posted some of his comments on the newly included Zend_Layout and Zend_View_Enhanced components for the Zend_Framework:    These two (now much more polished!) components were both designed to solve the concerns a lot of developers were having in achieving truly complex, structured and modular Views using Zend_View.    Indeed there are months of blog postings, debates, experimental and not-so-experimental code, proposals, IRC sessions and countless emails pouring over how to accomplish the goals of these components. The end result is something I feel will serve Zend Framework users faithfully for months and years to come.    He thanks the developers (Matthew and Ralph) and notes that the inclusion of these two components is one of the largest advancements of the display layer for the Framework in a while.
466256
Ligaya Turmelle has relayed some great news in her latest blog entry, something that the web's been needing for a long time - a new group from the W3C created specifically for enhancing the HTML standard.   Now I have to admit to being curious about what is going on - after all anything new dealing with the web affects me as PHP coder. Since the W3C is supposedly interested in input from the Web community and content developers, I decided to see who from PHP would be there. Granted it is very early for the formation of the group so it didn't really surprise me to see no one from PHP that I know or heard about in there, but I wonder if anyone from the PHP Group will become a "invited expert" somewhere down the road.   The group is looking for members to help define this next generation of markup on the web. Check out their page for some of the qualifications needed to participate and for some of the upcoming events.W3C Launches New HTML Working Group
702834
Pierre-Alain Joye takes a look at building Cairo (a vector-based graphics library for PHP) on a Windows system.    While trying to get the cairo (and pimp) PHP binding ready to be released, I finally sit down and port Wez build cscript to cairo. It still needs some cleanup, a nice summary message but it works already. I tested it with Visual C++ Express Edition but it should work with other versions as well.   My next goal is to add the tests (nmake tests) and fix the nmake instal    He describes the process he went through to try to get things up and running, but is still having a few issues and has required a few tweaks to get it working. He also links to two resources: a ZIP of the development libraries and a ZIP ready to use package.
572982
In a new post to his blog today, Matthew O'Phinney dives in to some of the more advanced features that the Zend_Form component of the Zend Framework has to offer.   I've been working on  for the past few weeks, and it's nearing release readiness. There are a number of features that Cal didn't cover in his DevZone coverage (in part because some of them weren't yet complete) that I'd like to showcase.   These additional features include internationalization, element grouping and array support. He looks at each of these, including some sample code where needed, and shows you how they can be useful to you and your ZF application.
703914
On his blog, Stuart Herbert has a quick tip showing how to mimic a feature of Ruby on Rails:   I'm still working on the next article in my series looking at PHP on servers, so in the mean time, check out this simple way to emulate Ruby's nice way of handling separate getter, setter and state query methods in PHP.   He admits his example isn't as elegant as the Ruby method, but it does get the job done. Code for the method is included in his post ready for cut and pasting.
475410
On the SitePoint PHP Blog today Troels Knak-Nielsen asks th3e question "what's so bad about the singleton?" For all of its advantages, is there a darker side of the design pattern when it pertains to global variables.   As I have often taken this stance myself, I found it reasonable that I should be able to argue for it, so I'll try to give an explanation. This is also in part a follow-up on my post from last week, in which I present a way to avoid global symbols, without spending much time on why.   He talks about what they are and how they're commonly used - sometimes with some unpleasant side effects because of their use of globals.