[pmwiki-users] PHP - slightly off topic but not really
Joachim Durchholz
jo at durchholz.org
Sun Nov 26 17:28:12 CST 2006
Jan Erik Moström schrieb:
> OK, I've decided that I need to learn PHP, among other things I
> want to be able to hack pmwiki/drupal/wordpress etc, and I would
> like to have some recommendations of suitable book(s).
I found that the best way to learn PHP was to go to php.net, read the
introductory chapters (which aren't many), and look up in the function
reference.
> + I would like it to contain "PHP best practices" hints/tips
> + I would like to see "typical pitfalls"
> + Preferable "PHP design hints"
I don't know where to look for good advice with that.
PmWiki's code teaches excellent lessons on extendible design; I learned
the preg_replace with the /e flag usage, and how to set up function and
template arrays.
For documentation style, name space management, and error reporting, I'd
turn elsewhere though.
Other than that, there seem to be lots of theoretic advice out there,
but I have yet to see something that has a "feel" of practical
usefulness - most advice that I have read was of the schoolbook type
(and mostly off the mark as well).
> And yes, I prefer to read on paper (I've found that it takes me
> much shorter time to learn from a good book than using on-line
> documentation).
Sorry, can't help with that.
Regards,
Jo
More information about the pmwiki-users
mailing list