Skip directly to content

How does the batch API works in Drupal 7?

on Wed, 11/21/2012 - 17:50

 

This is how batch works (Based on my Understanding)

1. Initialize

  1. Initialize the batch processing. Based on the clients(Browsers) configuration on whether JavaScript is enabled or not.
  2. JavaScript-enabled clients are identified by the 'has_js' cookie set in drupal.js. If no JavaScript-enabled page has been visited during the current user's browser session, the non-JavaScript version is returned.
  3. If JavaScript enabled Batch uses ajax request the keep the connection alive across the request.
  4. If JavaScript is not enabled Batch uses sets a meta tag in html to make regular refresh intervals to

Kamarajar, A Great leader for India

on Sun, 09/30/2012 - 21:27

When ever i am upset and frustrated with these corrupt polictics in India (2012), I used to watch this video Nellai Kannan's Speech about Kamaraj. I will be calm and will think Some Day there will be some one like him.

 

The time will come for it. Watch it enjoy it.

 

Algorithm Analysis and design - Introduction

on Mon, 08/20/2012 - 09:43

Algorithm Analysis and design - Introduction

"An algorithm is a sequence of instructions given to a computer to perform a set of operations." is the common definition which we all learnt from the school days. A set of instructions is called methods or routine. 

To solve a problem there are 'n' number of methods, The question is which one to choose ? or how to make your algorithm simple and fast. A computer is an idiot box, it just obeys your instructions.

How to install pspell for PHP 5 in Ubuntu 12.04

on Mon, 07/30/2012 - 12:39

 

Open the terminal and type the following command

 

sudo apt-get install libpspell-dev 
sudo apt-get install php5-pspell
sudo apt-get install aspell-en

then restart your apache2 server

sudo services apache2 restart
 

You have sucessfully installed pspell

Batch Queue in Drush, Drupal 7

on Sun, 07/29/2012 - 19:35

 

Batch-Queue
===========
 
A batch queue module for drupal developers.
 
A batch queue module for drupal developers. Recently in my project we need to run Drupal queue in Drush using sh scripts. I was also in the search for running queue faster and contiously as we would get huge amount of queue data. 
 
I came across some use full post and module related to queue which i will share.
 
    This module provides a Drush command to run the queue using Drush. So we can also run the Queue in sh script in some definite intervals.
    This

Pages