Skip to main content

Drupal 8 ... Bring it on !!

Back after a loooonnggg gap so, need a bang to get started again, isn't it ?

Well, I have something in store :)

Yet not very comfy with Drupal 7 but does that allow me to keep my friend, Drupal 8 waiting at the

door ? Will he really wait for me to be done with Drupal 7 ? Nooo way, he is running in his own

pace ... so what are we waiting for friends, need to catch up. So, from here on let's dive into the

ocean of Drupal 8.

It's about a month or even more, just thinking that it's high time I introduce myself with Drupal 8 or

say the other way round ;) Friends, I know most of us might be thinking not to skip steps while

climbing up but at times even three dots are enough to define an area, so why not let's get

started. We may get stuck, not an issue, will keep adding dots so as to get closer to our perfect

structure.

Let's begin with the Getting Started guide of drupal.org. Will be back soon with my way of moving

ahead with Drupal 8.

Till then keep connecting your dots. Happy learning :)

Comments

Popular posts from this blog

My First Drupal 8 Module.

Lots of reading and reading ... How about trying some coding ?? Huhh !!! Coding in drupal 8. Frightened ?? Me too :) But what I exactly feel here is that this is just the fear of the unknown. And everything we want is on the other side of fear. I replace my fear of the unknown with curiosity. Give it a shot, who knows if this works out for you too :) Let's start together with a simple stuff like "Printing a Drupal 8 welcome message" by creating a small module. Taking a deeep breath, let's dive in. As we must have seen or read that Drupal 8 follows a very strict directory structure, so let's start with looking for the directory structure followed by custom modules in Drupal 8. 1 . Directory structure : It is advised to keep our custom modules by creating a folder 'custom' under 'modules' folder in the root directory of our site. So, our custom module 'first_d8_module' will have directory structure something like this...

Know Your Customers !!!

A user landed on a web page and started filling a form. After going half way, he/she got distracted or suddenly felt not interested in the same and tried to leave the page by either closing the tab or by closing the browser itself. In either case, we (a company) lost a prospective client and as the user didn't submit the form we have no info of the user in order to contact them and get the details of them not being interested. Is this your story too ?? Congratulations my friend ... you found the solution for yourself. Please continue reading... To start with let's modularize our requirement. There's a web page containing a form, a user lands on it and started filling the form: 1 . As soon as the user tries to leave the page, ask them if they are ok with sharing their unsubmitted data with you and leave the page. 2 . If a user chooses to stay on the page, simply allow him to be there. 3 . If a user opts for leaving the page without submitting the for...

Request to Response in Drupal 8

Here ? So, I am assuming we have some idea of Symfony2 and it's components used in Drupal 8 by now. Great, let's move ahead. Every web interaction as we know starts with a request and ends with a response, same goes here with Drupal 8. We send a request and receive some response from Drupal but what goes internally ? Let's dive in and find out. Of all the important components of Symfony2 being used in Drupal 8, HTTPKernel and HTTPFoundation plays an important role in handling a page request but this time the proces uses an object oriented way. Ohh.. big names :) Let's know something more about these. HTTPKernel : This component consists of an HTTPKernelInterface which provides a method, handle(). This method accepts $request object as parameter and returns $response object. HTTPFoundation : This component is responsible for creating and managing the $request and $response objects. We can say that, it's an object oriented replacement of sup...