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.
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.
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.
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.
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.
Unit testing is becoming a fairly common element of software projects because of its promise of providing better quality to the code base. A unit test is a class or method that exercises your code for purposes of verifying that it functions correctly. During the course of your project, these tests remain as artifacts that can be used over and over again to verify that your code is always working correctly. The higher percentage of your production code you exercise, the higher degree of certainty you can have that your code is doing what it was designed to do.
Eclipse Helios (3.6) and Zend Studio 7.1 (and above) include a new version of Eclipse PDT, labeled 2.2. This new release uses a new repository for storing code reference information. With these simple tips you can significantly improve the performance of this repository which will speed up code completion, searching for definitions, type hierarchy views and more.
p. DataModeler is an Open Source ORM I began writing at the beginning of the year. I had experience with ActiveRecord, but was dissuaded from using it too often because it was difficult to unit test (at least I felt so). Wanting to learn Test Driven Development better, I decided to create my own small ORM framework: DataModeler. In this article, I’ll go over creating a Model and the different ways you can modify one.
PHP comes with a number of options to help developers dynamically generate PDF files from within their applications. The Haru and PDFlib extensions offer a complete API for dynamic PDF generation, and there also exist a number of open-source PHP components that can be used for the same purpose. This article will introduce you to one such component, the Zend_Pdf component that ships as part of the Zend Framework, and illustrate how it can be used to perform sophisticated PDF operations from within a PHP application.
Most PHP frameworks natively support the separation of interface and business logic. However, if your project is small enough that you don’t need a framework (or if you just don’t like them), you can still achieve the same benefits by using a standalone template engine. In this article, I’ll introduce you to one such engine, which goes by the rather unique name of Dwoo.