Drupal8

Configuring CORS in Drupal 8

Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served.
A web page may freely embed cross-origin images, stylesheets, scripts, iframes, and videos. Certain "cross-domain" requests, notably Ajax requests, are forbidden by default by the same-origin security policy.

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)

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

A real example of Drupal 8 custom module

Create a folder within Drupal installation at the path: /modules/custom/ele_form,
within this ele_form folder, create the following files:

Tags:

Drupal 8 core concepts and architecture

1. Drupal core, modules, and themes
From an architectural standpoint, we can break up Drupal into three pieces--its core,
modules, and themes.
When we discuss Drupal 8 core, we can interpret it in two ways. A more restrictive
interpretation sees it as a functionality covered in all the code it ships with, without
modules and themes. The more widespread interpretation sees it as the total code base it
ships with (out of the box).

Tags:

Drupal 8 default htaccess file

Tags:

Subscribe to RSS - Drupal8