Category Archives: Tutorials

Manage cloud infrastructures using Zend Framework

Recently, the Zend Framework community has developed a new component for cloud services: Zend_Cloud_Infrastructure. This component was provided to manage cloud infrastructures, with a common interface for multiple vendors. In this article we will present the basic usage of this new component with some examples and use cases. Background “The cloud is for everyone. The cloud is a democracy.” Marc… Read more »

Creating Web Page Templates with PHP and Twig (part 1)

There’s no shortage of PHP template engines and they’re all very similar, often differing only in implementation details and support for specific features. They all serve the same purpose: that of functionally separating a Web application’s user interface from its business logic, and thereby enabling developers and interface designers to work on the same application without getting in each other’s hair.

Using the Plurk API with PHP

      1 Comment on Using the Plurk API with PHP

Plurk is a popular micro-blogging site that allows users to quickly and concisely post status updates, news and event streams. It also comes with a JSON-based Web service API that allows developers to programmatically add, search and manipulate Plurk content. This article shows you how to quickly and efficiently connect your PHP application to Plurk using Plurk’s PHP library.

Mirroring the Zend Server Repositories

      Comments Off on Mirroring the Zend Server Repositories

Zend Server, Zend Server CE and Zend Server Cluster Manager for Linux are
provided through DEB And RPM repositories. This has multiple benefits; one of
them is the ability to easily create an internal mirror of the Zend Server
repositories, using common tools available on virtually all Linux machines. The question always comes up though, “Why Mirror? I’ll look at that plus how to setup your mirror in this article.

Using the Digg API with PHP and PEAR

      1 Comment on Using the Digg API with PHP and PEAR

Digg offers a Web service API that makes possible to develop customized applications on top of the base service. This API, currently in its second incarnation, allows access to a number of important Digg functions, including searching and commenting on Digg stories. This article takes a fast look at how to integrate Digg’s Web service with a PHP application using the PEAR Services_Digg2 class.

Using APC with PHP

      8 Comments on Using APC with PHP

If you’ve been around PHP for a while, you’ve probably heard about APC, the Alternative PHP Cache. Adding APC to an application usually results in improved application response times, reduced server load and happier users. This article will introduce you to APC and guide you through the process of integrating it with your PHP application.

Manipulating Configuration Data with Zend_Config

      2 Comments on Manipulating Configuration Data with Zend_Config

When building a Web application, you’ll often find it necessary to save and retrieve user-defined configuration values. Rather than rolling your own code, consider using Zend_Config, which offers a complete API to read and write configuration data in INI, XML and PHP array formats. In this article, I’ll give you a crash course in how Zend_Config works, and show you how you can integrate it into a PHP application.