Skip to main content

Posts

Showing posts from December, 2017

Multi site Set up on drupal on Lamp(Linux ,Apache , Mysql, Php )

Hi all, In this post , we are going to create a multisite on drupal 8 , Two  sites namely dogs and cats can share the same codebase and different database  Here am using Ubuntu 16.04  , So that some server configurations may vary depend on your server... So please follow the below steps to create a multi site on drupal 8 Step1:  Download the latest  drupal 8 project using the  link   www.drupal.org . Note: You can use any other method you follow to download drupal Project ..For Example : Console , Composer Step 2:  Extract the downloaded  package inside your Html folder For Example:  var/www/html/ drupal-8.4.3( Your downloaded folder here ) Step3:  In your Drupal Root Folder (drupal-8.4.3)       In the sites folder create the  required  sites as shown in the screenshot Here i create two sites namely cats and dogs sharing the same codebase and different database Step4:...

Process of page request to response in Drupal 8 - Part 1

For every drupal developer is it necessary to know the under the hood process of how drupal internally works and some of them may already know  page rendering process of drupal 7. Lets see the Process of User Request to Response in  two parts: PART 1: Step 1:  The user make a request in the browser in the form of url for example: www.example.com Step 2:  The browser will pass the request to the Web server where the website  resides(Here Drupal makes website...) Step 3: In drupal , every request is handled via index.php file ,while digging into index file we may see the following lines as shown in the image. Note:  Symfony is a playing a major role  in  drupal 8 and drupal 8 follows the object oriented style of programming .. Components used from symfony in drupal 8.  So as you see , there is a two use statements  1.use Drupal\Core\DrupalKernel 2.use Symfony\Component\Ht...