Drupal Planet

  • neochief's picture

Report on the trip to DrupalConf Moscow

DrupalConf was held in Moscow on April 23. Our team of 4 people also attended the event, so I want to share my experience.

The conference took place in the VDNKh. This was my first time in Moscow, so I was tremendously impressed by the surrounding buildings and monuments:



1 comment

Optimizing JavaScript and CSS-files in Drupal

Speeding up website loading

File compression reduces traffic from the server to the website visitors, so they can load the page faster and the server won’t send any "extra" traffic .

We'll dwell on:

  • The types of compression
  • Drupal core solution to this problem
  • Additional modules
  • Choosing the best compression method

Read (a lot) more »


Website user activity

activities.pngIn recent years social networks have become one of the fastest growing areas of site building, aiming to give more people a platform for communication. The number of website users increases, and it’s getting harder to keep track of the changes they make. We’re gonna talk about special modules for convenient monitoring of website’s or user activity.

The purpose of these modules is to track user actions and display them in a convenient form. The more actions the module is able to record the better. Another important indicator is the integration with other modules and a developed API.

The logic of all of these modules is identical. We track the needed hook and record the event in our database table. All these modules work in conjunction with Views, so the output of the results is straightforward – a standard form is created which we later can theme in our module or theme.

Read more »


The use of MongoDB


NoSQL has recently become a buzzword in web development. Some projects use similar databases for architecture bottlenecks, while others fully migrate to them. Such databases differ from relational ones in simple architecture and high scalability. At the moment we are interested in MongoDB as one of the most popular NoSQL databases. We’ll try to highlight its strengths and weaknesses, consider some peculiarities of development, its application field in Drupal, and will try to understand the Map/Reduce term through a practical example.

MongoDB is something between a key-value storage (which is usually fast and scalable) and traditional relational databases (MySQL, PostgreSQL, etc.) that provide advanced queries and rich functionality.

Read more »


Multistep registration form in Drupal 6


Every Drupal user is probably familiar with its registration—we’ve all been through that. Same thing with the developers—a login and password form with a "Register" clicking which starts form processing.

But things change once there’s a task to collect additional data about the user during registration. For example, you may want to know where the visitor comes from, how old he is or where he works. Pros and cons of collecting such data at the registration stage in terms of User Experience can be discussed separately, in this article we are going to analyze the technical part from a programmer's viewpoint.

So, we need to collect additional data—it means, that in addition to login and password fields the registration form will require other ones that will make the form huge. Most probably, the large number of fields will scare away the user and make him leave without clicking the button. User interface designers have found a solution to this problem—a multistep form. This form allows users to enter data step by step: this way each step features a reasonable number of fields and user doesn’t need to answer some unnecessary questions based on his previous input. In addition, the user can see the registration progress in the form of step indicator, which is also important ( "When will this end?" , "How much more do I have to fill in?" ).

How to solve this? »

Subscribe to Drupal Planet