News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Rob Allen's Blog:
A View Stream with Zend_View
0 comments :: posted Thursday February 07, 2008 @ 07:58:17
voice your opinion now!

Rob Allen has posted about a small modification that he made to his Zend Framework setup that allows for a little safer echoing of information out to the View later of an application.

One of my biggest issues with using PHP as the templating engine in View scripts is that the easiest way to echo a variable is the least secure. [...] So, I decided to leverage a post by Mike Naberezny from a while ago about streams. The idea is all his; I just modified it to work with Zend Framework's Zend_View the way I wanted it to.

His method uses a slightly different output format - instead of using a normal echo statement to push out the escaped output, it uses a special syntax using the "@" sign as a shortcut to the call to escape(). He includes the code you'll need to make it work in your ZF install and explain it a bit (including where the real key lies - in stream_popen).

tagged with: zendframework stream zendview escape custom output view


Nick Halstead's Blog:
Tweetmeme - building stuff fast in PHP
0 comments :: posted Tuesday January 29, 2008 @ 07:52:00
voice your opinion now!

Nick Halstead has pointed out a website, written in PHP he's created to help make a little bit of sense out of the links that go flying past in your twitter client - tweetmeme.

What is it? It tracks the public timeline from twitter and picks up any links that get posted. It then follows each link to find final destination and then categorizes the content into blogs / video / images / audio. This project really shows what is possible using PHP if you know what you are doing.

Most of the work was done by another developer, Stuart Dallas as one of four that worked on the project together. It's written in PHP5 and uses only about 20 PHP files to get the job done. You can also check out the launch post over on tweetmeme's blog for more information on the service.

tagged with: fast tweetmeme twitter links stream category


zendframework book ajax mysql conference application releases pecl cakephp zend developer framework package release security PEAR job PHP5 code database

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework