This screencast is a part of the Learn Drupal coding with NodeOne screencast series – a screencast series targeted at Drupal site builders who wants to learn Drupal coding. This episodes shows some PHP basics that you need to know when coding for Drupal.
This screencast covers the following topics:
- Using the dpm() function
- Operators for managing strings and numerical variables, including some shorthand operators
- Writing if statements in PHP
- Shorthand if statements that could be used when assigning values to variables
- Some coding standards in Drupal
More!
Want more? Check out the next episode – Declaring functions – subscribe to the series' RSS feed, or take a look at the complete list of screencasts in this series. You can also get newsletter with updates by asking for it in a comment.
Warning: This learning series is recorded by someone quite new to Drupal coding. There may be inaccuracies or examples that fall short of best practices. Please contribute a comment if you spot this!
Modules:
Additional Resources: