PHP globals and classes for new programmers
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.
An introductory article to OOP starts with a global variables ;(
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
Comments are closed.