This class covers the new PHP techniques that you need to know to program modules for Drupal 8: object oriented programming, namespaces and autoloading, dependency injection, using Composer for dependency management, annotations, and event handlers.
Who is it for?
If you know the basics of PHP (variables, functions, conditionals, and loops) but want to learn the modern style of PHP used in Drupal 8, this is the class for you.
How is it taught?
The class will consist of two weekly video lessons, each around 3.5 hours long, and two weekly live Q&A sessions with the instructor. The lessons will cover the topics listed below and can be watched on-demand, anytime that is convenient for you. At the end of each lesson, you will be given an assignment to practice what you've learned. (We will provide web hosting for your practice work, so you don't need to worry about setting that up.)
The weekly live sessions will be conducted online, using the webinar software GotoMeeting. During the sessions, the instructor will answer all your questions from and will help troubleshoot any issues you have doing the assignment. (GotoMeeting allows us to view your computer, and take control of your keyboard and mouse if needed. So, we can see any error messages that you're seeing and figure out how to fix it right on the spot.) In addition to the live sessions, you will have access to an online forum to discuss assignments with other students and ask the instructor questions during the week.
After the course is over you can continue to access the lesson videos, free of charge, forever. There are no monthly subscription fees. Just come back and watch the lessons whenever you want. They are a great reference when you forget how to do something.
Lessons In This Class
Lesson 1: Object Oriented Programming
Introduction00:06:12How PHP Works00:12:20Using the DrupalTutor DevStack00:28:42Using the Example Code in This Class00:15:38Object Oriented Programming: stdClass Objects00:08:02Object Oriented Programming: Classes and Objects00:38:55Object Oriented Programming: Namespaces and Autoloading00:28:31Object Oriented Programming: Type Hinting00:29:18Object Oriented Programming: Static Members00:28:03Object Oriented Programming: Inheritance00:40:12Object Oriented Programming: Interfaces00:23:14
Lesson 2: Developing Modern PHP Applications
Using Databases and SQL00:48:37Modern PHP: Introduction00:14:56Modern PHP: Managing Dependencies with Composer00:22:05Modern PHP: Annotations (and Doctrine)00:37:26Modern PHP: Dependency Injection00:43:59Modern PHP: Event Listeners / Subscribers00:29:50Class Wrap-Up00:03:54
About Your Instructor
Wayne Eaker is the director and chief developer of Zengenuity. He's a Drupal expert with years of experience building highly-customized Drupal websites. He is also a seasoned trainer, having taught professionals, corporate clients and high school computer science students.
Try this course for a week, and if you don't agree that it's the best way to learn Drupal, we'll refund the full price. No questions asked.