Blog

Posted by: 
Dominique De Cooman

Warming the cache gives your users extremely fast pages all the time. Using varnish, xmlsitemap, cron and bash you can give your clients very fast pages.

Posted by: 
Dominique De Cooman

If you want to create a custom views access plugin the reason for this will be to allow you to have an entry point to add custom logic to protect the access to your view.

Let say you need a finer access control to a view than roles and permissions. For example you are storing properties on a user object who determine if certain user can see certain views independent of their roles.

What we need to do, is to configure our views correctly with a views access plugin.

The hacky way:

Posted by: 
Dominique De Cooman

This small post will explain how you can leverage the filter system to apply it to external data

Posted by: 
Dominique De Cooman

When you want to delete a lot of nodes or users you can use the delete all module in drupal. You have some handy drush commands:

  drush delete-all article              Delect all article nodes.
  drush delete-all all                   Delete nodes of all types.
  drush delete-all --reset             Delete nodes of all types, and reset node, revision and comment counters.
  drush delete-all users              Delete users.
 
Options:
 --reset                              Reset counter for node, revision and comment tables.
 --roles                              pick roles
 
Aliases: da
Posted by: 
Dominique De Cooman

Databases grow even when not a lot of new content is created. What happens is drupal mysql tables start to create overhead, especialy on tables with a lot of deletions. Cache tables, watchdog, access log, variable, ... . Sites that have been running for almost 5 years like this site for example create lots of overhead.
Optimize mysql tables

Posted by: 
Dominique De Cooman
In this post will learn how to get a free cloud server, confiugre a lamp stack on it and install drupal on that cloud server.
Posted by: 
Dominique De Cooman

The goal of automating deployment is to make introducing new features easier. In this post we will learn how to set up a workflow that will move code and configuration of your drupal site from your local development station, to development, to staging and to production all by a using your version control and a push of a button.

Posted by: 
Dominique De Cooman

Branching and merging with git is one the features that make it worth to use git. Having a successful branching model is key to be able to respond to everyday needs.
Why create the overhead? The simple use case when a project is in production and new features are being developed requires that you have a work flow that allows introducing fixes without having to release the entire development code. You dont want to wait for a stable release of all features currently in development.

Posted by: 
Dominique De Cooman

To speed up indexing of our nodes and making full use of our machine, we want to index our nodes concurrent.

Posted by: 
Dominique De Cooman

Use cron queues to store stuff that needs processing later on cron. This post provides a cron queue system to handle jobs in the background.

Pages

Subscribe to Blog