Archive for April 21st, 2007

Elizabeth Naramore’s Blog: Doing News for php|architect

Congratulations goes out to a new fellow news reporter, Elizabeth Naramore, on her appointment to head up the news for the php|architect magazine’s website.

It’s official - I’m now acting as the News Editor for php|architect and I’m very excited to be working with Marco and his crew on another project. […] The more information available to the PHP community, the better.

So feel free to send news-y bits her way (elizabeth at her domain, naramore.net) and keep an eye on the php|architect website for even more great PHP and web related news from Elizabeth.

Continue Reading · Add comment

Pádraic Brady’s Blog: Complex Views with the Zend Framework - Part 2: View Helper Pattern

In a continuation of his previous blog post about complex pages in a Zend Framework, Pádraic Brady dives a little deeper into the View Helper design pattern he started looking at before.

So what is the problem? Anytime a partial View needs extra data (the View’s Model) it needs to push calls to extra Controllers (following the current practice for the framework) in order to get that Model. This involves yet another complete dispatch cycle, with any number of classes, plugins, and operations involved. Yet in most cases this is completely unnecessary - why not just let the View request data from the Model directly?

He talks more about what the Helper is, where it sits, and a simple example - inside a blog application - where a Helper can be used to consume and display a remote RSS feed. He even includes the sample code that can make it all happen.

Continue Reading · Add comment

Codewalkers.com: Site Changes Ownership

In a release on the main page of Codewalkers.com today, Matt Wade announced that he and those involved with the Codewalkers website are stepping down and handing the site off to other hands.

It’s with mixed emotions that I make this announcement. Codewalkers has officially changed ownership. I feel a great sense of loss handing the site over to someone else, but I know it is going into good hands. Over the years, I’ve become attached to both the site and the people that make up the community. As I’ve stated many times before, without the people (that’s you!) that come here and contribute, this site would be nothing at all. So, once again, thanks!

Matt will still be participating in the site, just not in such a prominent roll. The group taking over the main roles in the site is the grup from DeveloperShed who also run the DevShed and DevArticles websites.

Continue Reading · Add comment

JSLabs Blog: Converting PHP scripts to dlls

In a new post to the JSLabs blog, Justin Silverton talks about a method - using the Roadsend Compiler to convert PHP scripts into Windows DLL files.

I came across this great open source project that allows you to convert your php scripts to a fast/cgi executable that can be executed by any web server that supports it (including apache and IIS).

Roadsend is a native compiler for PHP that converts scripts into free-standing binaries and can be used for building both online and offline applications.

Continue Reading · Add comment

Edin Kadribasic’s Blog: Serendipity on Lighty

In a new post Edin Kadribasic shares his method for getting a Serendipity (a popular PHP-based blogging system) website up and running on a lighttpd server.

Well the basic install went pretty smoothly, but I wanted, of course, to use “friendly” URLs. For that Serendipity supplies .htaccess file with Apache mod_rewrite rules. With a little bit of effort it was possible for me to convert those into rewrite rules that lighttpd would understand.

He includes all of the rewrite rules lighttpd needs to mimic the responses of an Apache server in a rewrite-once statement, and a limitation on the files the server can send with an access-deny config line.

Continue Reading · Add comment