Red Crackle Blog

Object Oriented PHP

I am sure that by now you must have heard that Drupal 8 is using Symfony components and is based on object-oriented programming in PHP. If you are a Drupal 7 developer, then you may not know what is object-oriented programming or fail to understand the benefits it offers. In this post, you will learn the basics of object-oriented PHP programming so that you can start developing for Drupal 8.

Configure PHPStorm to debug Drupal 8

Devel module provides dsm() and dpm() functions to output variables on the page for debugging Drupal. But if the problem is more complicated, then that's not sufficient. You can simplify debugging tremendously if you stop code execution using breakpoints and then execute the application one step at a time. All IDEs that support PHP debugging, such as Eclipse, Netbeans, PHPStorm, etc., provide the functionality to put breakpoints in the code. But it requires quite a bit of configuration to make it work.

Creating the simplest headless Drupal 7 site

In What is headless Drupal post, you learned what exactly is headless Drupal. You also understood the two ways a headless Drupal application can be developed. You got to know of the advantages and disadvantages of both the approaches. In this post, you will create the simplest headless Drupal application possible in less than 15 minutes. By the end of this post, you will have a simple HTML page. On loading this page, JS will send a request to Drupal. Drupal will generate a random number and send it back to the JS.

Adding multiple SKUs of a product

This is tutorial #2 in the Drupal Commerce tutorial series. In the previous article, we showed you how to add a basic product along with a display to showcase that product in the front end. This article makes product addition and management smoother by using the Inline Entity Form module.

Adding A Drupal Commerce Product And Product Display

This article is the first in a tutorial series that teaches beginners how to configure a Drupal Commerce site. Follow this series to gain a basic understanding on how to build online stores of your choice. If you would like to see the full list of articles in this series, go to Drupal Commerce Tutorial page.

Drupal Commerce Tutorial - Create your first e-commerce store

Drupal Commerce is a distribution capable of building e-commerce sites. In this series of tutorials, you will learn how to create a Drupal Commerce site from scratch. You will know how individual modules in Drupal Commerce suite fit together to build an e-commerce store, whether you are selling products, services or subscriptions. Following topics are covered:

Using IcoMoon To Convert SVG Icons Into Icon Fonts

Icon Fonts are popular vector-based graphics that can be used in projects by applying CSS styles. They are scalable, small in size and browser-friendly. Icon fonts differ from conventional fonts because they don't feature numbers or letters. Instead, they feature glyphs and symbols.

IcoMoon allows you to build custom icon fonts that can be used in projects of your choice. In this article, we will import SVG icons and convert them into icon fonts.

What is headless Drupal?

Recently you must have heard of the term "headless Drupal". You may be wondering what exactly it is. How is it different than standard Drupal and how can you implement it? If these are the questions that are plaguing you, then this is the post for you.Conceptually headless Drupal is pretty simple. It involves two changes from standard Drupal:

Drupal Performance Optimization Checklist

You must have read plenty of articles on how to tweak your Drupal site to improve its page load times. This post assembles an exhaustive list of all the configuration changes you can do that help in Drupal performance tuning.

Ready to get started?REQUEST A QUOTE