Archive for May 9th, 2007

Zend Developer Zone: Flex and PHP: Party in the Front, Business in the Back

The Zend Developer Zone has posted a new tutorial today about combining Adobe’s Flex toolkit with PHP to make a simple application.

Besides my innate inability to design anything like a usable interface, the main drawback that has kept me from exploiting Flash is I never could get my head around the “Movie Timeline” metaphor for programming. As we say back home, “It just ain’t right.”

That all changed with Flex. Now programmers can work with tools they are comfortable with and still take advantage of all of Flash’s…well, flash.

His focus is on using the Flex interface as a frontend to create a web service, specifically one to parse and spit back out the information from feed coming from the Zend Developer Zone itself. They use the Zend Framework as a backend system for the mini-application and include a list of “ingredients” that you’ll need to get started.

The tutorial definitely goes in depth with plenty of code examples and details to ensure you don’t miss a thing - everything from making the bootstrap file out to coding up the Flex interface. In the end, you’ll have a simple feed reader that took almost no effort (well, if you’re familiar with the Zend Framework) to get up and running.

You can download the complete source code here.

Continue Reading · Add comment

International PHP Magazine: Poll: Which is your favorite trick in running Symfony with Subversion?

The results are in from the latest poll the International PHP Magazine hosted last week. They asked visitors to vote on which of the options given they thought was their most “favorite trick” when running Symfony and Subversion.

Options included “Ignore other auto-generated files”, “Linking to Symfony Plugins”, and “Ignoring files in >cache/ and log/” with the last of these coming out on top. It had 44.4 percent of the votes followed by the “linking the symfony library” option with 33.3 percent.

Be sure to get your vote in for this week’s poll by picking your favorite framework from the list (including CodeIgniter, CakePHP, PHP on TRAX, Seagull and Solar).

Continue Reading · Add comment

Secunia.com: Red Hat Update for PHP

Secunia.com has posted this new advisory that Red Hat users need to pay attention to. Due to some of the security issues and updates made to PHP recently, several of the linux distributions have released updated packages for PHP with these new fixes in place. Red Hat is now offering theirs for download:

Red Hat has issued an update for php. This fixes some vulnerabilities, where some have unknown impacts and others can be exploited by malicious users to bypass certain security restrictions and potentially by malicious people to compromise a vulnerable system.

You can grab the latest packages from the Red Hat Network Site and view the text of the original advisory here

Continue Reading · Add comment

Zend Developer Zone: Zend Core Updates for Oracle and IBM Versions

On the Zend Developer Zone, Cal Evans has posted the release announcements for two new updates for two versions of the Zend Core product - an update for Oracle (2.0.1) and for IBM (2.0.1).

Zend Core is a Zend certified and supported version of the open source PHP. It uniquely delivers a seamless out-of-the box experience by bundling all the necessary drivers and third party libraries to work with different databases.

Zend Core is the leading production quality PHP 5 stack that provides the certified, enhanced capabilities with support and PHP maintenance that serious professionals need for PHP development and production.

Updates for each of the releases can be found here:

Continue Reading · Add comment

Nick Halstead’s Blog: Making a TAG Cloud out of Zend_Cache

In his current work with a project staring the Zend Framework, Nick Halstead has figured out a way to create a tag cloud that can be loaded quickly with the help of the Zend_Cache component.

Zend_Cache is a caching mechanism that either lets you cache chunks of output or chunks of data. Both concepts are easy to implement within your code and given time they become second nature to use. And because they are simple to implement you find yourself using them anywhere and everywhere.

In his example, he grabs treed category data and dumps it (formatted) into a Zend_Cache object. He also mentions what he calls a “touch of genius on the part of the Zend Framework team” - the ability to tag the cache and make it easy to reference.

Finally, it’s back out to the front end, an interface to the cached object that pushes the data back out as a series of formatted links pointing to content associated with the chosen tag.

Continue Reading · Add comment