Wes Shell's Blog: Encapsulation in PHP

Courtesy PHPDeveloper.org  Tue, 10/13/2009 - 08:05

Wes Shell has posted a new tutorial to his blog today looking at encapsulation in PHP development - containing parts of the script to make them easier to work with as a whole.

In order to understand the purpose of encapsulation you first need to understand the purpose of classes.

[...] In order for them to be used properly as they were designed, you will need to limit how users of the class can interact with those...


 

More related items

Project: Kint - Advanced Output for Debugging
One of the more difficult parts of development is debugging. Any tool that can help make your bug finding life simpler can be valuable. Raveren has submitted a new tool he's developed to...

Wes Ray's Blog: Configuring Fedora 12 PHP/MySQL...
Wes Ray has posted a step-by-step guide to help you get your Fedora server up and running with PHP, MySQL and the Nginx web server. He also sets up Apache as a reverse proxy for the web...

Wojciech Sznapka's Blog: Accessing private object...
Wojciech Sznapka has a new post to his blog showing an interesting OOP programming strick related to accessing private properties in one object from another if they're derived from the same...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com