[nycphp-talk] if you were teaching PHP...
Mitch Pirtle
mitch.pirtle at gmail.com
Mon Jan 17 17:08:19 EST 2005
Depends on where you want your students to be at the end of the
course. Do you want them to be limited to writing native mysqli calls,
or have an understanding of how to use whatever database was
available?
If the course is on php development, then you should show them how to
write database independent code, and then show what the cons/pros are
of writing the apps with the native libraries instead.
I mean, it is easy to understand how to work with native libraries,
but the more abstract nuances of using classes is always better
explained in the flesh, no? Database abstraction is a perfect scenario
to illustrate the benefits of an OO-based approach.
-- Mitch
More information about the talk
mailing list