Justin Sternberg has written a nice and thorough post geared toward beginning programmers to cover common PHP methodologies. I definitely recommend reading this for those that may recognize certain techniques, but don’t really fully understand them. I love beginner tutorials like this.
3 thoughts on “PHP globals and classes for new programmers”
Comments are closed.
An introductory article to OOP starts with a global variables ;(
Hey Joe,
A) I updated the article to include a disclaimer at the top.
B) I wrote this as a noob to OOP myself.
If there’s a better way, please enlighten us. I appreciate critical feedback and doesn’t take much more effort than your comment. Case in point: http://dsgnwrks.pro/the-basics/primer-on-globals-php-classes-or-oop/#comment-6
good explaining method