I'm making the jump from procedural to object-oriented programmer. I'm most of the way through ...
[INDENT]Beginning PHP and MySQL 5: From Novice to Professional, Second Edition by W. Jason Gilmore[/INDENT]
halfway through ...
[INDENT]PHP 5 Objects, Patterns, and Practice by Matt Zandstra[/INDENT]
and am just beginning ...
[INDENT]PHP 5 Recipes: A Problem-Solution Approach by Lee Babin, Nathan A. Good, Frank M. Kromann, and Jon Stephens[/INDENT]
I'm getting a handle on building and using classes, but I'm unsure about what is supposed to load, organize, and manipulate the classes. Going back to Pascal, a programmer would write a main function that called all the program's other functions. I've assumed the same principle works here, and I've written [I]main.php[/I] files that load my classes, instantiate them, and then put them to work on their various activities. In other words, the core of my oop is a short procedural program.
If this is the wrong approach, I would appreciate any book titles or web sites that discuss what belongs at the core of an oop. (If the answer to this question is in the books listed above, I just haven't gotten to it yet.)