Maintain a Single Database Object in PHP 5 Using the Singleton Pattern

Visit Publisher Site
Maintain a Single Database Object in PHP 5 Using the Singleton Pattern Hosting Promo

Sponsored by TMDHosting

When creating a PHP application, it is usually necessary to connect to a database to perform certain tasks. In some cases you only want to open a connection when necessary, but limit it to a single connection. This way you don't waste resources on unnecessary database connections. For these situations I use the Singleton Pattern, which is perfect for this.

Visit publisher site: Maintain a Single Database Object in PHP 5 Using the Singleton Pattern

Listing Details

Filed in:
Scripts / PHP / Tutorials & Tips / Development
Submitted on:
 
Last Updated:
Jul 23, 2015 
Publisher:
Other listings by this publisher

License & Pricing Information

LICENSE #1
License Type:
PHP
Price:
$0.00 USD
Additional Info:

User Reviews 

Be the first to review this listing!