This second and concluding segment of our tutorial on Twig templating discusses more advanced templating options, including goodies like template inheritance, custom filters, caching and Zend Framework integration. It also tells you a little more about what goes on under Twig’s hood, and shows you how to add more power and flexibility to your PHP and Twig templates.
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.
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.
If you’re a Web developer building an application for global consumption, it’s important to build in a framework for localization right from the start. This article will introduce you to Zend_Translate, and demonstrate how you can use it to add multi-language support to your PHP application.
This concluding segment of our two-part article on integrating PHP applications with the Stack Exchange Web service API discusses API methods related to user profiles, user tags and badges, and user activity timelines. It also looks at ways in which you can improve the performance of your PHP application, using built-in caching and easy integration with pagination widgets.
The second annual PHPBenelux Conference is taking place on January 28 and 29 at the same location as last year: Hotel Ter Elst in Edegem (Antwerp, Belgium). We were able to secure an awesome schedule with three tracks, 1.5 days of conference and a tutorial morning. We hope to see you again in Antwerp!
The collaborative Q&A site Stack Overflow is a great place for geeks to hang out, answer questions and earn reputation. But there’s an additional bonus: the site also exposes a Web service API that allows developers to build mashups on top of the base service. This two-part article will give you a crash course in the Stack Overflow API, illustrating how easy it is to retrieve and search site content from within your PHP application.
Review of the new PostgreSQL book. I think this is a must read position for every programmer and administrator, not only for DBAs.
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.