Tag Archives: zend

Making .NET compatible PHP SOAP services with Zend Framework

The default binding style for SOAP webservices in PHP is RPC. When you consume such a webservice using the PHP SoapClient it will work perfectly. Unfortunately Microsoft .NET prefers a different kind of SOAP service. The binding style it works with is document. When you work with complex types and arrays and maybe even arrays

Dispatching HTTP requests manually in Zend Framework

I recently developed a custom Zend Framework view helper and I needed to find a way to get pieces of rendered HTML out of an action controller. You could to this in a simple way by performing a full HTTP call via cURL. That’s not the best way to get it done, so I started

My custom Zend Framework ESI view helper

I’ve been a fan of Zend Framework for some time now and I’ve recently become quite a fan of Varnish. As you all know, Varnish is an extremely powerful reverse caching proxy (although the Varnish people prefer the term HTTP accelerator). Varnish supports a subset of the ESI language and I’ve written a custom Zend

Zend_Soap_AutoDiscover & eAccelerator causes trouble

Last week I used Zend_Soap_AutoDiscover for the first time. It’s pretty awesome, because your entire WSDL file dynamically generated based on docblock reflection. Unfortunately, it all went wrong when I deployed my code to staging. Apparently the issue was caused by eAccelerator. But first things first: how did I get into trouble, what caused it

A DPC 08 review for DPC 09

Better late than never: since DPC 09 is coming up this week, this is the ideal occasion for a review of the 2008 edition. The trip to Amsterdam started off in Gent where I traveled along with Felix De Vliegher & Steve Roelens. Comfortably cruising along the Belgian & Dutch motorways, we where looking for

Zend_Cache_Frontend_Page & Google Analytics cookies

Last week I was optimizing the caching strategy for one of my projects and I was under the false impression that caching was accelerating my website. At that time I was using Zend_Cache_Backend_File as my backend and cache files were created. My goal was to boost the performance by implementing the Zend_Cache_Backend_Memcached backend. Again everything

Converting your Zend Framework MVC application into an XML webservice using one single plugin

That’s right folks, in this blog post I’ll show you how you can convert your entire MVC application into a REST-style XML webservice. And I’m not talking about refactoring tons of code … NO, we’ll plug this option in without changing a single thing to your action controllers. This post will contain a detailed description

Zend Framework as a glue framework part 1: the router

For some time now there have been lots of discussions regarding the use of frameworks. Some say it causes too much overhead, is a deal breaker from a performance point of view and forces you to adapt your project to the standards of the framework. Others defend the DRY (Do Not Repeat Yourself) principles and