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...

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...

Catch the Batch !

Are you a developer ? Are you facing PHP timeouts, memory exhausts while dealing with huge data sets ? YES ??? ... WELCOME ! you are at the right place. If this is such a common problem, Drupal must be having some solutions in store for us. Let's find out who's the life saver this time... Drupal's Batch API. 'Serious' wikipedia 'boringly' explains general batch processing as execution of series of programs on a computer without manual intervention and the same definition holds true in Drupal as well. Performing series of operations with large data sets often results in timeouts or memory exhausted errors but then how does Drupal's Batch API manage all these? What's the mystry behind Drupal's Batch API which handles such situations without errors? Well, breaking long tasks into smaller batches and spreading out series of programs over different page requests is the key. This ensures that our processing is not interfered by P...