Last Saturday, the Bangalore PHP User Group conducted a meeting. The venue was same as the last time, Microsoft office, Bangalore! The topic of the meeting was Framework Shootout. The frameworks represented were:
In our last example, we used Zend_Rest_Route and Zend_Rest_Controller to demonstrate how to map requests to controller actions. We also used the response object to send text content in the HTTP response. In this article let us send appropriate HTTP response codes using the response object.
RFC 2616 describes HTTP response codes to use in various contexts.
In this example, we will use a few response codes
Title: Zend Framework 1.8 Web Application Development
Author: Keith Pope
Publisher: Packt Publishing Ltd
ISBN 1847194222
ISBN 13 978-1-847194-22-0

The Zend Framework community needed a book covering version 1.8+. Version 1.8 brought new notable features. Zend_Application is one among them. Zend_Application introduced object oriented bootstrapping in applications that otherwise used a procedural script. A bunch of users had difficulty understanding how to set up their applications to make use of the new bootstrapping component. All of them have seem to understand it well now, thanks to support in the official mailing lists and IRC channel. Zend_Navigation, Zend_Tool and enhancements to filter and validation components were other noteworthy additions to Zend Framework 1.8. For a full list of changes and additions to the 1.8 version see the release notes.
I contacted PackT Publishing Ltd and asked for the book to write this review. They were kind enough to quickly send me a copy of the ebook.
Let's begin exploring the book.
Title: Pro PHP XML and web services
Author: Robert Richards
Publisher: Apress
ISBN13: 978-1-59059-633-3
If you are a PHP programmer and looking to expand your knowledge in XML and web services areas, the book is a good resource. The book assumes no prior knowledge about XML and web services. It assumes you are capable of writing PHP programs independently.
Download the table of contents PDF document from the publisher.
In the previous articles I've written about using Dojo date pickers and filteringSelect widgets.
The Zend Framework 1.9 release added a new feature - Zend_Rest_Controller. Zend_Rest_Controller and Zend_Rest_Route classes go hand in hand. In the previous versions of the Zend Framework, we have had the Zend_Rest_Server component. We still have. Since Zend_Rest_Server provides an RPC like component violating the REST architectural constraint, it is likely to be deprecated in the future versions of the Zend Framework.
PHP language provides the mail() function. But it requires properly configured mail server on the local machine. Developers often don't have the necessary infrastructure at their disposal. Sometimes sending emails from a PHP script becomes a frustrating experience.
If you are a
you have come to the right place.
For the impatient, the script is posted at the end of the article.
Before we delve into writing the script, let us summarize the environment.
From the Wikipedia
"In software engineering, a fluent interface (as first coined by Eric Evans and Martin Fowler) is a way of implementing an object oriented API in a way that aims to provide for more readable code."
Let us explore the fluent interface with the help of an example.
<?php
class Customer
{
protected $_name;
protected $_street;
protected $_city;
protected $_country;
public function setName($name)
{
$this->_name = $name;
}
?>Series of articles about XML-RPC with PHP.
Recent comments
11 hours 16 min ago
15 hours 27 min ago
16 hours 16 min ago
20 hours 49 min ago
1 day 8 hours ago
3 days 3 hours ago
3 days 5 hours ago
5 days 23 hours ago
1 week 2 days ago
1 week 3 days ago