This site is archived.

Objectifying PHP

Day: 
Monday
Time: 
4:15 PM - 5:15 PM
Room: 
303 Chapter Three

Presented by

Larry Garfield (Crell)
Palantir.net
Under the HoodUnder the Hood
Technical details: Study servers, Drupal core, module building, and more.

After years of being a strictly-procedural framework, Drupal is starting to embrace object-oriented programming in a big way. Views is now mostly object-oriented. The Drupal 7 database layer is entirely object-oriented, with a thin procedural veneer. Unit testing is object-oriented. Various other efforts at media handling, plugins and handlers, and more are leveraging objects.

Of course, Drupal has attracted lots of developers who may not understand object-oriented coding, and how to do it well. This session will act as an introduction to the concepts behind objects, classes, interfaces, and other mainstays of PHP object-oriented development. It will start with the basics of the concept of object-oriented programming and cover the syntax, theory, and "how to not do it wrong".

If your eyes cross when seeing code like this:

$plugin->doSomething()->doSomethingElse($plugin);

then this session is for you.

Experience: Beginner, Intermediate
Industry: education, entertainment, library, marketing, media, non-profit

This stuff is essential. Looking forward to it!

I voted for Crill, :)

Very cool. Since Im not able to go to DC I'm looking forward to the video of this session!

Oh yes, the ones who can't come to drupalcon want video (hopefully with good quality audio).

Based on the feedback I've gotten (http://www.garfieldtech.com/blog/drupal-oo-feedback-dcsf), this session is going to move "up" a bit: Less basic syntax, and a lot more "and how do we use this in Drupal?"

I always seem to shift the target of these sessions. :-)