Exove tech blog

Thoughts, stories and ideas.

Let's Encrypt

Roni Väyrynen

Just a while back HTTPS was considered to be used only in cases including login, payment transactions and others including handling of sensitive information online. It is still the status quo today in many occasions because so called SSL certificates add significant operational cost for server operators and one more

Read more »


Parsing directories the correct way with PHP

avatar

Rihards Steinbergs

Quite common task when working with files is the need to get a list of files (and/or directories) that match a specific pattern.

In many cases people create a custom solution using opendir, foreach and if blocks. But there's a much simpler and easier way to deal with this.

Read more »


Web security for Drupal developers

Jukka Ylitalo

For many tinkering with website security could represent a secret science where one would hesitate to enter. To start fiddling with it is for the hefty paid experts only, one might think.

But it is not so if we are to believe Matti Suominen from Nixu at the recent DrupalCamp

Read more »


Internationalization Retrofitting, Part 2

avatar

Antti Taimisto

If you've ever created a block in a custom module, you know it gets pretty repetitive. You need to repeat things like block IDs here and there, and if they ever change, you must change them in a dozen functions. Believe me, if the blocks use custom variables, it gets

Read more »


Internationalization Retrofitting, Part 1

avatar

Antti Taimisto

Ah, good old Drupal 7 and its variable_set. Such an easy way to enable users to customize the output of your custom module. Just put in a field - maybe even a filtered text field so an administrator can put in pretty much anything - and implement a hook

Read more »