Tag Archives: zend

Short URLs with Zend Framework

First up, what's a short URL? A short URL is just that; a url that is as short as it can possibly be, so that takes up as few characters as possible when it is used in a twitter message, … Continue reading

Posted in PHP, Zend Framework | Tagged , , , , , | Leave a comment

Using Zend_Acl with your model

Zend_Acl is an excellent component that provides Access Control List (ACL) functionality. In most cases the goal is to manage user access to resources. access to to manage all things related to user access. In a nutshell, a role to … Continue reading

Posted in Development, PHP, Zend Framework | Tagged , , , , , | Leave a comment

Dirty Rows and Audit Trails with Zend_Db_Table

There are various ways to update rows in a database table using the Zend_Db_Table components. You can use use Zend_Db_Table::update(), like so: $table = My_Table(); $table->update(array('age' => 22), 'id = 1'); or retrieve the row, and update it: $table = … Continue reading

Posted in Database, Development, PHP, Zend Framework | Tagged , , , , , , , , , , | 1 Comment

Zend_Db: Setting MySQL's timezone per connection

I have a Linux server with a system timezone of ET (US/Eastern). But I also have a web application that needs to run in a timezone of PT (US/Pacific). Of course that's not a problem at all. I just set … Continue reading

Posted in Development, PHP, Zend Framework | Tagged , , , , , , , | Leave a comment

The WSDL Blower: The state of SOAP in Zend Framework 1.6

There are all kinds of ways to expose APIs as web services. SOAP, XML-RPC, REST, JSON-RPC. Out of all of these, SOAP is arguably the most complex, but also one of the oldest ways to expose an API (I remember … Continue reading

Posted in Development, PHP, Zend Framework | Tagged , , , , , , | Leave a comment