Profiling allows you to gather program execution statistics, like the number of functions, or how long a function takes to run. In this tutorial we walk through profiling with XDebug in PhpStorm.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
PhpStorm has a Drupal plugin you can add to your IDE. In this tutorial you will learn how to configure the Drupal plugin and which new special features it provides, such as code generation, code completion, knowledge of Drupal coding standards, and more.
For more information about using PhpStorm with Drupal 8 and Symfony, read PhpStorm’s Symfony2-specific features for Drupal 8 tutorial from JetBrains.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
PhpStorm Plugins
FreeYou can extend PhpStorm's functionality with plugins. Adding plugins that enable vim integration, tools for working in NodeJS projects, or plugins that enable code completion and syntax highlighting for specific languages is as simple as searching for the package and clicking an install button. In this tutorial, you will review the plugins that already comes bundled with PhpStorm, as well as how to find and add new plugins for new features.
Additional resources
PhpStorm Plugin Library
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Vagrant is a tool to create virtual machines that you can even share with others. In this tutorial you will learn how to create a new project that uses a Vagrant box and how mange it through PhpStorm. To learn more about Vagrant and how to set it up, watch the Introduction to Vagrant series.
Additional resources
Introduction to Vagrant series
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
PhpStorm also provides tools for debugging your JavaScript using a Chrome or Firefox extension with the IDE. This lesson shows how to set your breakpoints and walks you through the client-side debug process.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Responding to Events in Drupal
Blog postEvents in Drupal allow various system components to interact and communicate with one another while remaining independent, or decoupled. The event system is built on the Symfony event dispatcher component, and is an implementation of the Mediator design pattern. This post takes an in-depth look at how module developers can subscribe to events in Drupal.
More Drupal 8 Insights
Blog postLast month, we posted a survey regarding your plans for learning Drupal 8. This was a follow-up to a similar survey we posted back in May, 2014. The responses we received in both instances were remarkably consistent, which is reassuring as we begin to publish our Drupal 8 tutorials. Here are a few big take-aways from our Drupal 8 surveys and some insight into our plans for Drupal 8 tutorials.
Last year was big for Drupalize.Me. We made a lot of changes to our website, and we increased the number of video tutorials we publish each week. In December 2014, our team met in Atlanta to celebrate these successes and outline a few high-level goals for 2015. The big goal to share is that we want to communicate with you more! We want to hear your suggestions for improvements, and we want to know you as individuals. We look forward to meeting and chatting with you at events like DrupalCon, but we also want to open new channels of communication. We have lots of ideas for this, and we're excited to get started.
This tutorial covers writing a "Hello World" test for Drupal 7 using the SimpleTest framework that comes with Drupal core, and is based on the free video Learning Test Case Basics by Writing A Hello World Test.
PhpStorm can save you a lot of time by generating common code for you, including classes, constructors, getters, setters, and PHP doc blocks. We'll also look at common editor generation of things like loops.
See the written version of this tutorial for keyboard shortcuts.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
In this tutorial we'll explain what PSR-0 and PSR-4 namespacing is. Then we'll look at how to configure namespacing in PhpStorm 8. Drupal 8 is using PSR-4, so this is a really great tool to have when working in Drupal 8 projects.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Many languages use the concept of namespaces. PHP uses it to group together classes. This tutorial shows you how to work efficiently with namespaces in PhpStorm.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Composer is a great PHP package manager, and in this tutorial you'll see how to work with Composer from within the PhpStorm IDE. To learn more about Composer, watch The Wonderful World of Composer video tutorial.
Additional resources
Composer project
Packagist.org
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
One of the great advantages of an IDE over a text editor is the ability to easily run a debugger. In this lesson you'll learn how to configure PhpStorm to use XDebug. We'll walk through getting XDebug set up, and then how to debug, including setting breakpoints.
Note: From the menu bar, PhpStorm > Preferences > PHP > Debug will apply settings to the current project as described in the video.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
Once you have a debugger (like XDebug) set up on your system, you can use PhpStorm to run a web application and attach and detach the debugger at will. This tutorial will walk you through how to work with the debugger using the toolbar and bookmarklets.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
February Tech Update
Blog postIt's February, so it's time for another tech update. And it's a big one! Here's what we've been working on...
In this podcast Kyle Hofmeyer gets together with fellow Lullabots Joe Fender and Carwin Young to chat about their book, why they wrote it, and what it covers. From book writing, to favorite frameworks, take a listen to learn more about the book, Front-End Fundamentals.
An Integrated Development Environment (IDE) offers many code editing tools in one application, making your job as a developer much easier. In this introductory video from JetBrains, the creators of PhpStorm, you will see what an IDE has to offer.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
In this tutorial you will get an overview of the PhpStorm IDE interface. We'll look at the areas in the main window, including the toolbar, navigation, editor, and tool regions.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.
This tutorial covers concepts you should understand when working with an IDE versus a text editor. We'll discuss how the concept of Projects works in PhpStorm, what Content Roots are, and how you can work with external Libraries.
Additional resources
Please note that this series covers PhpStorm versions 6 and 7 only.
For the latest documentation (including up-to-date videos), see JetBrains documentation.