Drupal7

Docker customers module

docker_customer.info file:

Tags:

Scaling Drupal 8

1. Enabling Drupal Cache
One of the simplest approaches for significantly improving your site’s performance is to utilize Drupal core’s
caching mechanisms. Caching is a means for storing the rendered version of a page, block, or view so that
Drupal does not have to assemble those components every time a visitor requests a page.

Drupal 8 core comes with two modules that empower caching on your site:

Using MongoDB with Drupal 7

MongoDB can be easily integrated with Drupal 7 to support millions of dynamic web pages on a daily basis to speed up the websites. This document oriented application is a schema less database that can store large files without complicating your stack.

Here’s a look at how to install MongoDB on Linux and integrated it with Drupal 7.

1. Installing the MongoDB packages.

Using Redis with Drupal 7

Redis is a very powerful cache system for static pages of Drupal websites. It is a very popular open source software that has become an important aspect of speeding up drupal websites. The core functionality of Redis stems from its data structure servers

1. Install Predis libraries

Set up SSO service using SAML with Drupal 7 (as IdP) and Drupal 8 (as SP)

Security Assertion Markup Language (SAML) is an open standard for exchanging authentication and authorization data between parties, in particular, between an identity provider and a service provider. SAML is an XML-based markup language for security assertions (statements that service providers use to make access-control decisions). SAML is also:

1. A set of XML-based protocol messages
2. A set of protocol message bindings
3. A set of profiles (utilizing all of the above)

A demonstration of drupal 7 templete.php file

The template.php file contains your sub-theme's functions to manipulate Drupal's default markup. It is one of the most useful files when creating or modifying Drupal themes. With this file you can do three things:

Tags:

Install and configure Solr and search api in Drupal 7

Apache Solr is an open source search platform written on Java. Solr provides full-text search, spell suggestions, custom document ordering and ranking, Snippet generation and highlighting. The following are the steps i recorded that how i install and configure Solr server with search_api_solr, search_api_autocomplte

Eight Phases of Drupal 7 Bootstrap

The moment a web browser requests a page, Drupal begins running a complex series of steps that result
in a fully rendered page being returned to the browser. With every page request, Drupal has to do those
same calculations,

Tags:

Scaling Drupal (Memcached, varnish)

The memcached system saves arbitrary data in random access memory and serves the data as fast
as possible. This type of delivery will perform better than anything that depends on hard disk access.
Memcached stores objects and references them with a unique key for each object. It is up to the
programmer to determine what objects to put into memcached. Memcached knows nothing about the
type or nature of what is put into it; to its eyes, it is all a pile of bits with keys for retrieval.

Create a node type programmatically

Example of writing a node module that lets users add a job posting to a site. A job posting node will include a
title, a body where the details of the job posting will be entered, and a field where the user can enter the
name of the company. For the job posting title and a body, I’ll use the built-in node title and body that
are standard with all Drupal nodes. I’ll need to add a new custom field for the company’s name.
I’ll start by creating a folder named job_post in your sites/all/modules/custom directory.

1. job_post.info file:

Tags:

Pages

Subscribe to RSS - Drupal7