Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Tiger Heron Blog:
First steps with PHP - booting a script, Part 2
Apr 28, 2008 @ 12:57:33

Tony Freixas continues his introductory look at "booting" a PHP script with part two of his series (here's part one) looking at using libraries.

In the good old days, if you wanted to create re-usable code, you would create a library of related functions or objects. Now, the excitement is all around frameworks. Everyone has one. What is the difference between the two?

He compares a library and a framework, pointing out key differences like how they fit with the application (controlled by or controlling) and dependencies they require. He rounds out his boot sequence, adding a few new parts to the structure of his example application.

tagged: series boot script introduction library framework

Link: