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
How to configure keyboard short cut to minimze all windows on KDE 4.3.3 on Fedora
Having the Show Desktop button on the panel is something everyone would want. If you are unable to find the settings follow the instructions below.
1. Install the kdeplasma-addons package.
# yum install kdeplasma-addons -y
2. Add the Show Desktop widget to the panel.
- Click the Cashew button on the panel - the rightmost corner button
- Click Add Widgets
- Click Show Desktop
- Click Add Widget
Title: Zend Framework 1.8 Web Application Development
Author: Keith Pope
Publisher: Packt Publishing Ltd
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
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.
Today, the Bangalore PHP User Group had a meeting. The meetup.com site reports that sixty eight people attended the meeting. The venue was at Microsoft. The increasing participation of Microsoft in PHP conferences and meetings have taken many by surprise. Microsoft were kind enough to offer free Pizza for all the attendees.
They have given me a copy of Windows 7 Release Candidate which expires on June 1, 2010. If time permits, I will sure try to install it as a virtual guest.
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.
MySQL has a query logging feature. In order to use it you have to first enable it.
Enabling the general query log
Step 1: Set your log file in /etc/my.cnf
In the [mysqld] section specify the general log file name:
Step 2: Create the file and make sure it is owned by the system user mysql
touch /var/log/mysqld.general.log chown mysql.mysql /var/log/mysqld.general.lo