Techblog
In the first part of this blog post we’ve talked about the theory behind REST services. In this post we put the theory into practice with the help of some code snippets you can implement in your own application. read more…
Using a message queue can help to suspend heavy processes and execute them later so you won’t bother your visitors with long waiting times. There are a few solutions for queuing like Gearman, ActiveMQ and Zend Server Job Queue. For … Continue reading →
Zend Framework has a very neat action helper called ContextSwitch. With this helper you can easily output data from your actions in other formats besides HTML. For instance, when you create an AJAX-callback action, you’d like to have the output in JSON format, or simple API actions might output its content in XML. The ContextSwitch makes this task easy for you. But what if you are writing an API and a client wants its output in JSON instead of XML? Or maybe it wants HTML. You could use the ContextSwitch helper for this, but do you want to add a ?format=xml behind your URI’s or might there a better way? read more…
Sometimes you need to iterate over multiple iterators. The easiest way achieve this is probably to use the AppendIterator. With this iterator you can “merge” multiple iterators into one single iterator which makes your code cleaner and easier to understand. … Continue reading →
Since W3C published its HTML5 specs in January 2008 many browsers have started their implementation of the improved XML structure and its new attributes. But what does this mean and how can we as developers benefit from all this on … Continue reading →
Development on websites when the product will run on a Varnish’ed’ production environment can be a pain in the ass. The xml tag that can be used to define Edge Side Includes can’t be parsed by a standard browser. While … Continue reading →