Release Day: Working with PHP Objects

Image
Weekly Release

This week, we continue our Introduction to Object-oriented PHP series, in partnership with KnpUniversity (now SymfonyCasts), with tutorials that mostly focus on working with objects in PHP. You'll also learn how to add a specially formatted comment to your code that will enable code autocomplete functionality in your IDE.

Here are the tutorials in this week's release:

These tutorials are meant to give you a foundation in object-oriented PHP in preparation for the major shift to an object-oriented architecture in Drupal 8. You can learn more about the object-oriented PHP changes in Drupal 8 in our presentation video: What's New in Drupal 8: Object-oriented PHP.

Next week we'll release the final installment of this series, in which you'll complete the app with tutorials on class properties access control, type hinting, and constructors in PHP.

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code class> <ul type> <ol start type> <li> <dl> <dt> <dd><h3 id> <p>
  • Lines and paragraphs break automatically.

About us

Drupalize.Me is the best resource for learning Drupal online. We have an extensive library covering multiple versions of Drupal and we are the most accurate and up-to-date Drupal resource. Learn more