Planet Drupal

Decent PDF generation in Drupal

Whether you like it or not PDF is a mainstream adopted format to exchange documents. Your customers will ask, sooner or later, to have some sort of content generated in PDF (be it an invoice, a report, etc...).

Doing a quick search these are the modules that offer some sort of PDF integration in Drupal:


Adding native JSON storage support in Drupal 7 or how to mix RDBM with NoSQL


I rencently read this very interesting article of an all time .Net developer comparing the MEAN stack (Mongo-Express-Angluar-Node) with traditional .Net application design.

Among other things he compared the tedious process of adding a new field in the RDBM model (modifying the database, then the data layer, then views and controllers) whereas in the MEAN stack it was as simple as adding two lines of code to the UI.


Deploying changing module dependencies with Drupal

Deployments are often one of the most important aspects of the Drupal development cycle. But sometimes, due to time and/or budget constraints (or the maturity of your company) developers clone databases downstream, manually reproduce content on production environments, and rely on other bad practices on a regular basis.

Today we will show you how we manage small (but critical) changes in module dependencies for our custom modules here at


Benchmarking Drupal 7 on PHP 7-dev

There are big expectations surrounding PHP7.

PHP has seen the threat and needs to keep up with competitors such as HHVM or the recently open source and cross platform compatible .Net Framework. Even a while ago (2011) the .Net implementation of PHP (Phalanger) already was light years superior and much better performant than Zend Engine, and was proposed as a replacement of the Zend Engine (read the full story here).


Deploying Drupal Like a Pro

Introducing the Deploying Drupal Like a Pro Series

Building a Drupal site is difficult, developing a Drupal Based application is more difficult but correctly managing, deploying and keeping alive an application who's customer is paying you a 4, 5 or even 6 figure number per month is even more difficult. And if you want to do that one last thing in a cost effective way you must do it yourself.


Deploying Drupal Like a Pro - Part 1: File Structure

This article is part of the Deploying Drupal Like a Pro series.

Application Files and Content Files

If you have just started playing with Drupal you will have something like this in your site's directory structure:





When PHP crashes: how to collect meaningful information and what to do with it


Drupal Session Handler: everything you need to know

In this article we compare and benchmark different available session handlers in Drupal, that is:


Getting #2,000 requests per second without varnish

Now that Varnish is finally "the free version of a propietary software", it's time to look somewhere else, and the answer is right in front of our noses. When the word pripietary starts to appear, let's stick to the big guys. If you want to know how to get #2,000 requests per second without depending on anything else but your current webserver (yes, the same one you are using to serve your pages, no need to setup anything else here) then keep on reading.


Distinct options in a views exposed filter: The Views Selective Filters Module

You have built an application where there was a taxonomy or options field with more values defined in them than what was really being used after release. And these fields are being used as exposed filters in a View. This basically means that you end up with an option in an exposed filter that yields no results when selected. Not a good UI behaviour, and confusing for the end user.



Subscribe to RSS - Planet Drupal