zend.com articles

Syndicate content Zend Developer Zone
advancing the art of PHP. Best practices, samples, articles, news, and community for PHP 4, PHP 5, and beyond.
Updated: 1 year 1 week ago

YAMMY!: DB to YAML conversion shell for CakePHP migrations

Tue, 11/27/2007 - 9:23am

Today we will talk about migrations, yaml files and CakePHP and in particular I’ll introduce you to the latest shell I’ve written for CakePHP. Migrations allow you to define changes to your database schema, making it possible to use a version control system to keep things synchronized with the actual code.



Categories: PHP Environment

Zend Weekly Summaries Issue #357

Mon, 11/26/2007 - 8:51am
Reference counting macros; Turkish locale bugs; namespaces and autoload [continued]; constant folding optimization; zend_alter_ini_entry finally fixed

Categories: PHP Environment

PHP Abstract Podcast Episode 26: PHP in Action

Thu, 11/22/2007 - 11:18am

Today we are going to do something a little different. I’ve got books stacking up here that need reviewing, so I’m going to start interjecting book reviews into the podcast stream. This week’s book is “PHP In Action” by Manning Publications



Categories: PHP Environment

Zend Weekly Summaries Issue #356

Mon, 11/19/2007 - 10:23am
Safe mode objection; namespaces and __autoload; PHP 5.3 discussions and TODO list; Windows installer extensions; magic methods and by-ref arguments; PHP 5.2.4 released

Categories: PHP Environment

Whip Up a Yahoo! Mashup Using PHP

Mon, 11/19/2007 - 10:21am

So, you want to create your own mashup? Great! Mashups—web applications that grab information from different external sources and mix it together in new and exciting ways—are fun to build and popular with users.



Categories: PHP Environment

Zend Weekly Summaries Issue #355

Fri, 11/16/2007 - 3:26pm
Multiple namespaces - and brackets; unicode.semantics (for the last time?); constants in namespaces; integrating PHP with a homegrown server; patches for LSB, setcookie2(); PHP 5.2.4 RC 3 available for testing

Categories: PHP Environment

PHP Abstract Podcast Episode 25: An Interview With Sara Golemon

Thu, 11/15/2007 - 9:18am

Today, we are going to talk to the PECL princess herself, Sara Golemon. Sara is one of the core contributors to PHP and when she’s not coding for PHP, speaking at conferences or writing books she fills her time working at Yahoo. I had the privilege of sitting down with Sara at php|works earlier this year in Atlanta GA and talk with her about her background, why she likes PHP and anything else that came to mind.



Categories: PHP Environment

FastCGI and PHP: A User's Story

Wed, 11/14/2007 - 1:28pm

Microsoft is releasing FastCGI for IIS6, meaning the shiny little “beta” tag is finally going the way of the dodo. What is FastCGI? I could go on for pages about the technical background, and Microsoft already has some great documentation on the subject, however I’ll put it in layman’s terms for those who aren’t Computer Science majors.



Categories: PHP Environment

FastCGI for IIS6 Officially Released and Supported

Mon, 11/12/2007 - 3:22pm

The IIS Team is eager to announce the official release of Microsoft FastCGI Extension for IIS 6.0 as a free download. For the first time, we are providing hosters and PHP developers full support for a stack of technology that enables reliable, scalable PHP hosting on production Internet Information Services 6.0 (IIS 6) Web servers.



Categories: PHP Environment

Generating and Validating Web Forms With PEAR HTML_QuickForm

Mon, 11/12/2007 - 11:09am

This article will introduce you to one of PEAR’s most powerful tools for generating Web forms and validating the input that arrives through them: the HTML_QuickForm package. This package provides a flexible, reusable library of methods that can literally save you hours of time when dealing with form-based user input – and best of all, it’s free and extremely easy to use.



Categories: PHP Environment

Zend Weekly Summaries Issue #354

Mon, 11/12/2007 - 9:13am
Namespaces or packages? [continued]; reserved word alert; nowdocs revised; namespaced constants; PHP 5.2.4 RC2 available for testing

Categories: PHP Environment

Using a Plugin to Integrate Propel with Zend

Tue, 11/06/2007 - 10:48am

In his article, Ralph Eggert explains how one could integrate propel to his Zend application. It’s interesting to see how an _autoload php function can be used to automatically load needed classes (propel,or Zend classes) and thus avoid having to explicitly include the propel files in every controller that would need access to the model.



Categories: PHP Environment

PHP Abstract Podcast Episode 24: Web Services

Thu, 11/01/2007 - 11:16am

Today’s special guest is Davey Shafik. Davey is a regular on PHP Abstract and I’ve receited his bio enough so that those of you who listen regularly can probably recite along with me. Davey is a full time developer with 10 years experience in PHP and related technologies. He is an author of both magazine articles as well as books and regularly speaks at PHP conferences. His latest book was just released, “The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition” which he co wrote with another PHP Abstract host, Matthew Weier O’Phinney. They had a lot of help from other PHP Lumminaries including Ligaya Turmelle of phpwomen.org. A link to this brand new book can be found in the show notes.



Categories: PHP Environment

OpenXML in Healthcare in PHP

Mon, 10/29/2007 - 11:01am

Here’s a cool present. Recently Wouter posted on his blog about an article he co-operated on for MSDN: OpenXML in Healthcare.



Categories: PHP Environment

Reading And Writing Drupal With Flex

Mon, 10/29/2007 - 9:45am

Drupal is a fantastically well featured, and free, content management system written in PHP. No wonder so many companies are using it internally or externally as one of their business applications. But often Drupal alone is not enough. It needs to be integrated or extended to match the needs of the organization. One way to extend it is on the front-end through something like an Ajax or Flex based widget.



Categories: PHP Environment

PHP Abstract Podcast Episode 23: Interview with Sean Coates

Thu, 10/25/2007 - 4:49pm

Today we are going to do something a little different. I was privileged to attend php|works in Atlanta. While there, between tasks, Sean Coats agreed to sit down with me and talk for a bit. Given his level of participation in php|works I was grateful for any time he was able to spare. Come listen as we talk about his work at php|architect, work on the PHP manual and programming in general. This is the first of a couple of interviews I was able to do at php|works.



Categories: PHP Environment

Contest for Busy Programmers (Win a Free Book!)

Wed, 10/24/2007 - 4:31pm

There are a lot of good programming contests out there for PHP programmers to enter and win. Most of them require you to write a piece of code or solve a problem. There’s nothing wrong with that but programmers are busy people. So I’ve come up with a contest for busy programmers. Give blog about PHP Abstract and you could win a free book. Not just any book though, these are programming books. (you know the ones, when you go to check out at your favorite book store they charge you by the pound.)



Categories: PHP Environment

Eclipse Developer's Journal Reviews Zend Studio for Eclipse

Mon, 10/22/2007 - 3:21pm

Peter MacIntyre has posted a great review of “Zend Studio of Eclipse”. (Code name Neon) It’s an interesting read if you have been looking at Zend Studio for Eclipse.



Categories: PHP Environment

Generics in PHP

Mon, 10/22/2007 - 12:56pm

On his blog, Maarten Balliauw shows two easy ways on how to implement an ArrayObject supporting generics in PHP5.



Categories: PHP Environment

ZendCon '07 Slides

Mon, 10/22/2007 - 12:36pm

I have now collected the majority of the slides from the speakers at ZendCon. Most of these have already been posted on the speakers blogs. However, I thought it would be a good idea to gang them all together on one post for those who are looking for them. I’ve also linked to the blog posts of any speakers who blogged about ZendCon as well.



Categories: PHP Environment