How to set up the Zend Framework Command Line Tool on Mac OS X

Now that the Zend Framework ships with a command line tool, it’s even easier to get started programming with the Zend Framework. In this tutorial, I will show you how to set up the command line tool for use on Mac OS X.

Getting started sending emails with the Zend Framework

I just found this tutorial on Sending Emails with the Zend Framework.

Getting started with Zend_Test – Step 4: Testing your Zend Framework Controllers

In part four of this “How to get started using Zend_Test” series, we will finally get to start testing our controllers!

Getting started with Zend_Test – Step 3: Make sure PHPUnit is ready for testing

Now that we’ve installed PEAR and PHPUnit, we can verify that PHPUnit is working correctly by writing our first test.
Since we installed PHPUnit through PEAR, and we have properly configured our include_path variable in our php.ini file, we can create our test files anywhere and PHP will know where to look to find PHPUnit. So [...]

Getting started with Zend_Test – Step 1: Setting up PEAR on Mac OS X 10.5 (Leopard)

Question: How do I get started using Zend_Test? What is the process necessary to start using Zend_Test for testing my Zend Framework application?

Answer: Zend_Test extends PHPUnit. Therefore, we need to start by installing PHPUnit. The easiest way to install PHPUnit is by installing PEAR. Therefore…you get the idea. We need PEAR. I’ll walk you through the process I took to install PEAR on Mac OS X 10.5 (Leopard).

Setting up logging with Firebug and FirePHP in Zend Framework 1.7.5

Question: How do I set up logging with FirePHP in Zend Framework?
Answer:

Step 1: Make sure you have Zend Framework 1.6+
Step 2: Install both Firebug and FirePHP extensions for Firefox.
Step 3: Make sure you have Console and Net enabled.\
Step 4: Set up Zend Log in your bootstrap file:

$writer = new Zend_Log_Writer_Firebug();
$logger = new Zend_Log($writer);

You can now [...]

There’s a new IDE in town!

Now that I’m getting into Object Oriented PHP programming, and the Zend Framework, I need an editor that can keep up with the complexity of my projects. Integrated Development Environments can make developing websites go so much faster and more smoothly. I’ve been using Aptana for all of my PHP projects, but it just feels [...]

Zend Form U.S. state drop down select menu

Question: Is there a Zend Form state drop down select menu already created that I could just add to my form?
Answer: No. At least I don’t think so. Zend_Form doesn’t have any Zend_Form_Element_StateSelect or anything like that. The only way I found was to pass in an array of states. Feel free to copy and [...]

Contact Form